Hello,
I'm trying to find out if I can overwrite the secondary bootloader. The main point is rewrite it to fix an annoying bug.
I wrote a "trojan horse" application which once installed on the flash of the NXP17xx try with iap to write sector 0 with the correct bootloader.
This seems to work, but after reset all is gone, no new bootloader or old one.
I know the iap cannot write the first 64bytes of sector 0, so i try to move VTOR from 0x0 ( SCB->VTOR = VTOR_OFFSET;), but still no good result.
Any idea? thank you!
That would be a question for the chip manufacturer; in this case, NXP.