[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-chat] RE: ATmega2561: bootloader can not write inapplicationsec
From: |
Eric Weddington |
Subject: |
RE: [avr-chat] RE: ATmega2561: bootloader can not write inapplicationsection |
Date: |
Mon, 19 Mar 2007 15:18:53 -0600 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> On Behalf Of freemanland
> Sent: Monday, March 19, 2007 12:07 AM
> To: address@hidden
> Subject: [avr-chat] RE: ATmega2561: bootloader can not write
> inapplicationsection
>
>
> Anyone know how to relocate the bootloader code to bootloader
> named section
> at 0x1FC00 using AVR Studio?
> without making use of Makefile.
You have to use the makefile in order to do this.
In the Project Options dialog box, Custom Options, you can add a new
toolchain option. Add the line to relocate the bootloader named section like
it is described in the avr-libc user manual, FAQ, #17:
<http://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_reloc_code>
So your line would be something like:
-Wl,--section-start=.bootloader=0x1FC00