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] [July 2010 Threads] Demo STM32F103_IAR Schedular won't startPosted by rklan on July 24, 2010 Hello, I'm new to using the Free RTOS OS, and I tried to adapt a demo to my board. I followed the guidelines found on the website, and tried to flash a LED. When I use an ordinary main(), it works, So I know the HArdware is OK. But when I replace the main, by the original main, from the demo. I't doesn't work. I commented aal the extra tasks, so only the FlashLEDTask was there. How doe I chek if the systemtick is OK. Any other things I should check?
RE: Demo STM32F103_IAR Schedular won't startPosted by Dave on July 24, 2010 Have you set up the vector table to include the interrupts that FreeRTOS needs? Systick, PendSV and SVC?
Start with one of the supplied demos, then it will be ok.
RE: Demo STM32F103_IAR Schedular won't startPosted by rklan on July 24, 2010 I don't think so... Thanks !! I go check it out. The demo, on the webstie is not complete... it even doesn't do any rcc configuration. For now, I have to go partying, but I'll look at it, very soon. Thanks!!!! Do you have an example of the setup of interrupts?
Regards
RE: Demo STM32F103_IAR Schedular won't startPosted by Richard on July 24, 2010 As far as the demos are concerned - as far as I know they all set up the clocks to be correct as per the demo and kernel configuration.
Regards.
RE: Demo STM32F103_IAR Schedular won't startPosted by rklan on July 25, 2010 Thanks man! I Didn't setup the vetor table right. Now it works like a charm!!\ This happened because my hardware uses a LED on port G, while the demo only supports until port E (the ST-Firmware lib was from 2007) So I decided to use a brand new FWLib.. and unfortunately, it had a slightly different structure. And here, I used the new, and original vector.c. So that was the problem.
Thanks for the kint, you saved me a whole day, and som hedaches.
rklan
RE: Demo STM32F103_IAR Schedular won't startPosted by Sarun Chattunyakit on October 1, 2010 Please help me to setup the vector table. I never use this Microcontroller before. Thank you.
Regards
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|