Hi everyone,
Good Evening...!!!
I developed a custom bootloader which is placed in Flash Sector A. The actual application code is later flashed by the help of custom bootloader in Flash Sectors B,C,D,E,F(Application code and Custom bootloader are two separate hex files).
Custom bootloader is flashed by the help of JTAG and application code is flashed by the help of custom bootloader.
The sequence of operation is:
1. ROM bootloader(On power on)
2. Custom bootloader(ROM bootloader branches to 0x0033FFF6 where custom bootloader initial address is placed)
3. Application code(Custom bootloader waits for 5Sec and then jumps to codestart.asm of application code if no new code is found)
Question:
Now, when application code is flashed(Using Custom Bootloader) and rebooted, for the first time custom bootloader is not jumping to application code and from 2nd time onwards, it jumps very smoothly. Can anyone please tell why this behavior is observed...?
Thanks in advance...!!!
Regards,
RS