terrible psoc5 !

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

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?

0 Likes
4 Replies