NTM88 secure

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

NTM88 secure

1,304件の閲覧回数
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,258件の閲覧回数
seanwu
Contributor IV

Hi Tomas,

I appreciate your help.

Thanks.

BR,

Sean Wu.

0 件の賞賛
返信

1,280件の閲覧回数
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,260件の閲覧回数
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,280件の閲覧回数
seanwu
Contributor IV

Hi Tomas,

I appreciate your help.

Thanks.

BR,

Sean Wu.

0 件の賞賛
返信

1,283件の閲覧回数
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,282件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Sean,

Yes, your understanding is correct.

BR, Tomas

0 件の賞賛
返信

1,286件の閲覧回数
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 件の賞賛
返信