Greetings! I have to load values in the controller EEPROM before program starts. I'm using MPLab and there is an EEPROM window where I can set these values. BUT I have to export it and load it everytime, which is very annoying. Is there a way to do this with program code, which to set the EEPROM on controller program?
The microcontroller will change EEPROM values so it can't be done in the program.
Thanks!
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
Posted: Tue Mar 17, 2015 8:01 am
Quote:
I'm using MPLab
such a shame.
CCS provides a very nice way to do this as the user manual clearly explains.
start with this topic:
"Non-RAM Data Definitions"
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Mar 17, 2015 3:07 pm
This program puts 0x55, 0xAA in the first two locations of data eeprom:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum