AnsweredAssumed Answered

How to preserve EEPROM when debugging

Question asked by Roger Collins on Aug 31, 2013
Latest reply on Sep 1, 2013 by Roger Collins

Hello, I'm using the freedom K20 board with CW 10.4 and trying to use EEPROM. I think it is working but every time I Debug, the flash gets erased so anything I might have saved in EEPROM is erased as well. Trying to use advanced options of debugger - see dialog attached - to preserve the whole data flash. When I do that it fails to load and I get the following error:

 

INF: Re-programming preserved data range $10000000-$10007FFF ...     

INF:         Done.

INF: CMD>PM

INF: Programming.

INF: Processing Object File Data ...

INF: .

INF: Programmed.

INF: CMD>VC

INF: Verifying object file CRC-16 to device ranges ...

INF:    block 00000000-0000BDEF ...

INF: CRC-16 Error in block. (File = $E27B, Device = $0000)

 

Any ideas?

 

Roger

Attachments

Outcomes