[Icc-avr] Re: Doubts using external memory variables

Guillermo Megía Palma g.megia at medicionytransporte.com
Tue Oct 30 04:58:28 PST 2007


Hi,

Thanks Steven for your answer.
I have told the compiler about the external memory, so I don´t have to
control the bus (I have set the bit that enables the External SRAM in the
MCUCR register of the ATMega 128).
I want to allocate some variables in external memory and others in internal
one, not all of them in one specific memory (my external memory has a
back-up battery, so I want to save there some variables to not lose them if
I turn off my system). Moreover, it isn´t important for me the address
assigned by the compiler to a variable in external memory. I only want the
compiler to avoid variables overlaps.

Regards,

Guillermo Megía

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3812 bytes
Desc: not available
Url : http://dragonsgate.net/pipermail/icc-avr/attachments/20071030/acee4bf8/winmail.bin


More information about the Icc-avr mailing list