Forum Discussion

KDavi3's avatar
KDavi3
Icon for New Contributor rankNew Contributor
7 years ago

What are the typical RAM requirements for MicroC/OS II on Nios II?

I've allocated 65536 bytes of RAM (which is nearly all that is available on chip) but as I compile the Hello MicroC/OS II example project in Eclipse, I get the following errors:

/opt/intelFPGA_lite/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin/../lib/gcc/nios2-elf/5.3.0/../../../../../H-x86_64-pc-linux-gnu/nios2-elf/bin/ld: address 0x21c08 of ucos.elf section `.rwdata' is not within region `ram'

/opt/intelFPGA_lite/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin/../lib/gcc/nios2-elf/5.3.0/../../../../../H-x86_64-pc-linux-gnu/nios2-elf/bin/ld: address 0x2acd4 of ucos.elf section `.bss' is not within region `ram'

/opt/intelFPGA_lite/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin/../lib/gcc/nios2-elf/5.3.0/../../../../../H-x86_64-pc-linux-gnu/nios2-elf/bin/ld: address 0x21c08 of ucos.elf section `.rwdata' is not within region `ram'

/opt/intelFPGA_lite/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin/../lib/gcc/nios2-elf/5.3.0/../../../../../H-x86_64-pc-linux-gnu/nios2-elf/bin/ld: address 0x2acd4 of ucos.elf section `.bss' is not within region `ram'

I understand that this may mean that there is not enough RAM, but I'm surprised that MicroC/OS II requires so much. Am I missing something?

2 Replies