Difference flash memory secure / unsecure mode KEA128

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Difference flash memory secure / unsecure mode KEA128

跳至解决方案
760 次查看
joopaandentoorn
Contributor II


I am trying to setup a bootloader on a S9KEAZ128 chip that enables software updating, and was reading into the flash protection mechanisms. I noticed on page 249-250 of the reference manual that the flash module FTMRE can either be secured or unsecured, but table 18-4 states all flash command are available in both states. Could it be that the table is incorrect?

I am trying to understand what the practical difference between these two states is, and how to use them.

标记 (2)
1 解答
544 次查看
miduo
NXP Employee
NXP Employee

Hello,

Actually the table 18-4 is correct that all flash commands are available in both states. The true difference between the secure and un-secured mode is for debug port. That is to say the flash commands are always available for MCU core, but is not available for access through debug interface when in secure mode.

在原帖中查看解决方案

2 回复数
545 次查看
miduo
NXP Employee
NXP Employee

Hello,

Actually the table 18-4 is correct that all flash commands are available in both states. The true difference between the secure and un-secured mode is for debug port. That is to say the flash commands are always available for MCU core, but is not available for access through debug interface when in secure mode.

544 次查看
joopaandentoorn
Contributor II

Ah that makes sense. Thank you!

0 项奖励