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


IAR and STM3210E-EVAL / Stack?

Posted by Trond on March 11, 2011
I have been struggelig for a few days now, to get the STM3210E evaluation kit going with FreeRTOS.

I have downloaded the contributed port: http://interactive.freertos.org/attachments/token/7ji4vw534mlvh1t/?name=FreeRTOS_STM3210E_EVAL_with_IAR_5_41_2.zip

Trying to debug the port ends up in a "HardFault". After disabling all the tasks except LEDFlash, things started working. LCD task can also be enabled, but enabling any more, results in a HardFault. Disabling LEDFlash and enabling CheckTask works well, but when both of them is enabled together with LCD, error occurs once again. I have tried to increase the stack and heap size in startup-file with no luck.

Does anyone have any pointers to what i can try next?

RE: IAR and STM3210E-EVAL / Stack?

Posted by Richard on March 15, 2011
I cannot support contributed code, but have provided the following list of "usual suspects" in point three of the following page:


On an STM32, pay particular attention to the forth bullet point under point three, as unlike most CM3 vendor libraries, the STM32 libraries do not do this by default.


RE: IAR and STM3210E-EVAL / Stack?

Posted by paolo ferrari on March 16, 2011
I tried with different versions of the IAR compiler and works correctly with 5.41 and 5.50,
while with 6.10 the port ends up in a "HardFault".
Just have a little free time I try to investigate.


RE: IAR and STM3210E-EVAL / Stack?

Posted by paolo ferrari on March 16, 2011

Update the demo for IAR 6.10 in FreeRTOS Intercative!

I hope it is useful


[ 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