[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: [avr-gcc-list] placing a variable in flash
From: |
Royce & Sharal Pereira |
Subject: |
Fw: [avr-gcc-list] placing a variable in flash |
Date: |
Mon, 22 Nov 2004 23:33:56 +0530 |
Hi,
----- Original Message -----
From: "E. Weddington" <address@hidden>
To: "Royce & Sharal Pereira" <address@hidden>
Cc: "AVR-GCC" <address@hidden>
Sent: Monday, November 22, 2004 11:20 PM
Subject: Re: [avr-gcc-list] placing a variable in flash
> Royce & Sharal Pereira wrote:
>
> >Hi,
> >How can one assign a predetermined address to a variable in code?
> >
> >Say I place the Oscillator Calib. byte at 0x1fff. How can retreive it in
my
> >program? I have to 'tell' GCC to look for it at (byte)location 0x1fff;
which
> >means I need to have a variable(or const) located at 0x1fff.
> >
> >How does one do this?
================================================
> Wouldn't the variable be better off stored in the EEPROM and not in
> Flash (Program Memory)?
-------------------------------------------------------------------------
Is there some advantage of that as compared to storing it in flash?
Anyways, is it at all possible to fix a variable at a predetermined location
in flash ?
Thanks,
--Royce.
- [avr-gcc-list] placing a variable in flash, Royce & Sharal Pereira, 2004/11/22
- Fw: [avr-gcc-list] placing a variable in flash,
Royce & Sharal Pereira <=
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, Sean Casey, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22
- Message not available
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, Ramkumar Rengaswamy, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, Geoffrey Wossum, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, Geoffrey Wossum, 2004/11/22