Loading...
 
Skip to main content

System Workbench for STM32


Invalid thread id: 1

I completely reinstalled Eclipse and the OpenSTM32 plug-in. Build and flashing work fine. The code runs.
Then I set a breakpoint in my SysTick Handler a few instructions before what I identified as the critical point.
The first BL 0x8000f16 single-steps fine, but step-over jumps to 0800105e and the debugger stops working.
When I single-step through the first BL, the debugger stops working on the second BL 0x8000eb4 instruction.
There is plenty of stack space available (>4K). Memory looks good. No other interrupts enabled nor pending.
When I terminate the debugger, I always get the "Invalid thread id: 1" error message.

folding:
08001050: ldrb r1, [r5, #26]
08001052: bl 0x8000f16 — single-step ok, but step-over fails
filtering:
08001056: ldr r4, [r5, #12]
08001058: push {r5, r6}
0800105a: bl 0x8000eb4 — single-step and step-over fail
0800105e: pop {r5, r6}

Anybody with an idea what goes on here?

 
Collapse/expand modules below