PN7642 C100 - fuse the OTP bit that skips USB-MSC boot

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

PN7642 C100 - fuse the OTP bit that skips USB-MSC boot

跳至解决方案
735 次查看
UdiO
Contributor II

Hi,

I have a working target that is based on Pegoda 3 with PN7642 C100.

I'm looking to fuse the OTP bit so that the device will no longer expose the USB mass-storage boot path - permanently force the pin-less download.

I couldn't find the address of this fuse to access it with Segger J-Flash or with direct C code.

 

Your support is highly appreciated

Thanks

Udi

标记 (3)
0 项奖励
回复
1 解答
712 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @UdiO

Hope you are doing well.

Please refer to PN7642 SDK > docs > PN76-FW-apiguide. OTP Configuration APIs are described in path: Modules > System Service > SYS OTP Config Interface; there you should find some security features such as Code Read protection and SWD disable.

You could, for example, consider PN76_Sys_OTPConfigs_EnableCRP() API.

Regards,
Eduardo.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
691 次查看
UdiO
Contributor II

Thanks Eduardo,

Would it be better to use :
PN76_Sys_OTPConfigs_DwnldReqLessBoot(0);
PN76_Sys_OTPConfigs_LockSettings();

Thanks
Udi

0 项奖励
回复
713 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @UdiO

Hope you are doing well.

Please refer to PN7642 SDK > docs > PN76-FW-apiguide. OTP Configuration APIs are described in path: Modules > System Service > SYS OTP Config Interface; there you should find some security features such as Code Read protection and SWD disable.

You could, for example, consider PN76_Sys_OTPConfigs_EnableCRP() API.

Regards,
Eduardo.

0 项奖励
回复
691 次查看
UdiO
Contributor II
Thanks Eduardo,

Would it be better to use :
PN76_Sys_OTPConfigs_DwnldReqLessBoot(0);
PN76_Sys_OTPConfigs_LockSettings();

Thanks
Udi
0 项奖励
回复
675 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

PN76_Sys_OTPConfigs_DwnldReqLessBoot is used to configure the value to wait in bootloader if pin-less download is enabled. Refer to PN7642 frequently asked questions, Section 2.7.

PN76_Sys_OTPConfigs_LockSettings LOCKS the configurations done by OTP interfaces and does not allow further modification.

Being OTP (One Time Programmable) API calls, these functions shall be used carefully.

Regards,
Eduardo.

0 项奖励
回复