I know this kind of questions are hard to answer but I can answer to my own question. using CCS compiler: #ROM {4,5,6,7}; so on using hi-tech compiler __EEPROM_DATA( 0x01, 0x02, 0, 0, 0, 0, 0); so on Andre -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu]On Behalf Of Andre Abelian Sent: Sunday, October 01, 2006 7:39 PM To: Microcontroller discussion list - Public. Subject: [PIC ] Writing to EEPROM without effecting checksum William, thank you for your quick replay now I know \ what is it for. New question! I am having problem with programming EEPROM without effecting checksum. There is an existing example written in Hi-Tech C that using __EEPROM_DATA( 0x01, 0x02, 0, 0, 0, 0, 0); it can write in EEPROM right after origin without effecting pic's checksum I am using CCS C and the only command I can use is WRITE_EEPROM(address, value); and it must be after main() the problem with this is after I change the content of EEPROM pic's checksum changes. My question is how can I write to EEPROM without effecting the pic's checksum like Hi-Tech did it. any idea ? thanks Andre William Chops Westfield wrote: >On Oct 1, 2006, at 6:15 PM, Andre Abelian wrote: > > > >>I liked your macro it looks really good the only thing I do not >>understand is \ what is the backslash means or do ? >> >> > >The backslash is line continuation, so that the macro can span >more than one line. (macro definitions always terminate at the >end of the line.) In this case, I just used it so the whole >definition would fit on an 80-column line (with the "#define name" >on the previous line), but I've seen macros that span tens of >lines easily... > >BillW > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist