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


Porting freertos on AM1808

Posted by nikit on March 20, 2012
Hello sir,
I have worked on freertos with STM32F103 and i have decided to port freertos on AM1808. This processor dosen't support freertos. I would like to know steps in porting freertos that dosen't support freertos. Freertos.org has very limited information.
Please do help

RE: Porting freertos on AM1808

Posted by Richard on March 20, 2012
Always start with a working project, and incrementally add the FreeRTOS code. Use an existing FreeRTOS demo to see the source files that are required, and the include paths that need to be configured. Once you have a working project - add in the required FreeRTOS files with the functions in port.c just stubbed out - then once that is compiling implement the port.c functions one by one until everything is ready to try creating a task.

As far as I know that part has an ARM9 core. Your best starting point would be to use an existing FreeRTOS ARM9 port layer, and adapting that to the AM1808. The main kernel port, as far as context saving and restoring, will be identical on all ARM9 devices. The main porting job will be finding a suitable tick interrupt source, which would normally be a peripheral timer on an ARM9. With the tick source selected, update prvSetupTimerInterrupt() in port.c to configure the timer, and configure vPortTickISR() as the timer interrupt service routine.

You will need to ensure the interrupt vectors are set correctly to service IRQ and SWI interrupts - but again you can copy a vector table from an existing ARM9 (or in fact ARM7, as it will be the same) port.

Hope that helps.

RE: Porting freertos on AM1808

Posted by nikit on March 21, 2012
Thank you for response. This would help me.

[ 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