Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

OpenOCD RTOS support - STM32F4

Posted by csorvagep on October 19, 2013

Hi everyone!

I've just found out, that the OpenOCD has this feature, to support, and debug RTOSes. I'm trying to make it work, but I stuck. The problem is that, the OpenOCD (0.7.0) says: "Error: No symbols for FreeRTOS", and there is only one visible thread in the eclipse (kepler - cdt) I've check it with gdb and it has the same result. Btw: The FreeRTOS kernel runs fine, there's no problem on that side.

I use the Sourcery CodeBench with Eclipse to compile. I've checked the symbols with the arm-none-eabi-nm command, and I found all the symbols what this page (http://openocd.sourceforge.net/doc/html/GDB-and-OpenOCD.html#gdbrtossupport) says, except one. This one was the "uxTopUsedPriority". (Latest version of FreeRTOS 7.5.3) I've tried with an older version (7.2.0) and I found that in there. So every symbols should be there.

I think, the problem is with my FreeRTOS config, or with the compiler settings. They say the FreeRTOS and OpenOCD should work well. Has anyone had this problem? Where sould I start to check, or is there a good tutorial to read?

Thanks, Gabor


OpenOCD RTOS support - STM32F4

Posted by richardbarry on October 19, 2013

Interesting - I never knew that existed in OpenOCD. However, it seems it is out of date as uxTopUsedPriority was removed from the kernel a while ago on the grounds that it had been obsolete for some time.

Is there anybody that can update the OpenOCD code to fix that?

In the mean time, if you are using Eclipse, you can use the Eclipse StateViewer plug-in for FreeRTOS (which is now maintained by WITTENSTEIN: http://www.highintegritysystems.com/down-loads/stateviewer-plug-in/

Regards.


OpenOCD RTOS support - STM32F4

Posted by csorvagep on October 19, 2013

Thanks, I'll check that as soon as I get the email.

The problem with the uxTopUsedPrioirty is not that big. This should work with an older version. After that, I'll send them a mail about that.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner