Quality RTOS & Embedded Software

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




Loading

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) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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