Re: Small memory configuration

Robert Muchsel <robert.muchsel-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
> I use C with keil, and I need network (so task scheduler, ... and 
> possibly netboot). I can see in datasheet that DS80C400 requires 64kB 
> SRAM at address 0h in order to use the ROM firmware.
> 
> Does all this memory really necessary and why ? If so, this means I 
> can't declare any variable into this 64kB memory ? Any mean to reduce 
> the memory used ?

You might get away with 48 KB of memory. 

> The init_rom() function takes 2 parameters, RAM_START and RAM_END. This 
> zone is for dynamic memory allocation, right ? is there anything else 
> inside ? In other words, If I didn't use malloc / free, could it be 
> reduced to 0 ?

No, the network stack itself needs a limited amount of heap memory
(inside the 48 KB).


-- 
  Robert Muchsel - Dallas Semiconductor - http://www.maxim-ic.com/TINI/

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.