> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of freemanland > Sent: Monday, March 19, 2007 12:07 AM > To: [email protected] > 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 _______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
