PN7642 code read protect

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

PN7642 code read protect

ソリューションへジャンプ
998件の閲覧回数
artem_pn
Contributor II

Hello! 

I am using PN7642 in my project. I would like to ask, how to protect code from reading properly?

In the datasheet I found description of CRP Levels (CRP1, CRP2, CRP3).  In library the is function PN76_Status_t PN76_Sys_OTPConfigs_EnableCRP(). I would like to ask how to use it properly? Where in code it should be called? What level of code read protection it provides? How to check if it works? 

I called it from main() function, it returned 0x07 value (what can cause that? it seems like possible values are 0x00 and 0x08) and I still can read memory using JLink utility. 

Thank you in advance!

Artem 

0 件の賞賛
返信
1 解決策
957件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

Please open the API User documentation.

2025-03-26 12_49_34-AN13936.pdf - Adobe Acrobat Reader (32-bit).png

 

Then go to the OTP (One Time Programable) calls:

2025-03-26 12_48_05-PN7642 NFC Controller_ SYS OTP Config Interface.png

 

You could find all kind of security features to protect the chip such as Read protection, SWD disable and so on.

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
958件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

Please open the API User documentation.

2025-03-26 12_49_34-AN13936.pdf - Adobe Acrobat Reader (32-bit).png

 

Then go to the OTP (One Time Programable) calls:

2025-03-26 12_48_05-PN7642 NFC Controller_ SYS OTP Config Interface.png

 

You could find all kind of security features to protect the chip such as Read protection, SWD disable and so on.

 

0 件の賞賛
返信
754件の閲覧回数
KB1
Contributor II

I also am getting a 0x07 return code.  The API documentation you pointed to has no useful information about what code 7 "PN76_STATUS_AUTH_ERROR" means or how to deal with it.

Can you please provide more information on how to utilize the Code Read Protection functionality in the chip?

 

0 件の賞賛
返信
698件の閲覧回数
artem_pn
Contributor II

Hello!

The function PN76_Sys_OTPConfigs_EnableCRP() can be called only once. After that trying to debug it, I have got this 0x07 message, but it turned off an ability for me to run device in USB FW update mode by selecting boot from USB on evaluation board

0 件の賞賛
返信