Question
Jumping to a memory location..bootloader C code
Posted on March 30, 2013 at 22:15
Hi,
In our system, I have to be able to update the application code. Therefore I believe I need to copy the application to memory location 0x8000000 and then jump to this location...basically a small bootloader of sorts. I've tried the following method to jump to the required address, but with no success. First of all, can I do this on the stm32 family and if so, Has anyone got any code snippet that will do the job or has the stm32f051 require some additional requirements in order to reboot? void (*fptr)(void) = (void (*)(void))0x8000000; fptr(); Man Thanks Bob