Yeah, I forgot about the linker script modification. Yuk. I wish there was a more
straightforward way to do this than hacking the system scripts. Now to dig around the
archives and find that email detailing how to do this.
Thanks for the reminder.
I reviewed what I am trying to do and I think keeping the vector tables where they
default to makes sense. My boot code won't use interrupts - just hard loops & polling
for data. If I change my mind, it is easy enough to put in a partial vector table at
the beginning of my boot code.
----- Original Message -----
From: "Tyler Hall" <address@hidden>
To: "Larry Barello" <address@hidden>; "AVR GCC List" <address@hidden>
Sent: Sunday, June 08, 2003 7:42 PM
Subject: Re: [avr-gcc-list] Boot loaders
You have to modify the linker script and add your new
section name to the list of sections that go into the
"code" memory space.
The default linker script describes a lot of object
sections and what target sections they go in, but your
new one isn't described. The linker will happily
relocate the bootloader section, but since you didn't
tell it to _also_ toss it into .text it will get
avr-gcc-list mailing list