I am using mc9s12dg256 controller.
I have developed an application and a bootloader in two separate projects. I have used the "HEXFILE" to merge the
two hex files.
Everything works OK but there is an issue with the reset vector.
Reset vector: FFFE
Memory Page: FE00 to FFFF
When bootloader writes the above memory page, the reset vector is overwritten. This can be a serious problem.
if something go wrong during the writing operation, the device will not be able to operate again.
Does anyone know how can I prevent this danger?