连接DA14580 (HJ580LAXP Module) via SWD in SmartSnippets Toolbox -> No known chip found

⚠️
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
Gebe1013
Offline
Last seen:1 year 11 months ago
加入:2019-02-12 21:14
连接DA14580 (HJ580LAXP Module) via SWD in SmartSnippets Toolbox -> No known chip found

Hello lovely Dialog team,

I got a problem connecting my HJ580LAXP module via SWD (using Segger J-Link Lite) to my PC. Using UART everything works fine...

Connected:

SCK -> SCK

SWD -> SWD

3.3V -> Vcc

接地- >接地

As I read in the forum it is possible to REprogram the OTP via SWD as long the "JTAG enable flag" is set to "enable". So that I can overwrite the program on OTP, is that right?

Now when I try to download my .hex file to the boards Ram I get the following error message:

[INFO General @19-03-14 17:06:28] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:28] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:29] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:29] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:29] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:29] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:29] Could not read memory address 0x50003200 with function JLINKARM_ReadMemHW [INFO General @19-03-14 17:06:29] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:29] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:29] Could not read memory address 0x50003201 with function JLINKARM_ReadMemHW [INFO General @19-03-14 17:06:29] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:30] Could not read memory address 0x50003202 with function JLINKARM_ReadMemHW [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:30] Could not read memory address 0x50003200 with function JLINKARM_ReadMemHW [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:30] Could not read memory address 0x50003204 with function JLINKARM_ReadMemHW [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:30] Could not read memory address 0x50003208 with function JLINKARM_ReadMemHW [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:30] Could not read memory address 0x5000320c with function JLINKARM_ReadMemHW [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:30] Could not read memory address 0x50040200 with function JLINKARM_ReadMem [INFO General @19-03-14 17:06:30] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:31] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:31] Could not read memory address 0x50040204 with function JLINKARM_ReadMem [INFO General @19-03-14 17:06:31] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:31] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:31] Could not read memory address 0x50040208 with function JLINKARM_ReadMem [INFO General @19-03-14 17:06:31] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [INFO General @19-03-14 17:06:31] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 [ERROR General @19-03-14 17:06:31] Could not read memory address 0x5004020c with function JLINKARM_ReadMem [ERROR General @19-03-14 17:06:31] No known chip found while opening JLink connection. Terminating proccess... [ERROR Booter @19-03-14 17:06:31] Failed downloading firmware file to the board.

I already tried different modules and tried to find the Chip via ULING Pro (Keil) in Keil uVision, same problem. No chance to find the Chip in any way. Do you maybe have an idea, what else I could try?

Attachment:
Device:
PM_Dialog
Offline
Last seen:14小时4分钟前
Staff
加入:2018-02-08 11:03
Hi Gebe1013,

Hi Gebe1013,

OTP stands for One Time Programmable, thus you can’t erase and re-write the OTP multiple times. You will be able to directly burn your SystemRAM though JTAG as long as the OTP header field called JTAG enable flag stays Enabled. If the application flags are burned and the JTAG enable flag is Disabled then the device becomes inaccessible.

Thanks, PM_Dialog