Barebone on a custom board.

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
jlabuac
Offline
Last seen:1 year 6 months ago
加入:2017-04-20 06:06
Barebone on a custom board.

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:
MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
加入:2015-06-08 11:34
Hi jlabuac,

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