AlexMountain
Newbie level 3
- Joined
- Jun 5, 2014
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 24
Hey guys, i have question regarding PIC18f45k22 eeprom.
First off, I can read and write data to eeprom successfully.
I need to keep some config data in the eeprom which will be there even if i reprogram the chip.
When i put new code into my PIC, it also erases the eeprom. Is there a way around this?
I have tried to write protect eeprom using #pragma config WRTD = ON
but once flashed, eeprom is empty
Thanks.
First off, I can read and write data to eeprom successfully.
I need to keep some config data in the eeprom which will be there even if i reprogram the chip.
When i put new code into my PIC, it also erases the eeprom. Is there a way around this?
I have tried to write protect eeprom using #pragma config WRTD = ON
but once flashed, eeprom is empty
Thanks.