Hello All,
I gone through the application note of the synergy flashloader.
I want to build the Blocking mode bootloader which have Bootloader as well as downloader in single file and the remaining application code is in another code so my basic flow is some what like below mention :
1) first in application if someone push the button then it will reset the MCU.
2) By this the application is in bootloader mode as the program counter starts from the 0x000000h so that resides the bootloader code .
3) in that i will download the new code in the same slot as the old version code resides by erasing the slot and writing new one.
4) Now i jump to the application by AppStart command .
Is this possible any way please suggest me solution of the same!
In the flashloader example code the technique is quite different it has the technique of the swapping between two codes, but what about i use the upper method ?
thanks in advance ...