Quality RTOS & Embedded Software

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


Loading

Bit band feature in SRAM with freertos for SAM4E

Posted by thegracious on March 23, 2015

Hi everyone, I want to use the bit band bits as a flags in my project (paralelly with freertos). The reason is to reduce the memory size (in comparision to the global flags). But my problem is that i want to use the bit band reagion in SRAM, but the SRAM is also used for allocating the Tasks and the freertos does not recognize about the used bit band region. and thus these two region would be overlapped. This could lead to unexpected problems. How could I ovecome this problem?

I mean: are there any way to set the freertos to allocate the heap from a specific address (for example from 0x20000004 instead of the defaut 0x20000000)? because currently I could only config the size of the heap, not the begin or end of this heap.

+Changing the link scripts does not help for this case. I will try with heap5


Bit band feature in SRAM with freertos for SAM4E

Posted by rtel on March 23, 2015

Sorry - I don't understand what you are asking about FreeRTOS.

If you want to know how to use bit banding, please refer to the ARM documentation. If you want to know about how to configure the linker script for use with bit banding please refer to the compiler/toolchain's documentation.

Regards.


Bit band feature in SRAM with freertos for SAM4E

Posted by thegracious on March 23, 2015

I mean: are there any way to set the freertos to allocate the heap from a specific address (for example from 0x20000004 instead of the defaut 0x20000000)? because currently I could only config the size of the heap, not the begin or end of this heap.


Bit band feature in SRAM with freertos for SAM4E

Posted by rtel on March 23, 2015

You can do that with heap_5.

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