Post Go back to editing

Starting a debug session suddenly not possible anymore for one specific project while it is still working for any other project

Thread Summary

The user encountered an issue where the ADSP-SC835 SOM and EZLITE carrier board with CCES 3.0.3 hang during debug sessions for a specific project, despite working fine for other projects. The issue is identified as a problem with the on-board debug agent and will be fixed in CCES 3.0.4. As a workaround, the user can try using an ICE-1000 or ICE-2000 debugger, or recreate the project.
AI Generated Content
Category: Software
Product Number: CCES 3.0.3 + ADSPSC835W-EV-SOM + EZLITE
Software Version: CCES 3.0.3

Hello,

I am facing a problem where I need help. I got the ADSP-SC835 SOM and the EZLITE carrier board for evaluating the DSP, using CCES 3.0.3. I took the LED blink example and extended it to make audio passthrough and calculations on the audio data to get a feeling for the speed of that DSP. This worked fine for weeks and but now I have a problem the second time - suddenly it is not possible anymore to get into the debug session using the Onboard Debug Agent on the EZLITE.
This happened when I ran the project again and again in debug mode, just changing some #define in the code and starting a new compile and debug session every time.

First it looks like the Debug session starts fine (also the text in the console looks fine and is then cleared), but it hangs looking like this and never gets to the first breakpoint:


If you wait some minutes, you get this:

It is impossible to get rid of that behavior for this specific project. I tried everything, unplug EZLITE power and debug agent USB, restarting computer, restarting CCES, deleting and recreating the debug seeting, cleaning the project, moving it to a new workspace, removing the workspace metadata file, trying with and without CCES_HOME environment variable, updating the onboard debug agent firmware (didn't work, problably it already has the lastest).... Nothing of it helps.
But the interesing thing is: after unplugging and plugging in again the hardware and restarting CCES to get rid of the fault state, any other project starts fine as debug session. But if you terminate it and start one in the problematic project, the issue appears again, and after any other project does not start as well in a debug session. So I think we can definitely be sure that it is not a hardware related.

Like I said this was the second time I'm experiencing this behavior. What helped the first time was deleting the project, creating a new one, setting it up exactly how the old one was and copy the source files from the old one.

Since it really can not be the solution to completely re-setup the whole project every few weeks, can you please advice what causes this and what has to be done to make debug possible again?
Please let me know if you need further information.

Many thanks in advance!