PDA

View Full Version : 12f1822, PBP, EEPROM and pickit 2 = hex file too large



Chris Barron
- 22nd March 2011, 22:26
When I use the EEPROM keyword and load the file into pickit 2 I get an error message that the hex file is too large.
If i comment out the eeprom statement pickit 2 accepts it without fault.
If I then alter the EEPROM values using pickit 2 prior to programming the changes are still there when i read back from the pic with pickit 2.

Is there an error or a workaround i need to use to be able to add eeprom use on the 12f1822 with PBP ?
Chris

Darrel Taylor
- 22nd March 2011, 22:39
Chris,

Download the "C" patch.
http://melabs.com/support/upgrade.htm

The .bas file for that chip had the wrong address for EEPROM.

Chris Barron
- 22nd March 2011, 23:08
Good work ! Thanks for such a quick response.
Awesome