viewtopic.php?f=24&t=5893
I think there may be a problem with the openocd -rtos addition and ChibiOS 21. I've compiled the demos/STM32/RT-STM32L152-DISCOVERY application from ChibiOS_19.1.3 and the thread view works fine from gdb.
When I repeated the same process with the same demo from ChibiOS_21.6.0, it fails when I ask for 'info threads' and openocd prints the following:
Code: Select all
Error: ChibiOS registry integrity check failed, double linked list violation
Info : Only showing current execution because of a broken ChibiOS thread registry.
while gdb says:
Code: Select all
(gdb) info thread
Id Target Id Frame
* 5 Thread 1 (Name: Current Execution, No RTOS thread) __idle_thread (p=0x0)
This is all with openocd-0.10.0, but I also tried 0.11.0 and the same results (note that they changed the plugin name from -rtos ChibiOS to -rtos chibios). Is it possible the data structure it is looking for in Chibi has changed?