> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]]
>  On Behalf Of Robert von Knobloch
> Sent: Monday, December 22, 2008 2:56 AM
> To: [email protected]
> Subject: [avr-chat] BOOTLOADER on ATMega644
> 
> Hello,
> 
> According to the data sheet, the default bootloader area is 0x7000
> 0x7FFF.

In WORD ADDRESSES. This is a common user mistake because the data sheet 
specifies the size of the bootloader area in WORD ADDRESSES. The toolchain 
works on BYTE ADDRESS. Multiply by two and your starting address is 0xE000, 
which is the correct address.

Eric

Yes Eric, but avr-gcc wants to put it somewhere else entirely:

/opt/cross/lib/gcc/avr/4.1.2/../../../../avr/bin/ld: section .bootloader
[00002502 -> 000025ad] overlaps section .data [00002502 -> 0000289d]

Assuming word address then it wants to put both .data and .bootloader at 0x4A04 
Bytes !!!

Regards,

Bob







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

Reply via email to