Hi..
today, I had a little problem with a simple loop:
while (playing>0){;}
(playing is "int")
Sometimes, the cpu "crashed" (i have no debugger) - it stopped working.
The variable "playing" is written (and read at some places) in an interrupt.
Edit: Deleted my wrong interrupt/ldrex/strex stuff.. leads to confusion
today, I had a little problem with a simple loop:
while (playing>0){;}
(playing is "int")
Sometimes, the cpu "crashed" (i have no debugger) - it stopped working.
The variable "playing" is written (and read at some places) in an interrupt.
Edit: Deleted my wrong interrupt/ldrex/strex stuff.. leads to confusion
Last edited: