Debugger Unstable with Multiple Threads

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am using a J-Link to debug a CX3 Denebola board. It seemed to work fine when I had an application with only one thread. I am now working with two threads, and it's almost unusable. I have to restart the debugger constantly, or it just stops working. I also keep getting this message:

Debugger problem discovered:

The debugger has set two breakpoints at the same address

Whenever the program hits a CyU3PThreadSleep() function, I get the following error in the console:

ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got 0x0 (TAP Command : 2) @ Off 0x5.

Can anyone tell me why the debugger is acting so terrible?

0 Likes
1 Reply
Anonymous
Not applicable

Hi,

Can you please test this with the GpioApp Example (that uses two threads) and see if you are facing this issue?

Regards,

- Madhu Sudhan

0 Likes