LPCXpresso IDE OpenRTOS Viewer / Task Table

Hi, Newbie question about task/queue table viewer in LPCXpresso. I’ve seen people talk about StateViewer plug-in, prebuilt, shipped as part of lpcxpresso ide but for the life me I just can’t find this plug-in or menus. I’ve installed lpcxpresso v6.0.4159 and v7.9.2493. In v7.9.2_493, tried Windows -> Show View -> Other -> OpenRTOS Viewer / Task Table but under Windows -> Show View -> Other there is no “OpenRTOS Viewer”? http://s15.postimg.org/i4k3asw8r/xpresso_view1.png http://s30.postimg.org/c16ujm6ep/xpresso_installdetails1.png I’ve tried searching the plug-in’s but there doesn’t seem to be anything related to freertos. Do I have to install it manually? Have I missed a tick box on ide/tools install? Regards, dc

LPCXpresso IDE OpenRTOS Viewer / Task Table

To my knowledge NXP (or CodeRED) had included that plugin, but I believe they had to remove it for licensing reasons. You can download and install that plugin yourself, see DIY Free Toolchain for Kinetis: Part 5 – FreeRTOS Eclipse Kernel Awareness with GDB Constructing a Classroom IDE with Eclipse for ARM FreeRTOS ARM Thread Debugging with Eclipse and GDB The above links should get you up and running. Erich

LPCXpresso IDE OpenRTOS Viewer / Task Table

Erich, Thanks. I’ve installed Wittenstein/High Integrity System Plugin now. I’m using LPC-Link from NXP for lpc1769 – kind of jtag built on dev board with aforementioned micro on it. I’ve got freertos from sample code off NXP site, opening tasks.c, it appears to be FreeRTOS V7.5.3. Stopping the debugger. When I open the task table or queue table they are both empty? I’ve read the Wittenstein install guide but they don’t seem to have trouble shooting section. Regards, dc

LPCXpresso IDE OpenRTOS Viewer / Task Table

The plugin works for GDB type of debugger, and there is the DSF and the non-DSF version of the plugin. Do you know what kind of debugger you are using? You might try the one or the other version of the plugin. The other thing might be that the plugin cannot find your task table. In the GDB Traces view of the Console view you could see what variable the plugin is looking for. Erich

LPCXpresso IDE OpenRTOS Viewer / Task Table

It looks like my NXP LPC-Link demo board combined jtag programmer, mcu lpc1769 device may not work with this plug-in. I have a Segger portable flasher and setup it’s GDB server on port 2331. I can connect and use it now for a debugging session. Console: GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type “show copying” and “show warranty” for details. This GDB was configured as “–host=i686-w64-mingw32 –target=arm-none-eabi”. Type “show configuration” for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type “help”. Type “apropos word” to search for commands related to “word”. Program received signal SIGTRAP, Trace/breakpoint trap. vPortSuppressTicksAndSleep (xExpectedIdleTime=49) at ../freeRTOS/portable/GCC/ARM_CM3/port.c:535 535 __asm volatile( “isb” ); Still Task table or Task table (DSF) shows empty. http://s28.postimg.org/xt7dz69i5/segger_debug1.png