OTP清除内存地址失败

了解更多FAQsTutorials

11 posts / 0 new
Last post
dbonelli
Offline
Last seen:5个月1周前
加入:2020-02-04 18:42
OTP清除内存地址失败

Hello,

I am attempting to OTP burn a DA14585 microcontroller on a custom PCB using a development kit pro. I was able to connect to and read my board successfully, but the OTP burn failed. The message I recieved said, "Failed clearing memory address 7FC7C08." I will include the full log at the bottom of this message.

In my Memory Contents table, I am only able to view memory addresses 0x07F80000 to 0x07F8FFF8. I have no idea what is going on at address "7FC7C08." Do you have any suggestions as to how to proceed?

Thank you.

(INFO General @20-07-22 14:21:37] Found SW-DP with ID 0x0BB11477
(INFO General @20-07-22 14:21:37] Scanning AP map to find all available APs
(INFO General @20-07-22 14:21:37] AP[1]: Stopped AP scan as end of AP map has been reached
(INFO General @20-07-22 14:21:37] AP[0]: AHB-AP (IDR: 0x04770021)
(INFO General @20-07-22 14:21:37] Iterating through AP map to find AHB-AP to use
(INFO General @20-07-22 14:21:37] AP[0]: Core found
(INFO General @20-07-22 14:21:37] AP[0]: AHB-AP ROM base: 0xE00FF000
[信息通用@ 20-07-22 14:21:37] CPUID寄存器:0x410cc200。实施者代码:0x41(手臂)
[信息普通@ 20-07-22 14:21:37]找到了Cortex-M0 R0P0,Little Endian。
[信息概述@ 20-07-22 14:21:37] FpUnit:4代码(BP)插槽和0个字幕插槽
(INFO General @20-07-22 14:21:37] CoreSight components:
(INFO General @20-07-22 14:21:37] ROMTbl[0] @ E00FF000
(INFO General @20-07-22 14:21:37] ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
(INFO General @20-07-22 14:21:37] ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
(INFO General @20-07-22 14:21:37] ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
(INFO General @20-07-22 14:21:37] BTLE device selected.
(INFO OTP Image @20-07-22 14:21:37] Reset: Halt core after reset via DEMCR.VC_CORERESET.
[信息OTP图像@ 20-07-22 14:21:37]重置:通过aircr.sysresetreq重置设备。
(INFO OTP Image @20-07-22 14:21:38] Reset: Halt core after reset via DEMCR.VC_CORERESET.
[信息OTP图像@ 20-07-22 14:21:38]重置:通过AIRCR.SYSRESETREQ重置设备。
(INFO OTP Image @20-07-22 14:21:38] Firmware File C:\Users\domin\Documents\SciHub\SDK\6.0.14.1114\config\toolbox_resources/DA14585-586/common/jtag_programmer.bin has been selected for downloading.
(INFO OTP Image @20-07-22 14:21:38] Reset: Halt core after reset via DEMCR.VC_CORERESET.
[信息OTP图像@ 20-07-22 14:21:38]重置:通过AIRCR.SYSRESETREQ重置设备。
(INFO OTP Image @20-07-22 14:21:38] Successfully downloaded firmware file to the board.
(INFO OTP Image @20-07-22 14:21:43] Started reading 65536 bytes from memory.
(INFO OTP Image @20-07-22 14:21:43] Started reading 65536 bytes from OTP memory address 0x7F80000.
[信息OTP图像@ 20-07-22 14:21:44]读取32768个字节,偏移0x7F80000。
(INFO OTP Image @20-07-22 14:21:44] Read 32768 bytes with offset 0x7F88000.
(INFO OTP Image @20-07-22 14:21:44] Reading has finished. Read 65536 bytes.
[信息OTP图像@ 20-07-22 14:21:48]开始刻录内存,在地址0x7F80000时使用25112字节的数据进行刻录。
[信息OTP图像@ 20-07-22 14:21:48]从OTP内存地址0x7F80000开始读取25112字节。
(INFO OTP Image @20-07-22 14:21:49] Read 25112 bytes with offset 0x7F80000.
[信息OTP图像@ 20-07-22 14:21:51]在地址0x07F80000时,使用25112个字节的数据刻录内存。
(ERROR OTP Image @20-07-22 14:21:54] Failed reading memory at address 0x7FC7C08.
[错误OTP图像@ 20-07-22 14:21:54]刻录内存失败。

设备:
PM_Dialog
Offline
Last seen:1 day 6 hours ago
Staff
加入:2018-02-08 11:03
Hi dbonelli,

Hi dbonelli,

Thanks for your posting - let me ask you something : the attached log is when you are trying to connect or program the OTP? Are you able to program the SPI flash?

Thanks, PM_Dialog

dbonelli
Offline
Last seen:5个月1周前
加入:2020-02-04 18:42
嘿pm_dialog,

嘿pm_dialog,

The attached log starts from when I first connect to my custom board to when I attempt to OTP burn. In other words, the log includes the outcomes from Connect, Read, and Burn in the SmartSnippets Toolbox.

就SPI Flash而言,如果我错了,请纠正我,但我不认为我可以使用SPI Flash,因为我在我的定制板上使用了DA14585芯片,因为我的自定义板不包括外部闪存。

Thanks, Dominic

PM_Dialog
Offline
Last seen:1 day 6 hours ago
Staff
加入:2018-02-08 11:03
Hi dbonelli,

Hi dbonelli,

您能否分享您的定制董事会如何通过JTAG连接到我们的DK?

DA14585不包括嵌入式SPI Flash。DA14586具有嵌入式SPI闪光灯(2Mbits)。在DA14585的情况下,如果您不使用外部SPI闪光灯,则可以刻录系统RAM或OTP。请记住,OTP持续一次可编程,因此您无法多次擦除并重新编写OTP,但您只能将仍设置为0的位,然后将其转换为1。

Why you need to burn the OTP?

Thanks, PM_Dialog

dbonelli
Offline
Last seen:5个月1周前
加入:2020-02-04 18:42
你好pm_dialog,

你好pm_dialog,

在大多数情况下,我使用建议的连接将我的定制板连接到DK上的JTAG这个帖子。唯一的区别是我正在使用外部电源来在VPP线上提供6.8 V,并且我已断开连接的3.3 V电源。我发现我不能同时运行6.8 V和3.3 V供应,因为它会强调两个供应到其当前限制。以这种方式设置我的板,我能够连接到我的自定义板上。但由于上述错误消息,我无法刻录OTP。

I need to burn the OTP because I am using a DA14585 chip on my custom board and do not have an external flash memory on-board.

Thanks, Dominic

CYibin
Offline
Last seen:3 months 4 weeks ago
Staff
加入:2017-12-14 02:48
嗨多米尼克,

嗨多米尼克,

您不必向585提供6.8V电源以进行OTP编程。只是VBAT_3V电源就足够了。

请再试一次,让我们知道结果。

Br, Yibin

dbonelli
Offline
Last seen:5个月1周前
加入:2020-02-04 18:42
Hello Yibin,

Hello Yibin,

I just tried your recommendation. I was able to connect to my custom board, but I was not able to read nor burn. I received the same error message from my log, "Failed clearing memory address 7FC7C08." The custom board I tested contained a new DA14585 chip.

Here are the connections I made:

Development Kit
Custom Board

not connected
3.3V(连接电源)

not connected
VPP(未连接)

J5 pin 3
RST

J5 pin 25
SWDIO

J5销27
SWCLK.

J5 pin 4
GND (also connected to power supply)

What else can be done about this? What is the significance of the error message?

Thanks, Dominic

dbonelli
Offline
Last seen:5个月1周前
加入:2020-02-04 18:42
My apologies, the table did

我的道歉,桌子并没有按预期出来。见附图。

Thanks, Dominic

Attachment:
PM_Dialog
Offline
Last seen:1 day 6 hours ago
Staff
加入:2018-02-08 11:03
Hi dbonelli,

Hi dbonelli,

Could you please which of the below DKs are you using in order to flash your custom board?

//www.wsdof.com/products/da14585-development-kit-pro

dbonelli
Offline
Last seen:5个月1周前
加入:2020-02-04 18:42
Hello,

Hello,

我用DA14585 DK pro。

Best, Dominic

PM_Dialog
Offline
Last seen:1 day 6 hours ago
Staff
加入:2018-02-08 11:03
Hi dbonelli,

Hi dbonelli,

如前一个论坛帖子中所提到的,您可以通过UART或JTAG接口编程OPT。

JTAG接口,所需的连接是:

J4 - Pin 1 (VBAT_580) - > Vcc of the custom board.

J4 - Pin 25 (TMS) - > SWDIO pin of custom board.

J4 - Pin 27 (TCK) - > SW_CLK pin of custom board.

J4 - Pin 2 (GND) - > to the ground of the custom board.

UART interface, the required connections are:

J4 - UTX - > on the RX pin of the custom board.

J4 - URX - >在定制板的TX引脚上。

J4 - RST - > to the RST pin of the custom board.

J4 - VBAT_580 - > to the Vcc of the custom board.

Thanks, PM_Dialog