1 Reply Latest reply on Oct 19, 2017 4:08 AM by madhul_36

    Debugger Unstable with Multiple Threads

      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?