I am having a hard time. I need a serial bootloader for my board with a UC3B0256. So I took the example uart bootloader project for the UC3L, and I modified it to work with the UC3B; I rewrote the clock section and the serial comms. I also used the Boot.S from the 1.7.0 framework to get everything to work well.
Now I use my jtag ice mkII to program the bootloader onto the chip.
Once that is done, I am able to use the Atmel Flip program to load my main application project onto the chip.
Here is my problem: When I use Flip, it seems to erase my bootloader. The main app is loaded and works, however the bootloader is no longer in place.
How can I either preserve my bootloader with flip when loading my main application or else reload the bootloader and the main application together ?
Is there perhaps a way I can merge my bootloader hex and application hex files together ?
Could someone perhaps guide me on how I could do this with the batchisp program that comes with flip, if not flip itself ?
Any help/guidance/advice would be much appreciated.