I am trying to create a eFuse burning program for RT1176 MCU and write it first for the MIMXRT1170-EVK. To do it I try to use On-Chip OTP Controller - OCOTP, based on Chapter 27 of IMXRT1170RM.pdf document.
The issue I have is that OCOTP is going into ERROR state at the beginning of the main() function, even before any related code is executed.
At program start the value of OCOTP->CTRL is 0xAD, but it immediately switches to 0x8AD indicating ERROR state.
It happens no matter what boot option I choose.
While executing the same code on our custom board I do not get into ERROR state.
What may cause this issue?
Hi @PIHL ,
If you want to burn the efuse, I highly recommend you use our MCUbootUtility tool, this tool can use the GUI method to help you to write it.
You can download the MCUBootUtility tool from this link:
Now, you can readout the fusemap, check your modified fuse detail situation at first.
Please enter serial download mode, then check your ocopt modified fuse bit in the MCUBootUtility at first, then if you want to burn the fuse, use the tool to burn it directly.
If you still have questions about it, please kindly let me know.