avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: RE: [avr-chat] BOOTLOADER on ATMega644]


From: Robert von Knobloch
Subject: [Fwd: RE: [avr-chat] BOOTLOADER on ATMega644]
Date: Mon, 22 Dec 2008 14:59:22 +0100
User-agent: Thunderbird 1.5.0.14 (X11/20060911)

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden
>  On Behalf Of Robert von Knobloch
> Sent: Monday, December 22, 2008 2:56 AM
> To: address@hidden
> 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









reply via email to

[Prev in Thread] Current Thread [Next in Thread]