I'm trying to make a bootloader for the ATxmega128a1, I have downloaded the app note AVR1316, which contains a bootloader for the device.
FYI: I'm using the IAR embedded IDE.
WHat I like to do, is that the code is placed in the boot section 0x20000.
Ihave modified the linker file , so the code is alloceted in the boot sector. This seems to work (start adress in map file is 0x20000 and running c-spy it also starts a 0x20000), but I'm not sure that I have modified the linker file correct.
Have anyone modified the linker file to allocate the code in the boot sector?
Is there another way todo this without modify the linker file?
And last, is there anyone which have written a bootloader which are working on the atxmega128a1?
I have attached the linker file which I have modifed.