AnsweredAssumed Answered

Bootloader & Reset vector

Question asked by Eric_t d on Oct 25, 2011
Latest reply on Oct 27, 2011 by bigmac

Hi, everybody

 

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?

 

Thanks

Nikos 

Outcomes