Post Go back to editing

Unreliable debug launching

Thread Summary

The user experiences unreliable connections (50% success rate) when using CCES 3.0.3 with an ICE-1000 and an ADSPSC835W-EV-SOM on the EV-SOMCRR-EZKIT, especially with launch groups that load cores 1 and 2. The issue is resolved by ensuring the preload configuration has 'System reset' enabled, while the secondary connections have 'Skip reset' selected. The user also found that quitting CCES and restarting is necessary to recover from the failure state.
AI Generated Content
Category: Hardware
Product Number: SC835

I'm using CCES 3.0.3 with an ICE-1000 and an ADSPSC835W-EV-SOM on the EV-SOMCRR-EZKIT. 

I'm using a launch group which runs the preload & loads cores 1&2. 50% of the time it works fine, but the other 50% I get..

Error in final launch sequence:

Failed to execute MI command:
-target-select remote localhost:3333

Error message from debugger back end:
localhost:3333: Connection timed out.
Failed to execute MI command:
-target-select remote localhost:3333

Error message from debugger back end:
localhost:3333: Connection timed out.
localhost:3333: Connection timed out.

It seems a lot more unreliable than previous systems. 

The preload OpenOCD console shows

Open On-Chip Debugger (Analog Devices 0.12.0-1.2.0)  OpenOCD 0.12.0 (2025-04-03-09:09)
Licensed under GNU GPL v2
Report bugs to <processor.tools.support@analog.com>
0
adapter speed: 5000 kHz
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
Info : xtensa permissive mode is disabled
adapter speed: 5000 kHz
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : ICE-1000 firmware version is 1.0.2
Info : clock speed 5000 kHz
Info : JTAG tap: adspsc83x.adjc tap/device found: 0x0282c0cb (mfg: 0x065 (Analog Devices), part: 0x282c, ver: 0x0)
Info : JTAG tap: adspsc83x.cpu enabled
Info : [adspsc83x.apb] Examination succeed
Info : [adspsc83x.axi] Examination succeed
Info : [adspsc83x.ahb] Examination succeed
Info : [adspsc83x.sharcfx] Examination succeed
Info : [adspsc83x.m33] Cortex-M33 r1p0 processor detected
Info : [adspsc83x.m33] target has 8 breakpoints, 4 watchpoints
Info : [adspsc83x.m33] Examination succeed
Info : gdb port disabled
Info : gdb port disabled
Info : gdb port disabled
Info : starting gdb server for adspsc83x.sharcfx on 3333
Info : Listening on port 3333 for gdb connections
Info : starting gdb server for adspsc83x.m33 on 3334
Info : Listening on port 3334 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Info : [adspsc83x.sharcfx] Debug controller was reset.
Info : [adspsc83x.sharcfx] Core was reset.
Info : [adspsc83x.m33] external reset detected
system reset complete
Info : New GDB Connection: 1, Target adspsc83x.sharcfx, state: halted
Info : dropped 'gdb' connection
Info : accepting 'telnet' connection on tcp/4444
Info : dropped 'telnet' connection

When this starts happening, I have to quit CCES, power cycle the board & ICE several times to get comms back up & running.

The debug window shows

Can you advise how to make this more reliable ? 

When it does work, the console shows 

Open On-Chip Debugger (Analog Devices 0.12.0-1.2.0)  OpenOCD 0.12.0 (2025-04-03-09:09)
Licensed under GNU GPL v2
Report bugs to <processor.tools.support@analog.com>
0
adapter speed: 5000 kHz
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
Info : xtensa permissive mode is disabled
adapter speed: 5000 kHz
1
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : ICE-1000 firmware version is 1.0.2
Info : clock speed 5000 kHz
Info : JTAG tap: adspsc83x.adjc tap/device found: 0x0282c0cb (mfg: 0x065 (Analog Devices), part: 0x282c, ver: 0x0)
Info : JTAG tap: adspsc83x.cpu enabled
Info : [adspsc83x.apb] Examination succeed
Info : [adspsc83x.axi] Examination succeed
Info : [adspsc83x.ahb] Examination succeed
Info : [adspsc83x.sharcfx] Examination succeed
Info : [adspsc83x.m33] Cortex-M33 r1p0 processor detected
Info : [adspsc83x.m33] target has 8 breakpoints, 4 watchpoints
Info : [adspsc83x.m33] Examination succeed
Info : gdb port disabled
Info : gdb port disabled
Info : gdb port disabled
Info : starting gdb server for adspsc83x.sharcfx on 3333
Info : Listening on port 3333 for gdb connections
Info : starting gdb server for adspsc83x.m33 on 3334
Info : Listening on port 3334 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Info : New GDB Connection: 1, Target adspsc83x.sharcfx, state: halted
Info : accepting 'telnet' connection on tcp/4444
Info : dropped 'telnet' connection
Info : accepting 'gdb' connection on tcp/3334
[adspsc83x.m33] halted due to debug-request, current mode: Thread 
xPSR: 0x69000000 pc: 0x000074f8 msp: 0x201ff3bc
Info : New GDB Connection: 2, Target adspsc83x.m33, state: halted

Edit Notes

Updated CCES version
[edited by: Rob Belcham at 3:20 PM (GMT -5) on 13 Nov 2025]

Thread Notes