NTM88 secure

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

NTM88 secure

1,262 次查看
seanwu
Contributor IV

Dear sir,

When NTM88 is secured because of programming firmware to FLASH failed. How to unsecure NTM88 and avoiding to earse 0xFD40 to 0xFDFF block?

Thanks.

BR,

Sean Wu.

 

标签 (1)
标记 (1)
0 项奖励
回复
7 回复数

1,216 次查看
seanwu
Contributor IV

Hi Tomas,

I appreciate your help.

Thanks.

BR,

Sean Wu.

0 项奖励
回复

1,238 次查看
seanwu
Contributor IV

Hi Tomas,

Sorry to bother your again.

Could you please explain What the reasons that will cause NTM88 secure?

Thanks.

BR,

Sean Wu.

0 项奖励
回复

1,218 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Sean,

Please refer to the section 10.24.8 FCM security in the UM11227.

You can download the UM11227 from the NTM88 product page.

image.png

BR, Tomas

0 项奖励
回复

1,238 次查看
seanwu
Contributor IV

Hi Tomas,

I appreciate your help.

Thanks.

BR,

Sean Wu.

0 项奖励
回复

1,241 次查看
seanwu
Contributor IV

Hi Tomas,

Thanks for your reply. 

So there is no solution to avoid erasing 0xFD40 to 0xFDFF to unsecure NTM88. Because the only way is mass erase, right?

Thanks.

BR,

Sean Wu

 

0 项奖励
回复

1,240 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Sean,

Yes, your understanding is correct.

BR, Tomas

0 项奖励
回复

1,244 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Dear Sean,

When the NTM88 chips leave our factory, they are only programmed with trim coefficients between 0xFD40 and 0xFDFF. There is no embedded firmware like with the FXTH87. More information is provided in the attached AN12524.

The trim coefficients are necessary to the sensors. When programming an application in the NTM88 chip, the user must make sure that the section between 0xFD40 and 0xFDFF is never erased nor overwritten. The trim page corresponds to the protected range inside the NTM88_LIB.s8p file.

There is a feature inside the FXTH and NTM88 chips that allows the user to secure the chip (more details are provided in the manual). Once the chip is secure it cannot be reprogrammed. The only way to unsecure it permanently is to perform a mass erase. But note that a mass erase will erase the trim coefficients, so the sensors will not be functional anymore.

The security register is located in flash at address 0xFFBF. If this register is equal to 0xFF when a reset is performed, then this will secure the chip. In order to keep the chip unsecure, this register must be written during programming, for example with value 0x82. In the NTM88 starter projects, this byte is set to 0x82 in the main with the instruction highlighted in yellow:

image001.png

BR, Tomas

 

0 项奖励
回复