Programming EEPROM with MPLAB IPE?
Using PIC16F884, programming in assembly, using MPLAB X IDE v4.05 and IPE V4.05, with ICD 3.
Can anyone explain in simple (for those of us who are hard of thinking!) how I can program the EEPROM on a PIC16F884? I've spent 2 hours going through the forums, I've even read the IPE help files (which in my case, weren't any help).
I understand I have to do something extra to make the IPE program the Eeprom. I have read that I may have to generate (modify?) a hex file or use SQTP. The help on SQTP does not really explain what it does, or how to use it. I can't find out what I need to do to modify the hex file.
I have a simple need. I wish to program some default parameters into the Eeprom during programming. These parameters are editable by the user once they install our machine but I wish to give them sensible starting values. All EEprom locations defaulting to FFh means all settings are at maximum and every possible option is enabled. As there are 180 settings somebody has to do a lot of button pressing to set them up initially. These default values are the same for all machines so i might as well program them at the same time as programming the code into the chip.
I am aware that the alternative is to write extra code that allows the code itself to generate and write all these at start-up but that is not the way I want to do it. I see it is extra code, extra overhead and unnecessary.
Any help or pointers would be much appreciated.