I mentioned the hands-on sessions on FreeRTOS I do this week at NXP FTF Tech Forum in Austin in my previous post. What we are using in the session is an Eclipse plugin in Kinetis Design Studio showing all kinds of FreeRTOS information:
That Task Aware Debugger (TAD) plugin is not publicly released yet. The plugin should work with any standard Eclipse and GDB, and I have been running on the Eclipse Luna based NXP Kinetis Design Studio V3.2.0. with the NXP Kinetis SDK v2.0 on a FRDM-K22F board (it works as well fine on a FRDM-KL46Z board).
Installation is through the normal Eclipse ‘Install New Software’ process. The plugin adds a FreeRTOS menu from where I can open different views:
The views are accessible through the normal Window > Show Views command:
The Timer List lists all the FreeRTOS software timers with the data and status:
The Task List shows all the task in the system with their status. A very useful thing is to see the colored status of the task stack usage:
The Queue List shows all the queues and semaphore/mutex (because FreeRTOS implements them as ‘queues with no data’), plus the data behind the queues:
The Heap Usage lists the FreeRTOS heap status with all the memory blocks allocated in it:
Each of the views has a button to export the data in into a CSV format file:
The plugin works in ‘GDB stop mode’: I have to halt/suspend the target board with the debugger, then the plugin reads all the RTOS data from the device through the GDB commands.
The plugin should be available soon, and if you are NXP FTF this week (class FTF-DES-N2048 is today), you can get your hands on it. Together with the Eclipse GDB thread awareness (see “FreeRTOS Thread Debugging with Segger GDB in Eclipse“) this is a big step forward to me for anyone doing FreeRTOS development :-).
Happy Awaring 🙂