Hi Dave,

On 25.05.2010 17:07, Dave Hylands wrote:

>> Ehrm - isn't the size of the bootloader of the X128 8kB? The Xmega
>> Datasheet says so at page #1 and so does the avrdude configuration:
> 
> So what did you pass in as the bootloader address when you ran the link stage?

0x20000.

> It would be useful to see the output of
> 
> avr-objdump -h your-file.elf

Bootloader:     file format elf32-avr

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .bootloadertrampoline 0000001e  00020000  00020000  00000094  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .text         00001400  00020050  00020050  000000b2  2**1
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .bss          00000030  00802000  00802000  000014b2  2**0
                  ALLOC
  3 .stab         0000510c  00000000  00000000  000014b4  2**2
                  CONTENTS, READONLY, DEBUGGING
  4 .stabstr      0000d6bc  00000000  00000000  000065c0  2**0
                  CONTENTS, READONLY, DEBUGGING

However, since I'm writing a binary file directly (which does not
include addresses), the data should be automatically relocated to
0x20000, shouldn't it?

Kind regards,
Johannes

_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to