Other Parts Discussed in Thread: HALCOGEN
I have a bootloader situated at the address 0x00000000.
My application is starting from 0x00008000.
I want to jump from my application to the bootloader resetVector. I don't want to use the warm reset (system reset) because I need to keep the output GIO at the same state when the application decides to jump to bootloader.
I tried this:
pBootloaderResetHandler = (void(*)(void))(0x00000000);
/* start the bootloader program */
but it always falls in _prefetch.
Is it possible to disable prefetch and program flow prediction?
Is it possible to jump to the bootloader without changing the state of GIO?
Thanks for your help