Question
Flash to RAM -reg
Posted on October 21, 2014 at 08:49
Hi,
I have couple binaries packed as one Intel hex format and flashed using KEIL. Bootrom and application are placed at 0x08000000 and 0x081C00000 respectively in STM32F427. My bootrom will copy the application code from flash to RAM and verifies CRC. If CRC fails it jumps to bootrom main(). I have verified that it is copying to RAM from flash and CRC is also correct. how will I jump to application start address so that application main() executes and bypassing bootrom's main(). Both bootrom and application uses same start_xxx.s file. Can anyone give me pointers how to jump to application main(). I tried modifying SCB->VCTR to jump to application but it failed. #st #keil