Quality RTOS & Embedded Software

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


STR91x IAR SK Board

Posted by johanan on August 27, 2007
Got an IAR STR912 board, and tried to use the STR91 port which is for the ST board, but no luck.
I changed GPIO for leds task (it works without the RTOS), commented out all but the led flash task, and still nothing happnds. The kernel is looping in Abort_Handler(). What am I missing?

RE: STR91x IAR SK Board

Posted by Dave on August 27, 2007
Are you using the startup files that came with the FreeRTOS demo, or the files that came with the IAR tools? Can you check that the startup files call main() from Supervisor mode.

RE: STR91x IAR SK Board

Posted by johanan on August 27, 2007
Thanks a lot. This was it. I am using IAR KS ver 5.0, so I had some copatbily problems with the original file.
Her ius the needed change:
; --- Now change to USR/SYS mode and set up User mode stack,
; Original IAR:
; MSR CPSR_c, #Mode_SYS ; IRQs & FIQs are now enabled

MSR CPSR_c, #Mode_SVC|I_Bit|F_Bit ; FreeRTOS - start with SVC mode


; --- Now enter the C code
B ?main ; Note : use B not BL, because an application will
; never return this way

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

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

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 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