5 Replies Latest reply on Sep 17, 2020 8:47 AM by ThAl_4704151

    FX3, why aren't my breakpoints tripping?


      Hello all,


      I'm using EZ USB and OpenOCD on the FX3 (the superspeed demo board for now). Today, I copied the project from my preliminary workspace to the one in our repository. After setting up the debugging configuration (setting the path to openocd, setting the config path, turning off Enable ARM Semihosting and Pre-run reset), I got to work, and a little while later, I found that my breakpoints weren't breaking.


      Here's what I'm seeing, and what I've deduced from it.

      • debug prints using CyU3PDebugPrint still work
      • I'm seeing debug prints from later on after my breakpoints, so I know it has to be getting there.
      • It does break immediately at the beginning of main.
      • breakpoints later in main, or in CyFxApplicationDefine, or later on in the main thread all seem to be ignored.
      • Stepping through one line at a time works great until CyU3PKernelEntry.
      • I'm seeing the same problem in one of the sample projects (SlaveFifoAsync), so I don't think it's a problem with my code.

      Here's the other things I've tried:

      • Using the installer to repair the installation.
      • resetting the device
      • unplugging and plugging the device back in
      • closing Eclipse and opening it again
      • restarting the computer


      Has anyone seen this before, or have any ideas about how I might fix it?