how to use wordlock with blhost on a MXRT1170

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

how to use wordlock with blhost on a MXRT1170

824 次查看
danielrickers
Contributor II

Hi all,

 

I burn security fuses via blhost like this:

 

blhost.exe -t 5242000-p %COMFORT%,,115200 --efuse-program-once 0x16 00000BF2

 

how can I protect the word for further modification (burning unset fuses)? This should be possible by setting "wordlock" bit. But how can I handle itby using blhost?

wordlock is defined in OTP Controller Control and Status Register (CTRL).

 

thanks

Daniel

标记 (2)
0 项奖励
回复
1 回复

793 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @danielrickers ,

 OCOPT Provides program-protect and read-protect of eFuse.

 I checked the blhost document, blhost can't control the OCOPT register directly.

  So, if you want to control the OCOPT register, you may need to use the app code to realize it.

  For the OCOPT code, you can refer to the SDK:

SDK_2_13_10_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\ocotp

 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry