Hi,
Our own Bootload occupies 16K memory block starting at 0x00F8C000. It makes a decision which one firmare to executed in Flash by state of any pins.
How to directly execute new firmare,that starting at 0x00F90000, without repeating power-on or reset the device?
Hi,
you can write short asm code in bootloader project which will be executed immediately after reset. It can check state of a pin to decide if bootloader or user application will be executed.
If bootloader is supposed to be executed, just continue in execution of bootloader. If user application is supposed to be executed, jump to entry point of application.
If bootloader downloads new firmware to flash and you want to run it now, there are two options:
1. Ensure that the state of pin is set accordingly and trigger software reset.
2. Jump directly to entry point of application without reset. In this case, it is necessary to disabled all interrupts and put all the modules to default reset state. Or the user application must be aware that it is possible that modules are not necessarily in reset state.
Regards,
Lukas
Hi,
How to jump to entry point of application that store at Flash 0x00F9_0000 in the monent.