Quality RTOS & Embedded Software

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


FreeRTOS port on Microblaze on custom board

Posted by Ankan Basak on July 8, 2011

I have a baremetal app running on a custom-board under a project along with the hw_platform (system.xml) and the bsp under the project explorer. I have the FreeRTOS source for Microblaze port. I am wondering how to get FreeRTOS running underneath this app. Maybe I will start by importing the sources into the project required for microblaze, then modifying the demo sources to fit the current board. I will also be modifying the app to use some multitasking features, similar to the demo provided in FreeRTOS dir. Any directions or suggestions to move forward with this will be appreciated. Thanks.

RE: FreeRTOS port on Microblaze on custom board

Posted by Richard on July 8, 2011
The process is the same for all ports really.

You need to include the FreeRTOS source files found in FreeRTOS/Source (tasks.c, queue.c, list.c and optionally timers.c), then provide a pvPortMalloc() and pvPortFree() implementation - three samples are provided in FreeRTOS/Source/Portable/MemMang. As for include files you need to have FreeRTOS/Source/include and FreeRTOS/Source//portable/GCC/MicroBlaze in the include path. You also need to have a FreeRTOSConfig.h file in the include path.

There are lots and lots and lots and lots of examples FreeRTOSConfig.h files, and lots of demo apps that show you how to use the kernel. The easiest thing to do is copy an existing demo app.

Be aware also that there is now a new upgraded MicroBlaze port that works with the latest ISE tools, and the latest MicroBlaze IP. It also supports exceptions and the floating point unit. It is not published publicly yet, but if you contact me (http://www.freertos.org/RTOS-contact-and-support.html) directly I can show you where it is hidden. It is documented already, I just need to add a few extra items into the demo app before final release.


RE: FreeRTOS port on Microblaze on custom board

Posted by Ankan Basak on July 11, 2011
I am running the Xilinx ISE 13.1 and I might need the latest port from FreeRTOS. Can i contact you at the email info at freertos.org?


RE: FreeRTOS port on Microblaze on custom board

Posted by Richard on July 11, 2011
You know what - there seems to be a lot of interest in this - so to save my time I'm just going to give you the link. However be aware that this page is not yet official, and not yet linked into the FreeRTOS web site. As far as I know the port is sound, but it will get more testing before it is incorporated into the main release.



[ 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.

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.


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


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