Does the RT1010 have any flash protection(Non-Volatile Protection ) mechanisms?

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

Does the RT1010 have any flash protection(Non-Volatile Protection ) mechanisms?

203 次查看
Omar_hong
Contributor III

Hi NXP,

      I'm currently working with the i.MX RT1010 MCU and have enabled both OTFAD and HAB to secure the firmware image. The external flash used is Renesas AT25SF321B.


      Could you confirm whether the ROM code includes any mechanism that may trigger Non-Volatile Protection on the flash device ? 

For instance, unauthorized or abnormal access attempts to the flash memory?

0 项奖励
回复
5 回复数

177 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Omar_hong ,

 

What is the end application like? with both OTFAD and HAB enabled the application image on the flash is already well protected by ROM code, but I think you are referring to the access protection to flash device, right? Indeed, ROM code has no such kind of API, but the RT1010 has CSU module can be used to setup the access right. Please kindly refer  to the following for details.

Kan_Li_0-1756372662094.png

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

0 项奖励
回复

159 次查看
Omar_hong
Contributor III

Hi @Kan_Li 

      I noticed that certain settings in the MCUXpresso Secure Provisioning Tool  appear to influence the configuration of flash registers. Based on our previous experience, we’ve adjusted the flash frequency by first writing the configuration into flash, which the ROM code then uses to set the operating frequency. It seems that enabling Quad mode can follow a similar flow.

      While configuring Quad mode, we observed that setting Bit 6 of Status Register 2 also enables Non-Volatile Protection. We're speculating whether a specific configuration parameter might be responsible for triggering Non-Volatile Protection as well.

      Additionally, in the lower-left section of the screenshot, the MCUXpresso Secure Provisioning Tool appears to offer a flash protection feature. Could you clarify whether this protection mechanism leverages the native capabilities of the flash device itself, or is it implemented through NXP’s software-based security framework?

 

Omar_hong_0-1756436938491.png

 

Omar_hong_1-1756436999251.png

 

0 项奖励
回复

134 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Omar_hong ,

 

The part 1 is just related with quad mode configuration, and part 2 is used to tell the SPT tool not issuing write command to the space as defined.

 

Hope that makes sense,

 

Best Regards,

Kan

0 项奖励
回复

174 次查看
Omar_hong
Contributor III

Hi @Kan_Li 

but I think you are referring to the access protection to flash device, right? Indeed, ROM code has no such kind of API,

=>So am I correct in understanding that the ROM code will never enable the Flash's own write protection under any circumstances?

 

Omar_hong_0-1756379314791.png

 

标记 (1)
0 项奖励
回复

160 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Omar_hong ,

 

For such kind of support, Boot ROM needs the parameters from FCB, you need to add this configuration command in the FCB and tell the ROM issues this command out of POR. The following part of FCB is used for that purpose.

 

2025-08-29_10-14-34.png

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复