Hi Jonathan,

You should be able to simply add something like the following to your config file:

    $_TARGETNAME configure -rtos auto


It should automatically detect the FreeRTOS instance.

Additional notes:
* You will probably need to rebuild GDB with this bug fixed: http://sourceware.org/bugzilla/show_bug.cgi?id=12648 * You may need to use Eclipse Helios rather than Indigo, since Indigo seems to not display thread names * Your OpenOCD startup script should clear memory to avoid confusion due to old data persisting in RAM after reset:

# clear RAM so that the rtos awareness does not detect threads left in memory from previous run
    mww 0x20000000 0x00000000 0x4000


Regards,

Evan Hunter





On Thu, 13 Oct 2011 09:34:52 -0400, Jonathan Dumaresq wrote:
Hi,

I have seem on the ml that FreeRTOS is now supported in openocd. I wonder if there is some documentation about this ? I use eclipse to code and debug.

I would like to use this feature. I'm using an STM32 part. From what I see,
it is supported.

Regards

Jonathan Dumaresq

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to