4 Replies Latest reply on Feb 25, 2014 5:30 AM by ki.leung

    terrible psoc5 !

    sebastian.seczkowski

      state_var is only available in main loop. Nowhere else this value is neither read nor written.
      How it's possible, that in case statement case 7:
      value on exit is negative?

         

      in assemble there are 3 instructions related to increament state_var.

         

      However it's not rtos but a simple single thread aplication, mainly for problem isolation.

         

      Should I disable breakpoints during increment/decrement which do not play with this variable at all?