Quality RTOS & Embedded Software

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


FreeRTOS problems with RAM functions

Posted by tina17 on June 5, 2018


I'm working on a project with the following setup. Controller: Infineon TLE9879QXA40 Compiler: Arm Compiler 5

My Project contains RAM-functions, which are needed because of performance reasons. Running the project always leads to a stop in the HardFaultHandler. The history is __scatterload -> __scatterloadzeroinit -> HardFaultHandler. The problem does not occur as soon as I remove the RAMFUNCTIONS.

Can someone give me an advice why it isn't working? Thanks in advance

FreeRTOS problems with RAM functions

Posted by rtel on June 5, 2018

This is a very broad question which is not going to be easy to answer without knowing a lot more about the memory layout, linker (scatter) script, etc. However, if the 'history' is the call stack it looks like your application crashed before main() was even called presuming scatteroad_zeroinit is part of the start up code. Therefore the question does not seem to be FreeRTOS related.

[ 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.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo & Nuvoton Cortex-M23 demo.

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