Re: [avr-gcc-list] Howto put constants on fixed address

2007-12-20 Thread TODD BATZLER
You've now found yourself exactly where I did. I wanted to bury a software part number at 0x100 in the flash so a 'universal' programming 'pod' could look in this specific location of the hex file and determine if the target was valid for an upgrade regardless of what AVR was implemented on the

Re: [avr-gcc-list] Howto put constants on fixed address

2007-12-20 Thread zizka
Thanks for the links, but that is not exactly what I am looking for. Using this document I was able to create output like this: 0x-0x008F .vectors 0x0090-0x03FF gap 0x0400-0x041F my section 0x0420- rest of the .text section The gap is empty - it's waste of the flash space. I have not

RE: [avr-gcc-list] Howto put constants on fixed address

2007-12-20 Thread Stu Bell
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

RE: [avr-gcc-list] Howto put constants on fixed address

2007-12-20 Thread Martin Žižka
Yes, that's exactly what I need. And yes, I'm used to IAR and others, where this is possible. I wanted to find out if it is possible to do this with gcc, I really did not expect any problem with this. I thought that I just have not found the right documentation... :-( _ From: [EMAIL

[avr-gcc-list] WinAVR 20071221 Released

2007-12-20 Thread Weddington, Eric
Hi All, It's finally here, just in time for the holidays! WinAVR 20071221. Very Special Thanks to all the contributors and all the toolchain maintainers: Joerg Wunsch, Anatoly Sokolov, Dmitry Xmelkov, Denis Chertykov, Marek Michalkiewicz, and anyone else I may have forgotten. Because we're