Back to main page

For the HCS12: 

Q: I compiled a sample program with Code Warrior that seems to have erased the bootloader and D-bug12 monitor in the MC9S12 chip on the Dragon12 board.  How can I restore them back?

A: You can treat the bootloader and the D-Bug12 monitor as user application programs.  We combined them into one s2 file, so you can download it into the flash memory of the MC9S12DG256 on the DRAGON12 board with your BDM. Please remember that you have to erase the flash memory before programming it. We use s29 for file extension for an s2 file.  If your programmer software does not accept s29 as a file extension, you can rename it to s2 or s19. 

Sometime a user would get into bootloader for curiosity and the following bootloader would appear on the screen:

MC9S12DG256 bootloader menu:

    a)   Erase Flash
    b)   Program Flash
     c)   Set Baud Rate
     d)   Erase EEPROM
    ?
Then the user would accidentally enter the option a) to erase the D-Bug12 portion of flash memory.

To download the new bootloader and D-bug12 monitor click here.