Hi,
There is a very useful application note AN4507 about Kinetis security and Flash protection feature.
More detailed info, please check here.
In fact, when the Kinetis chip was secured. The JTAG/SWD debug port can not access the on-chip Flash.
Customer application code can access internal Flash whatever the Kinetis was secured or not.
So, customer can use UART module as an interface to receive the key to lock/unlock Kinetis.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------