Post Go back to editing

Debug using Segger JLink not working

Category: Software
Software Version: CCES 2.11.0

I'm trying to use Segger JLink to debug a simple button_led_gpio example program on the ADSP-SC573 ezkit but am encountering errors. The project and it's binary works fine with the ICE1000 debugger. The following is what i get from the console:

Open On-Chip Debugger (Analog Devices CCES 2.11.0)  OpenOCD 0.10.0-gd1ba667 (2022-04-13-15:58)
Licensed under GNU GPL v2
Report bugs to <processor.tools.support@analog.com>
1
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
Info : halt and restart using CTI
adspsc57x_init
adapter speed: 5000 kHz

Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : J-Link V11 compiled Sep 22 2022 14:53:28
Info : Hardware version: 11.00
Info : VTarget = 3.301 V
Info : clock speed 5000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: adspsc573.adjc: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : starting gdb server for adspsc573.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Error: Target not examined yet
Error executing event gdb-attach on target adspsc573.cpu:

Error: Register map is not available yet, the target is not fully initialised
Info : New GDB Connection: 1, Target adspsc573.cpu, state: unknown

I've also tried plugging the connector in every possible way, no luck. A photo of my hardware setup is attached:

Software and hardware versions:

CCES 2.11.0

Ubuntu 22.04

Segger JLink base compact

SC573-Ez-kit
1374.button_led.zip