AnsweredAssumed Answered

Preventing stored variables in flash from being erased when reprogramming?

Question asked by Brett Utesch on Oct 19, 2018
Latest reply on Oct 23, 2018 by Alice_Yang

I'm using a KL16 with MCUXpresso 10.2 and I'm able to store/write/read my variables to flash (in the last 2KB of the 64KB using Flash_Program(...)).  Is there a setting to block MCUXpresso or the debugger from erasing these variables when reprogramming new firmware?

 

I've tried to create a new flash region in the last 2KB using the Memory Configuration Editor but my variables get erased.

Outcomes