Quality RTOS & Embedded Software

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




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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists