Tool/software:
Hi,
I implemented an Ethernet bootloader for accepting application firmware over TFTP and downloading it to address 0x00200000 on a RM57 HDK board. The application has it's own vectors at 0x00200000. The bootloader basically redirects the exception by comparing the Link register values. Iam able to program the application firmware using TFTP to this address and set a boot flag in flash. The main function checks for this flag and if it matches the expected value, it jumps to the reset vector of the application at 0x00200000. However, when I reset the system by executing the following insuction to reset the system, it does not jump to the application. However when I press the reset button on RM57 HDK board, it works fine. Can anyone tell me how to get the bootlooader to jump to the application after the following instruction executes
.systemREG1->SYSECR |= 0x00008000;
Thanks,
Ravi