Quality RTOS & Embedded Software

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




Loading

memory ram/rom

Posted by Nobody/Anonymous on February 21, 2006
All the memory requirments on the Freertos website are for an 8-bit architecture. It says:

"Using GCC and the AVR as an example, the base kernel including queues and semaphores consumes approximately 4.4KBytes."

So for the AT91SAM7S256 (32-bit) will consume about 32Kbytes of Flash?

Thanks for any info.

Thanks.


RE: memory ram/rom

Posted by Nobody/Anonymous on February 21, 2006
Absolutely not. 8 bit machines can take a lot of instructions to do simple tasks. 32 bits machines can encode much more in a single instruction so your suggestion is much to simplistic. I think on ARM the kernel takes less than 8K but this depends on your compiler and optimisation.

RE: memory ram/rom

Posted by Nobody/Anonymous on February 21, 2006
Thanks for the great post! Any ideas on how I could get these exact numbers for the ARM? I am trying to do some research before I dive into the project! :)

Thanks!


RE: memory ram/rom

Posted by Richard on February 21, 2006
Using GCC with Rowley CrossWorks its about 7.5K with optimisation on.

Regards.

RE: memory ram/rom

Posted by Nobody/Anonymous on February 21, 2006
Do you have any numbers for the IAR compiler? :)

RE: memory ram/rom

Posted by Henk Visser on February 21, 2006
Barry,

Do you have any memory consumption cases for the 32-bit arm like there are for the 8-bit cases on the website?

Thanks.

RE: memory ram/rom

Posted by Richard on February 22, 2006
I suggest you download the KickStart version of the IAR compiler. This is free and can be used to build the FreeRTOS code. You can then experiment with different builds and get all the information you require.

Regards.

RE: memory ram/rom

Posted by Jokke on February 22, 2006
I ran it on the IAR compiler, and I think it was about 5 k flash.

Jokke

RE: memory ram/rom

Posted by Henk Visser on February 22, 2006
Sweet! Thanks guys!

-Henk

RE: memory ram/rom

Posted by Henk Visser on February 22, 2006
Jokke,

What about the SAM7.mac and SAM7_RAM.mac?

Thanks.

-Henk

RE: memory ram/rom

Posted by Richard on February 22, 2006
Sorry, not sure your point here. What about them? These files contain macros used by the debugger to perform various tasks on debugger events (eg reset).

Regards.

RE: memory ram/rom

Posted by Henk Visser on February 22, 2006
Looks like I posted to the wrong thread! My post would have made more sense. :)

The point is that I am trying make sure I am not missing something when moving from the AT91SAM7S64 to the AT91SAM7S256. If these files should be the same then I don't need to worry about them.

-Henk



[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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