I have developed an SPI Bootloader through which I download a file from External Flash to Internal Flash.
For testing the proper functioning of Bootloader I have developed a test application to Blink LED and send string on UART. This application is working quite perfectly.
But when I download my actual application of much larger size than Test application then it is not working.
I have debugged the code and found that bootloader is going on Jump function but application is not working.
So to test if my application is correctly downloaded or not i used DFU bootloader (built earlier) to make jump on application. It was jumping correctly and application working perfectly.
Please Tell me if you have any Idea about what might be the problem.
I have already disabled all the interrupts and nothing is left hanging.