Quality RTOS & Embedded Software

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


STM32F107VC demo goes off to nowhere in vTaskStartScheduler()!

Posted by dibosco on May 14, 2014


I've just compiled the officially supported demo for the STM32F107VC. This one:


Using Rowley Crossworks.

It compiled with a couple of tweaks to correct for / in the user directories and I had to add an extra one.

It loads, but once it gets into vTaskStartScheduler() it jumps off somewhere funky (in the 0x1FFFC9xx area of memory. If I set a breakpoint in vTaskStartScheduler() and do a step into with the debugger, it acts like I have hit F5 to start running again. ie It won't let me debug.

I can set the breakpoint in vTaskStartScheduler() all the way down to:

if( xPortStartScheduler() != pdFALSE )

However, if I set the breakpoint above there and try a single step, it does this restarting of the debugger as if it were running the program.

Anyone seen anything like this before? Never come across the debugger doing this on a run-to-complete program, let alone other version of FreeRTOS I've used!

Thanks :)

STM32F107VC demo goes off to nowhere in vTaskStartScheduler()!

Posted by dibosco on May 14, 2014

Ach, sorry, it was the boot switch on the board, I misuderstood what System Meory means on the silk screen. Sorry for the stupid question. :~(

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

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

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

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

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


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers





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