Hi,
I'm working with an entry level microcontroller(MKL03 family) using P&E Universal Multilink as programmer-debugger.
I have some code and some data in declared sectors of the Flash area ,say at address 0x3200 until 0x32FF.
In startup_MKL03Z4.s i change the byte showed in bold format
/* Flash Configuration */
.section .FlashConfig, "a"
.long 0xFFFFFFFF
.long 0xFFFFFFFF
.long 0xFFFFFFFF
.long 0xFFFF3DFE -> 0xFFFF3DFF
I was confident this should be enough to secure the memory.
Then I launch debugging from a different- almost-empty project ,in Debug Configurations ->Debugger-> Advanced Options i flag Preserve this range 0x3200 - 0x32FF .I still can see the data previously stored in this area.I guess this is because some error i did ,or something still missing.
I would like the no one ,me neither ,should be able to read code or data already present in microcontroller .It is possible to secure it without Flash protection ,so that the microcontroller could be erased or reprogrammed?
And is it possible with some standalone tool ?
Thanks,
Diego.