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 ]    [ Privacy ]    [ Sitemap ]    [ ]

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

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

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

Cadence Tensilica Cortes

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