3 Replies Latest reply on Nov 6, 2018 4:09 PM by romain_1675286

    PSoC doesn't halt at breakpoint

    romain_1675286

      I'm trying to debug a CY8C4245LTI-M445 using PSoC Creator 4.2 and the MiniProg 3.

      When starting the debug session, the yellow arrow points on the first line in the main(), but the code is actually executing.

      When hitting a breakpoint, I can look at the local variables, but that doesn't halt the execution. I tried playing with the "Disable Global Interrupt" button, without success.

       

      See below the CYDWR (programming pins are set as SWD (serial debug).

       

      GCC optimisations are configured as Debug (-Og).

      What am I missing?