Hello,

I would like to try to jtag recover a QCA IPQ8065-based router (Netgear
XR500) where I accidentally wiped the u-boot bootloader.

The  IPQ8065 is a Qualcomm SoC with 2x Krait CPUs.

I have a JLink adapter board, and I'm trying to connect to it with these
settings:

########## openocd.cfg #############

adapter driver jlink
adapter speed 1000

transport select jtag
jtag newtap ipq8065 cpu -irlen 4 -expected-id 0x4ba00477
jtag newtap ipq8065 tap -irlen 11 -expected-id 0x200110e1
dap create ipq8065.dap -chain-position ipq8065.cpu
target create ipq8065.krait0 cortex_a -dap ipq8065.dap -coreid 0

##################################

I get this error:

Open On-Chip Debugger 0.12.0+dev-00365-gb388f4805 (2023-10-27-18:57)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
0
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : J-Link V9 compiled May  7 2021 16:26:12
Info : Hardware version: 9.60
Info : VTarget = 3.288 V
Info : clock speed 1000 kHz
Info : JTAG tap: ipq8065.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM
Ltd), part: 0xba00, ver: 0x4)
Info : JTAG tap: ipq8065.tap tap/device found: 0x200110e1 (mfg: 0x070
(Qualcomm), part: 0x0011, ver: 0x2)
Error: Invalid ACK (6) in DAP response

What does "Invalid ACK (6) in DAP response" mean?

I started from this thread:
https://sourceforge.net/p/openocd/mailman/openocd-devel/thread/0e021734-0b7a-0cfa-8dc5-a810bb8c4ab1%40suse.de/#msg35297734
and tried to adapt the commands there to my more recent version of OpenOCD.

Thank you


Reply via email to