hi, I am using Nuvoton M518ln for firmware updates over the air. I have developed bootloader and firmware separately. bootloader code location from 0x0000 firmware code location from 0x2000.on the bootloader program, I have used setvectoraddress function followed by CPU reset for the jump from bootloader to the firmware. but it is not working .what could be the problem? please suggest.
I'm exactly trying to implement FOTA(firmware update over the air). I have created both bootloader and firmware projects separately.they are working well when running on the controller separately. Nuvoton provides libraries for bootloader and firmware.but they didn't provide the detail steps they followed when creating it. I think the steps followed by me when creating the firmware are not correct. because we have to change the vector table parameter because of the relocation of the firmware. can you help me to provide the steps followed when relocating the firmware?
denil said:Nuvoton provides libraries for bootloader and firmware.but they didn't provide the detail steps
So contact them for that!
I suspect they want to work with functional adult engineers.
The Cortex-M0 is going to need some RAM based remapping/copying of the Vector Table as it lacks SCB->VTOR
Perhaps review the core documentation with some thoroughness, and texts on loaders, and the mechanics of the boot process.