Is it possible to create a section for bootloader within flash which allows to update main program in flash memory?
Ideally, when MPC5748G power on, bootloader can normally switch to UPDATE mode, or NORMAL mode based on configuration, such as GPIOs status, etc....
In UPDATE mode, bootloader will erase old F/W(main program) and update new one in flash memory.
In NORMAL mode, bootloader will jump to address of main program.
Is there any example could demonstrate similar function?