# memory ram/rom

**URL:** <https://forums.freertos.org/t/memory-ram-rom/59>\
**Category:** Kernel\
**Created:** [February 21, 2006, 9:10pm UTC](https://forums.freertos.org/t/memory-ram-rom/59 "2006-02-21T21:10:02Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 21, 2006, 9:10pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/1 "2006-02-21T21:10:02Z")

</div>

**nobody** wrote on [Tuesday, February 21, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83):

All the memory requirments on the Freertos website are for an 8-bit architecture.&nbsp; 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.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 21, 2006, 9:17pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/2 "2006-02-21T21:17:10Z")

</div>

**nobody** wrote on [Tuesday, February 21, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/bd53):

Absolutely not.&nbsp; 8 bit machines can take a lot of instructions to do simple tasks.&nbsp; 32 bits machines can encode much more in a single instruction so your suggestion is much to simplistic.&nbsp; I think on ARM the kernel takes less than 8K but this depends on your compiler and optimisation.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 21, 2006, 9:25pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/3 "2006-02-21T21:25:34Z")

</div>

**nobody** wrote on [Tuesday, February 21, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/7681):

Thanks for the great post! Any ideas on how I could get these exact numbers for the ARM?&nbsp; I am trying to do some research before I dive into the project! 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 21, 2006, 9:36pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/4 "2006-02-21T21:36:14Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Tuesday, February 21, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/7681/0909):

Using GCC with Rowley CrossWorks its about 7.5K with optimisation on.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 21, 2006, 11:01pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/5 "2006-02-21T23:01:35Z")

</div>

**nobody** wrote on [Tuesday, February 21, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/9344):

Do you have any numbers for the IAR compiler? 🙂

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 21, 2006, 11:08pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/6 "2006-02-21T23:08:32Z")

</div>

**[henkvisser](https://sourceforge.net/u/henkvisser/)** wrote on [Tuesday, February 21, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/8263):

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.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 22, 2006, 7:31am UTC](https://forums.freertos.org/t/memory-ram-rom/59/7 "2006-02-22T07:31:18Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, February 22, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/9344/7090):

I suggest you download the KickStart version of the IAR compiler.&nbsp; This is free and can be used to build the FreeRTOS code.&nbsp; You can then experiment with different builds and get all the information you require.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 22, 2006, 8:45am UTC](https://forums.freertos.org/t/memory-ram-rom/59/8 "2006-02-22T08:45:33Z")

</div>

**[jra01](https://sourceforge.net/u/jra01/)** wrote on [Wednesday, February 22, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/5195):

I ran it on the IAR compiler, and I think it was about 5 k flash.

Jokke

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 22, 2006, 5:46pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/9 "2006-02-22T17:46:08Z")

</div>

**[henkvisser](https://sourceforge.net/u/henkvisser/)** wrote on [Wednesday, February 22, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/1163):

Sweet! Thanks guys!

-Henk

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 22, 2006, 5:55pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/10 "2006-02-22T17:55:13Z")

</div>

**[henkvisser](https://sourceforge.net/u/henkvisser/)** wrote on [Wednesday, February 22, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/88e2):

Jokke,

What about the SAM7.mac and SAM7\_RAM.mac?

Thanks.

-Henk

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 22, 2006, 6:22pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/11 "2006-02-22T18:22:49Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, February 22, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/88e2/57b9):

Sorry, not sure your point here.&nbsp; What about them?&nbsp; These files contain macros used by the debugger to perform various tasks on debugger events (eg reset).

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 22, 2006, 7:23pm UTC](https://forums.freertos.org/t/memory-ram-rom/59/12 "2006-02-22T19:23:44Z")

</div>

**[henkvisser](https://sourceforge.net/u/henkvisser/)** wrote on [Wednesday, February 22, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/000b3664/#ad83/6b8a):

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.&nbsp; If these files should be the same then I don’t need to worry about them.

-Henk
