Author |
Message |
Topic: setup_timer_2 function |
INT01
Replies: 2
Views: 9963
|
Forum: General CCS C Discussion Posted: Thu Oct 06, 2011 4:19 am Subject: setup_timer_2 function |
When I use the setup_timer_2() function I get this:
491: setup_timer_2(T2_DIV_BY_16,255,5);
10D2 0E20 MOVLW 0x20
10D4 0906 IORLW 0x6
10D6 ... |
Topic: Data EEPROM Initialization with #rom |
INT01
Replies: 8
Views: 26980
|
Forum: General CCS C Discussion Posted: Tue Feb 22, 2011 3:10 am Subject: Data EEPROM Initialization with #rom |
Read this thread. It has the answer:
http://www.ccsinfo.com/forum/viewtopic.php?t=42386
Thanks. Solved.
#rom getenv("EEPROM_ADDRESS")={
Works fine. |
Topic: Data EEPROM Initialization with #rom |
INT01
Replies: 8
Views: 26980
|
Forum: General CCS C Discussion Posted: Mon Feb 21, 2011 1:00 pm Subject: Data EEPROM Initialization with #rom |
What is your compiler version ?
I´m trying in 4.114 version. Is a problem with the version? The last version goes fine with this? |
Topic: Data EEPROM Initialization with #rom |
INT01
Replies: 8
Views: 26980
|
Forum: General CCS C Discussion Posted: Mon Feb 21, 2011 11:47 am Subject: Data EEPROM Initialization with #rom |
Thanks for your fast reply Ttelmah:
I'm using PICKIT3.
If I wrote:
#rom 0x1E000={0x77,0x77,0x77,0x77,0x77,0x77,0x77,0x77,0x77,0x77,0x77,0x77,0x77,0x77,0x76}
I find in the .hex fi ... |
Topic: Data EEPROM Initialization with #rom |
INT01
Replies: 8
Views: 26980
|
Forum: General CCS C Discussion Posted: Mon Feb 21, 2011 10:19 am Subject: Data EEPROM Initialization with #rom |
In the PIC16F886 to initialize the ROM (Flash EEPROM) I use:
#rom 0x2100={0xD0} ---> OK
In the PIC16F1937 I can't initialize the ROM using the #ROM command .
#rom 0x1E000={0xD ... |
|