HI,
Because Block protection protects the original interrupt vector table from being overwritten. bootloader user table is used for vector relocation. thus all the standard interrupt vectors are pointing to this table with JMP instructions.
in bootloader you can use interrupt, when interrupt occurs the vector is fetched from protected memory and directs execution to continues at the corresponding JMP instruction in the bootloader user table.
you can refer this document for bootloader programming, in this application, bootloader and application are combined in one project.
Bootloader for HCS08
or you can also refer an2295,
http://cache.nxp.com/files/microcontrollers/doc/app_note/AN2295
http://cache.nxp.com/files/microcontrollers/doc/app_note/AN2295SW.zip
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------