Hi,
I try to run the PC demo of FREERtos ver 6.0.5 with Open Watcom debugger.
I put break points on vTaskSuspend( NULL ); function call in prvHighPriorityMutexTask task.
press ‘go’ and then ‘step over’ and get an error message of illegal instruction. Then, the debugger is stuck.
I have to note that I encountered this problem with that debugger using break points in other places and depending on the time I step over a command, so maybe the problem is with the debugger?
The Open Watcom debugger allows interrupts to execute when you single step an instruction - even when you are in a critical section. This can cause crashes. Could that possible be the cause of your problem?