How to Preserve Memory Sectors in KDS using Jlink?

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

How to Preserve Memory Sectors in KDS using Jlink?

1,019 Views
derekcook
Senior Contributor I

Hello, 

I am trying to flash my KDS project into my MCU using my Jlink. I want to flash this project into memory sectors 0x0000-0xA000. I do not want to mass erase the flash. How to I define the sectors I want to erase and flash without doing a mass erase? 

Thanks, 

Derek

0 Kudos
Reply
2 Replies

902 Views
BlackNight
NXP Employee
NXP Employee

Derek,

the J-Link only erases the sectors of the binary your are downloading, and does not perform a mass erase of all sectors.

That way you don't have to preserve the other sectors.

I hope this helps,

Erich

0 Kudos
Reply

902 Views
derekcook
Senior Contributor I

Hey Erich, 

This did help! Thanks for the help!

0 Kudos
Reply