how to use wordlock with blhost on a MXRT1170

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to use wordlock with blhost on a MXRT1170

437 Views
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

Tags (2)
0 Kudos
Reply
1 Reply

406 Views
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