PDA

View Full Version : limited EEprom programing



MOUNTAIN747
- 25th July 2010, 23:06
Is there a method to reprogram a section of an onboard EEprom on the 16F876 with ICSP or Bootloader without writing to code memory? My project needs to have six bytes of EEprom manually updated but I don’t want to reprogram the entire code section or the remaining prom. Comments please.

mackrackit
- 26th July 2010, 13:29
If you are using the PicKit2 you can read and write EEPROM data only.

Read the EEPROM then make the changes in the PicKit2 window then re-write.

aratti
- 26th July 2010, 13:42
My project needs to have six bytes of EEprom manually updated but I don’t want to reprogram the entire code section or the remaining prom. Comments please.

If you have a spare pin available on your 16F876, then you can use it for a serial connection and change eeprom values all the times you like, using the WRITE instruction.

Al.

mackrackit
- 26th July 2010, 14:22
If you have a spare pin available on your 16F876, then you can use it for a serial connection and change eeprom values all the times you like, using the WRITE instruction.

Al.
But that would mean the code would have to be changed??

aratti
- 26th July 2010, 14:40
But that would mean the code would have to be changed??

Naturally.

Al.

MOUNTAIN747
- 26th July 2010, 16:56
Thanks fellows for your help. Dave, I have no Pickit2, too bad, that would do the trick. Al, I may be able to rig a serial input to use the Write command. Thanks for the solutions.