Hello, All
I am developing secondary bootloader, it uses flash address starts at 0x60000000, and size is 0x40000. Application starts at 0x60040000, size is 0x3C0000. I programmed both secondary bootloader and application into the flash regions as above.
After power up, it runs into secondary bootloader first and then Jump to application successfully, but it doesn't enter bootloader from application by soft reset - SRC_DoSoftwareResetARMCore0(SRC), where I intend to upgrade my application. The function seems working when I test it with single program - it does back to the beginning of code, but it hangs somewhere when I try to call this from application. The onboard POR button can enter bootloader, and also the Debugger Reset enter bootloader. I wonder what I do wrong, what is the correct way to enter bootloader from application?
Urgent help is needed, tried to read a few posts, haven't found information about this.
BTW, the secondary bootloader is compiled with image header - IVT, but my application doesn't include that, I use auto generated link scripts for both - only modified memory. I don't understand why the application doesn't include IVT, it is not needed anyway.
Ping