Quality RTOS & Embedded Software

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


Loading

porting FreeRTOS on Zedboard

Posted by rohin363 on June 12, 2015

i am trying to port freeRTOS on zedboard . i downloaded the FreeRTOSV8.2.1 from the website but from there on i don't know what to do next. i tried searching a lot but i couldn't find a source that tells me how to do it from scratch.


porting FreeRTOS on Zedboard

Posted by rtel on June 12, 2015

The demo is somewhat separate from the hardware on which it is running. If you stick to the blinky demo you will probably find the only thing you need to change is the port number used to toggle an LED.

The Xilinx tools keep the hardware definition and BSP separate from the application. So you will need to create a hardware definition project for your hardware (I'm sure you will be able to download one, if indeed, there is not one already built into the SDK), then create a BSP for your project (using the File->new->bsp menu in the SDK), then import the FreeRTOS project and set it to use the BSP you just created.

Alternatively, I think in the SDK you can simply use the File->New->Application project menu option, then you will be presented with some pre-configured hardware platforms, and you may find yours is listed.

These are Xilinx tools questions though, not FreeRTOS questions.

Regards.


porting FreeRTOS on Zedboard

Posted by heinbali01 on June 12, 2015

Hello Rohin,

I attached a screen-dump called "xilinx_project.png", hope it's helpful.

The Xilinx projects in Eclipse are a bit different from what you might be used to. To run a program, you need 3 sub-projects:

  • BSP : these are source files created by and maintained by Xilinx Right-click to find a button call "Re-generate BSP sources"

  • MicroZedhwplatform, containing files like ps7_init.* and system.xml. (You can download this sub-project)

  • RTOSDemo or your own source tree.

To run the project you will have to add a debug configuration. I showed mine in the attachment. It took me a lot of time to find out that you must use an initialisation file (ps7init.tcl), and use the options shown ("Reset Entire System", and "Run ps7init"). Under Application you will choose something like "Debug/RTOSDemo.elf".

Also check the project references, RTOSDemo refers to the 2 other projects that you use: "MicroZedhwplatform" and the BSP project.

Regards.

Attachments

xilinx_project.png (58818 bytes)


[ 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