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
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.
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.
Let me know if this helps you.