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


Demo STM32F103_IAR Schedular won't start

Posted by rklan on July 24, 2010
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.
Do you have an example of the setup of interrupts?


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.


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.


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.


[ 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