add offset for application start address
Hi,
I've ran into an issue which is about start address of an application. I'm using an own bootloader to switch between two different applications. For the application I changed the start address in FLASH.id file to 0x08040000. That works perfectly fine.
My problem occurs when I try to jump to the second application at 0x080a0000. It works too but the first application at 0x08040000 will be ran again.
I figured out that it is because of the start address which is in both cases the same, 0x08040000. So probably the bootloader jumps to reset vector of 0x080a0000 and from there it jumps back to 0x08040000. If I change the start addres of the second application to 0x080a0000 everything works fine and I can jump from one to the other.
Is there any way to provide an offset or so to keep the second application running in 0x080a0000 even if their start address is 0x08040000?
I'd like to keep only two parts of the flash for the applications instead of three and copiing the data each time I want the make a swap.
regards
Ben
