Quality RTOS & Embedded Software

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


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