Michael Davidson wrote: > Can anyone tell me what addresses the Config and EEPROM bits are > stored at in HEX files? Hi Michael, You *should* be able to find this information in the Programming Specification document for the respective PIC MCU in question. For example, all the PIC18 MCUs that I have seen that have Data EEPROM memory, the base address of Data EEPROM memory embedded in the Intel Hex file is at address 0xF00000, and the base address of the Configuration Bits memory are embedded in the Intel Hex file at address 0x300000. It would be better to rely on the information in the Programming Specifications instead of assuming this will always be the case for PIC18 MCUs. Here's an alternate way to get your answer: Within MPLAB IDE ---------------- 1) Select your applicable PIC MCU 2) Select: File -> Export 3) Within the 'Memory Areas' tab in the 'Export Hex File' dialog box, check the 'EEPROM Memory' and 'Configuration Bits' checkboxes. 4) Uncheck the 'Program Memory', 'User ID' and 'Calibration Memory' checkboxes. 5) Within the 'File Format' tab in the 'Export Hex File' select your desired Hex file format type. 6) Click 'Ok' 7) Open up the Hex file you just created in a text editor and you'll be able to view and *decipher* the addresses for the Data EEPROM area and Configuration Bits. Step #7 can be a little tricky if you are not familiar with the Intel Hex file format and how addresses are stored, especially with the various types file types like INHX32, and the split (INHX8S) and merged (INHX8M) types. Best regards, Ken Pergola P.S. The list above assumes MPLAB IDE v6.61, so if you don't have that exact version, things *may* be slightly different as far as the GUI is concerned, but the general concept remains the same. _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist