FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [March 2011 Threads] 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:
http://www.freertos.org/FAQHelp.html
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.
Regards.
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.
Paolo
RE: IAR and STM3210E-EVAL / Stack?Posted by paolo ferrari on March 16, 2011 Hi,
Update the demo for IAR 6.10 in FreeRTOS Intercative!
I hope it is useful
Paolo
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|