Crossworks thread.js

hi, dont suppose anybody has a up to date working threads.js for crossworks so i can monitor the rtos in the debugger? thanks

Crossworks thread.js

That file is very old, to be honest I had sort of forgotten it was there. Suggest contacting Rowley directly as they provided it originally.

Crossworks thread.js

ok, i “fixed” it but i’m not sure if its 100% correct, will contact rowley and see what they say.

Crossworks thread.js

Be grateful if you could attach your updated file to a post in this thread.

Crossworks thread.js

The easiest solution comes from this link: https://github.com/arduino/OpenOCD/blob/master/contrib/rtos-helpers/FreeRTOS-openocd.c const int uxTopUsedPriority = configMAX_PRIORITIES – 1; At some point you removed uxTopUsedPriority which the threads.js was looking for when creating its task list. Defining it again in the application code to the defined value makes it work again.