KDS erase sectors instead complete flash erase

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KDS erase sectors instead complete flash erase

940 Views
Donsnook
Contributor II

Is there away to set the KDS to erase only the sectors that it needs to flash (code warrior does this)

 

I put data in the last sector of flash that I for the application its inconvenient to have to reload the data every I make change to code and reload to debug

 

the checkbox to always mass erase has no effect

Labels (1)
2 Replies

427 Views
DavidS
NXP Employee
NXP Employee

Hi Don,

I agree that the KDS is always mass erasing even when unchecking the checkbox.

I will submit an error ticket about this feature.

I see the same result via OpenSDA or PEMicro on FRDM-K64F120M.

Regards,

David

0 Kudos
Reply

427 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Don,

Please take a look at the following post created by our colleague Erich Styger, it explains how to preserve memory areas of Flash:

http://mcuoneclipse.com/2014/07/13/preserving-memory-ranges-with-eclipse-and-pe-gdb-server/

Hope it helps.

Regards!

Carlos