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?
Device:
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