Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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 ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists