My application code is not working when i load its bin file through uart into the flash and jump to the address of the application code (custom bootloader)

In custom bootloader when i am jumping to application code my msp value is changing after loading the bin file , for example my application has msp value 0x20000D0 but when i load the bin file of the same code through a custom bootloader(through uart) and jump to the address of the application code, my application code does not work.

I think it is because when i jump to the address of the application code , the msp value loaded is 0xffff00c3 which is different from the msp value of the application code( 0x20000D0). Can anyone help ?

More questions in this forum