Hello my friends,
I've a problem, I want to write my own bootloader. My first attemption
was writing an application with built in bootloader. So when I want to
upgrade for example, I flash the new firmware from RAM because my own
code will be overwritten by the new firmware.
Sometimes it works and sometime not, another problem is if upgrading a
new firmware goes wrong, the whole device must be sent back flash the uC
with a JTAG. So to solve this proble, I want a seperate bootloader e.g.
at the beginning of the flashmemory address and the application firmware
in another memorysegment of the flash.
Now I'm facing other problems, when the bootloader ends, I need to jump
to the entry-point of the application firmware. But several things need
to acount with. For example, the linker script of application firmware
needs to be modified before compiling the sources. Also, how about the
interruptvectors? Because at address zero to 1c or something the
interruptvectors is used of the bootloader, so how about the application
Can somebody help me, give me hints or tips?
thank you very much!
P.S: Compiler = IAR EWARM 4.41A, uC = at91SAM7A3