[En-Nut-Discussion] Static RAM must fit in the lower 4k on-chip RAM?

Louis B louisjbarman at hotmail.com
Wed Nov 3 12:49:25 CET 2004


the “Nut/OS Requirements” document states

“The listed RAM requirements show static RAM only. This RAM must fit in the 
lower 4k on-chip RAM.”

Is this statement really true; that all the Static RAM must fit in the lower 
4k on-chip RAM?

If so why is this?

NutHeapAvailable() returns to say that I have 11 Kbytes free

And “avr-size” returns
   text    data     bss     dec     hex filename
107944    3830    9654  121428   1da54 rdr.elf

So I am using 13484 bytes of static RAM, this is way over this 4k on-chip 
RAM limit.

The problem that I am encountering is that the on board UART baud rate seem 
to have changed randomly to some unknown value. This only happens when I 
link the full application that I am porting to the NUT/OS. This does not 
happen when I run my little test program. The strange thing is that the code 
that is being executed is exactly the same on the little test program and 
the large full code. (I have changed the large program so that for now it 
executes identical code as the small program. But the small test program has 
the right baud rate; the large one does not)

Any ideas what this problem could be?

Thanks

Louis B.

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo




More information about the En-Nut-Discussion mailing list