[En-Nut-Discussion] Using NutOS without external SRAM?

Marc Wetzel mwse at gmx.de
Sun May 9 12:48:51 CEST 2004


I'm not really a newbie concerning Nut/OS but it seems I'm running against a
wall here...

I have the problem that a minimal system (atmega128,8MHz) with only one
running task (not counting the idle-task and main) goes booboo
everytime it tries to execute fprintf right after registering one

I'm using the latest NutOS - but I dont think this is a problem with the
code but with too much RAM consumed at the wrong places.

So, my question is: How much RAM is minimum, if I want to use 2 buffered
uarts and 2 tasks?

How much memory should each task have? I already tried to tweak nutinit.c in
a project-local copy, because ~1500byte heap is allocated to the main-task
and I tried to reduce this step by step. 


More information about the En-Nut-Discussion mailing list