setting debug config for flash erase on frdm-k32l2b3

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

setting debug config for flash erase on frdm-k32l2b3

855 Views
plefebvre
Contributor II

hi everybody

i want to test flash programming on frdm-k32l2b3 with link server debug 

i used the demo example flash program

ok it is running

but when i start a new code for read this portion of flash programmed 

i can't, because the entire flash is erased before starting a new debug session

who knows how to set the debug configuration to preserve this portion of flash when starting debug session

many thanks 

Pierre

0 Kudos
2 Replies

790 Views
plefebvre
Contributor II

Many thanks for Alexis for this efficiency help

it is ok now

Pierre LEFEBVRE

0 Kudos

790 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello plefebvre@efs.fr‌,

As you mention, if you start a debug session from scratch the flash will be wiped every time, so you can erase the flash section from the Memory details and this section will be not erased.

pastedImage_1.png

Also, if you are using the same firmware, you could try running the software and using the option attached to enter the debug session without programming the MCU.

pastedImage_2.png

Let me know if this helps you.

Best Regards,

Alexis Andalon

0 Kudos