Quality RTOS & Embedded Software

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




Loading

STM32F107VC demo goes off to nowhere in vTaskStartScheduler()!

Posted by dibosco on May 14, 2014

Folks,

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

http://www.freertos.org/FreeRTOS-For-STM32-Connectivity-Line-With-WEB-Server-Example.html

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 ]    [ Sitemap ]    [ ]




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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