Quality RTOS & Embedded Software

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


Porting v.9.0.0 to TI AM1808 (ARM9) on the LEGO Mindstorms EV3

Posted by konstantinozh on September 16, 2016


I am currently working on an academic project where I want to implement a RTOS on a LEGO Mindstorms EV3 which runs an AM1808. I have been looking at FreeRTOS and it seems like a very good option if I can get it to work.

As someone who has limited experience in this field (I know C/C++, have worked on embedded projects before, but not real time systems from the ground up). What am I looking at here concerning amount of work to get this up and running (I know, extremely hard to answer)? I have found little to no sources online from other people trying to do the same, so I am looking at adapting one of the ARM9 ports to the AM1808.

Any recommendations and starting tips would be very much appreciated.

Porting v.9.0.0 to TI AM1808 (ARM9) on the LEGO Mindstorms EV3

Posted by rtel on September 16, 2016

See here: http://www.freertos.org/FreeRTOSSupportForumArchive/March2012/freertosPortingfreertosonAM1808_5128335.html

My recommendation would be a step by step approach.

1) Get a simple bare metal project running. Just a main() function that does something to make sure you can compile, download and debug the part first.

2) Next select a timer you are going to use to generate the tick interrupt and write a driver to configure and use it to ensure you can get it generating interrupt at the frequency you want.

3) Then add in the FreeRTOS code. See the link above and




.....then come back to learn how to stitch the two together.

Porting v.9.0.0 to TI AM1808 (ARM9) on the LEGO Mindstorms EV3

Posted by konstantinozh on September 16, 2016

Thank you so much for your advice! I'll follow your recommendations and get started.

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

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

Latest News

Meet Richard Barry and learn what's new in the FreeRTOS project at Embedded World 2019

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