Design flow chart of secure application code.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Design flow chart of secure application code.

499 Views
rohitchudasama
Contributor III

I want to design my own application code that have 3 below features.

1) Can not read from flash without my secure key.

2) Can not write into flash without my private key.

3) My code can also able to flash the data into flash memory once i enter exact key. And during flashing no one can retrieve     my data.

SO i need a help to make flow chart and basic idea to make that possible.

I am using MKE18F512VLL16. I want to send and receive the data via LPUART0.

Thank you.

0 Kudos
1 Reply

328 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos