NXP FTF Tech Forum in Austin has been a blast! I’m running another FreeRTOS hands-on session (FTF-DES-N2048) this afternoon which yet again is fully booked. But we will squeeze in as many as possible from the waiting list.
One very exciting thing we are going to use is FreeRTOS thread awareness in Eclipse/Kinetis Design Studio: to see and debug the FreeRTOS threads in Eclipse using the Segger GDB and it will show the list of threads in the Debug view:
Segger provided me a patch (thanks!) of their GDB server implementation right for NXP FTF. So why is this so important? Because this gives me direct debug access to the running FreeRTOS tasks:
When I select a task it switches the context: shows the source, registers, variables and so on for that task:
I expect this will come out with one of the upcoming Segger J-Link software releases. I’m using the NXP Kinetis Design Studio for the above, but this should work for any Eclipse using the GDB server from Segger. NXP Kinetis Design Studio included the Segger GDB Server, and if you do an update with the Segger J-Link software, it can update the Segger files inside the IDEs which are detected. So this could be rolled out with one of the next Segger J-Link software updates.
Happy Threading 🙂
- Segger GDB: Segger J-Link GDB Server
- Similar thing with OpenOCD: FreeRTOS Thread debugging with OpenOCD
- NXP Kinetis Design Studio: http://www.nxp.com/kds