Hi Dialog,
I am running a barebone (6.0.4) on a custom board with DA14585 00000 using Keil & Segger's J-Link.
按下F5之后,我的代码会吸我n "ASSERT_WARNING_OTPC_MODE(HW_OTPC_MODE_STBY)" of "hw_otpc_manual_read_on". I did not burn any code on the OTP.
What is the possible reason for this?
Device:
Hi jlabuac,
The assertion that you get indicates that the OTP memory in not in standby mode, so can you check using the memory window, what is the state of the memory by checking the OTPC_MODE_MODE bit of the OTPC_MODE_REG ? I assume that you get this assertion when the code is trying to read the read_otp_header() during the hw_otpc_init() function the mode is set to standby mode, check if you can verify that through the memory window.
Thanks MT_dialog