Target MCU: MC9S12G128
Hi gays. I was trying to set up a bootloader with AN4258 and I want the p-Flash secured. So I intened to set value of @0xFF0F to 0xFF.
But after the s19 file downloaded to the mcu with USBDM. The value @0x0xFF0F could be viewed and it is 0xFE, not 0xFF. In fact, all the data in the flash could be viewed. What did I miss?
Below is what I did.
I modified an element of const array flash_array as shown in below pic.

When mcu connected to the USBDM, here we saw
And if I modified the last element to 0x0F, we will get a ox0E in the memory. It's not secured.