Quality RTOS & Embedded Software

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


Loading

Demo STM32F103_IAR Schedular won't start

Posted 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 start

Posted 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 start

Posted 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 start

Posted 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 start

Posted 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 start

Posted by Sarun Chattunyakit on October 1, 2010
Please help me to setup the vector table. I never use this Microcontroller before.
Thank you.

Regards


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


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

Latest News

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

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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