[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Placing constants at known locations in eeprom at compil

From: David Breeze
Subject: [avr-gcc-list] Placing constants at known locations in eeprom at compile time
Date: Thu, 29 May 2003 08:46:34 +0100

I have a requirement to place constants in the EEPROM of an ATmega323 in known 
locations at compile time.  

I have looked through the documentation and can place functions via a linker 
script, but I have been unable to discover how to place constants in eeprom at 
defined locations.

I have probably missed something somewhere, is anyone able to point me in the 
right direction?

Incidentally, whilst I am able to place structures in PROGRAM memory I do not 
appear to be able to place them in EEPROM. Is this deliberate or a missing 

I am currently using WINAVR20021209 version of the compiler, linker etc.


David Breeze.

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.  If 
an addressing or transmission error has misdirected this e-mail, please notify 
the author by replying to this e-mail.  If you are not the intended recipient 
you must not use, disclose, copy, print or rely on this e-mail.

Joy Mining Machinery Limited/P&H Minepro Services aims to prevent the 
propagation of viruses, but cannot guarantee that this email is virus free.  
You are advised to scan all attachments and open them at your own risk.

Joy Mining Machinery Limited/P&H Minepro Services may monitor outgoing and 
incoming e-mails and other telecommunications on its e-mail and 
telecommunication systems.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]