[En-Nut-Discussion] Ethernut 2 Xmem & Banked Memory

Henrik Maier hmlists at focus-sw.com
Tue Feb 12 22:50:45 CET 2008


I think what Steve wants to achieve is just to have one bank enabled all the
time right from start-up so his main memory is made up from 32 K standard
memory + 16 K banked area = total of 48 K area. He is not interested in
swapping banks around or accessing memory beyond 48 K.

Basically using the Ethernut 2 in a configuration where the XRAM is 48K in
total instead of 32K.

Does anybody know if this is possible and if yes how can it be setup with
Imagecraft?

Henrik


> -----Original Message-----
> From: en-nut-discussion-bounces at egnite.de [mailto:en-nut-discussion-
> bounces at egnite.de] On Behalf Of Ole Reinhardt
> Sent: Tuesday, 12 February 2008 7:22 PM
> To: Ethernut User Chat (English)
> Subject: Re: [En-Nut-Discussion] Ethernut 2 Xmem & Banked Memory
> 
> Hi,
> 
> > I realize that the banks are in 16k blocks, but will they then be
> > transparent in that I can just use the memory as I do now with the
> > default 32k?
> 
> No, sorry. The AVR does not have a mmu and therefor can't handle page
> faults. This feature would be needed to automaticaly detect if you
> access memory beyond the 16K boundary of a page.
> 
> The banked memory is only intended to be used as some kind of buffer
> space with fixed allocation.
> 
> Best regards,
> 
> Ole Reinhardt
> 
> --
>  _____________________________________________________________
> |                                                             |
> | Embedded-IT          Hard- und Softwarelösungen             |
> |                                                             |
> | Ole Reinhardt        Tel. / Fax:        +49 (0)271  7420433 |
> | Luisenstraße 29      Mobil:             +49 (0)177  7420433 |
> | 57076 Siegen         eMail:    ole.reinhardt at embedded-it.de |
> | Germany              Web:         http://www.embedded-it.de |
> |                      UstID / VAT:       DE198944716         |
> |_____________________________________________________________|
> 
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list