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: Processing Object File Data ...
INF: Verifying object file CRC-16 to device ranges ...
INF: block 00000000-0000BDEF ...
INF: CRC-16 Error in block. (File = $E27B, Device = $0000)