Quality RTOS & Embedded Software

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


Loading

FreeRTOS Application Resets when Using Bootloader

Posted by sarathzarath on March 24, 2014

Hi,

I am new to FreeRTOS. I was implementing boot-loader on my STM32f4

discovery board which was success and I could download new firmware through the USB. I wanted to download a new firmware which was supporting FreeRTOS and tried implementing but couldn't get through.

Firmware is getting downloaded but the problem what I am facing is, the new application keeps on resetting by itself. I couldn't figure out the correct issue even-though I tried changing the .icf file vaues.

kindly Help with this situation

FreeRTOS Application Resets when Using Bootloader

Posted by edwards3 on March 24, 2014

Did you point the vector base register to the freertos vectors? Search 'bootloader' in the archive to find old threads on this


FreeRTOS Application Resets when Using Bootloader

Posted by sarathzarath on March 25, 2014

Hi Edwards,

        I searched in the archive but couldnt find anything positive over there.

"Did you point the vector base register to the freertos vectors?"

My FreeRTOS application is staring at 0x0800C080.

So I have made the following change in the system_stm32f4xx.c file

define VECTTABOFFSET 0xc080

Now I downloaded the bin file to the discovery board using usb bootloader and the new application is getting started.

But the problem is, once the new program is started, the bootloader should start only after a push button Reset. As the new program is executed once, the bootloader statrs again whicah inturn calls the new application again and this process repeats.

Please help


FreeRTOS Application Resets when Using Bootloader

Posted by rtel on March 25, 2014

These questions come up from time to time, and to be honest are a little off topic, especially when referencing source files provided by other people.

In nearly all cases they are resolved by getting the start up code in the bootloader and the start up code in the application correct with regards to which vector table is used when.

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