0 Replies Latest reply on Oct 13, 2017 10:36 AM by benjamins_2816106

    Debugger Unstable with Multiple Threads

    benjamins_2816106

      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?