alexxx
Advanced Member level 4
- Joined
- Apr 17, 2011
- Messages
- 1,013
- Helped
- 273
- Reputation
- 552
- Reaction score
- 270
- Trophy points
- 1,383
- Location
- Greece
- Activity points
- 7,936
Hello!
I wrote some data in eeprom, but each time I download a program from the debugger, those data are erased (values=0xFF). I need those data to be retained. I searched, the emulator settings but still no luck. I use Mplab X v3.40 with ICD3 emulator and the MCU is a PIC18F25K20. I tried all the combinations with the three settings seen below, but the result is always the same: the program is compiled OK, but during download I get the below error. For a 1-2 settings combinations, the code is downloaded, but the eeprom data are not retained. So how can those data remain inside eeprom, until the application itself (and not the emulator) erase them? Thanks in advance.
I wrote some data in eeprom, but each time I download a program from the debugger, those data are erased (values=0xFF). I need those data to be retained. I searched, the emulator settings but still no luck. I use Mplab X v3.40 with ICD3 emulator and the MCU is a PIC18F25K20. I tried all the combinations with the three settings seen below, but the result is always the same: the program is compiled OK, but during download I get the below error. For a 1-2 settings combinations, the code is downloaded, but the eeprom data are not retained. So how can those data remain inside eeprom, until the application itself (and not the emulator) erase them? Thanks in advance.