Hi,
I use keaz128.
when I have set address 0x400-0x407 and 0x40C-0x40F to other values,power down,power on,however,the values are the original values,encryption is invalid.how to set encrypt?
Hi duan050790
Could you clarify how are you setting values in address 0x400-0x407 and 0x40C-0x40F, what are the values that you are using?
In Reference manual you can check that in this addresses you have the Flash security byte and the flash protection byte, I would like to recommend you the AppNote: https://www.nxp.com/docs/en/application-note/AN4507.pdf
Even though this appnote is for new kinetis devices, it could help you to clarify what security and protection do to the flash memory.
Hope this information could help you.
Best Regards
Jorge Alcala