RR, I use it all the time. Hi-Tech C example: put this line before main that is not going to effect your checksum __EEPROM_DATA(0x01,0x02,and so on); in CCS C example: #ROM 0x2100={0x01,0x02,and so on} address 0x2100 is for 16f876a it might be different for 452. I am sure it can be done in assembly too. In MPLAB you have to select "Preserve EEPROM on Program" Andre Abelian -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu]On Behalf Of Rob Robson Sent: Tuesday, March 06, 2007 11:13 PM To: Microcontroller discussion list - Public. Subject: [PIC]: EEPROM pre-setting directives I'm wondering if there's a way to use some lines of program code to pre-load various EEPROM locations in an 18F452, in the same way that configuration bits can be pre-set using __CONFIG. I've been using Modify under the Window menu in MPLAB each time I burn a chip, but it doesn't save my settings with the project. I can't seem to find what I'm looking for in the manual, probably because I'm a bit sketchy on the correct terminology. I'd be grateful if someone could steer me in the right direction. Many thanks, RR -- 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