Stu Bell [EMAIL PROTECTED] wrote:
My feeling is that you are asking quite a bit too much from the
linker to expect it to flow code around an obstacle in the middle
of it's memory map.
I agree. If at all, I'd simply use the last (upmost) ROM location for
that magic number or magic string.
: [EMAIL PROTECTED]
Komu: Martin Ĺ̋iĹžka [EMAIL PROTECTED]
CC: avr-gcc List avr-gcc-list@nongnu.org
Datum: 20.12.2007 01:12
Předmět: Re: [avr-gcc-list] Howto put constants on fixed address
On Dec 19, 2007, at 5:03 PM, Martin Žižka wrote:
Yes, that will place the .length segment between
...
__
Od: [EMAIL PROTECTED]
Komu: Martin ŽiŞka [EMAIL PROTECTED]
CC: avr-gcc List avr-gcc-list@nongnu.org
Datum: 20.12.2007 01:12
Předmět: Re: [avr-gcc-list] Howto put constants on fixed address
On Dec 19, 2007, at 5:03 PM, Martin Žižka wrote:
Yes, that will place the .length segment between
Yes, that will place the .length segment between .vectors and .progmem. But
you
are unable to place it to some exact address. That will place it to address
that is
offset_of(.vectors)+length_of(.vectors). That can be different for some cpus.
So what? You are able to reference the location
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of TODD BATZLER
Sent: Thursday, December 20, 2007 4:32 PM
To: avr-gcc-list@nongnu.org
Subject: Re: [avr-gcc-list] Howto put constants on fixed address
You've now found yourself exactly where I did. I wanted to bury a software
part number at
0x100
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
org] On Behalf Of Zizka
Sent: Wednesday, December 19, 2007 9:13 AM
To: avr-gcc-list@nongnu.org
Subject: [avr-gcc-list] Howto put constants on fixed address
Hi, I need to put some constants on specific
Well, perhaps I've written something wrong, because I think that you are
talking about something else. Or I did not understand that, that is also
possible :-).
I need to put my constants on specific address into flash memory, not into
sram. I want to have the resulting flash content like this:
On Wed, Dec 19, 2007 at 06:07:19PM +0100, [EMAIL PROTECTED] wrote:
Well, perhaps I've written something wrong, because I think that you
are talking about something else. Or I did not understand that, that
is also possible :-).
I need to put my constants on specific address into flash memory,
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, December 19, 2007 10:07 AM
To: avr-gcc-list@nongnu.org
Subject: RE: [avr-gcc-list] Howto put constants on fixed address
Well, perhaps I've written something wrong, because I think that you are
talking about something
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Stu Bell
Sent: Wednesday, December 19, 2007 10:26 AM
To: [EMAIL PROTECTED]; avr-gcc-list@nongnu.org
Subject: RE: [avr-gcc-list] Howto put constants on fixed address
I have code in my bootloader that runs a CRC on the loaded code for a
sanity check
somewhere inside the .text
segment.
-Original Message-
From: David Kelly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 19, 2007 6:45 PM
To: [EMAIL PROTECTED]
Cc: avr-gcc-list@nongnu.org
Subject: Re: [avr-gcc-list] Howto put constants on fixed address
On Wed, Dec 19, 2007 at 06:07
:[EMAIL PROTECTED]
Sent: Wednesday, December 19, 2007 6:26 PM
To: [EMAIL PROTECTED]; avr-gcc-list@nongnu.org
Subject: RE: [avr-gcc-list] Howto put constants on fixed address
I have code in my bootloader that runs a CRC on the loaded code for a sanity
check. For that I need a length. Of course
On Dec 19, 2007, at 5:03 PM, Martin Žižka wrote:
Yes, that will place the .length segment between .vectors
and .progmem. But
you are unable to place it to some exact address. That will place it
to
address that is offset_of(.vectors)+length_of(.vectors). That can be
different for some cpus.
13 matches
Mail list logo