Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
How do I erase all memory on the 68hc12 ? - g6500 - Jun 24 15:53:18 2006
I want to erase all programs on the board.
Any ideas.
d-bug12 can stay ... but everything else must go.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: How do I erase all memory on the 68hc12 ? - Eric Engler - Jun 24 22:54:37 2006
--- In 6...@yahoogroups.com, "g6500"
wrote:
> d-bug12 can stay ... but everything else must go.
What else is there? Most people who have d-bug12 don't put any other
programs in flash. It doesn't play well with others :-)
You could possibly use the serial bootloader if you have a recent EVB,
and then reload d-bug12, but a full erasure would need a BDM (to wipe
out the bootloader also).
HCS912DP256 Bootloader menu:
a) Erase Flash
b) Program Flash
c) Set Baud Rate
d) Erase EEPROM
?
The a) option will erase the D-bug12 portion of the flash memory, not
the bootloader itself.
The b) option will program the D-bug12 portion of the flash memory,
not the bootloader itself.
The c) option will set a new baud rate.
The d) option will erase all on-chip EEPROM.
You better be prepared to re-program d-bug12 from a good .s19 file!
Eric

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )Re: How do I erase all memory on the 68hc12 ? - Jefferson Smith - Jun 27 14:02:08 2006
--- In 6...@yahoogroups.com, "Eric Engler"
wrote:
> What else is there? Most people who have d-bug12 don't put any other
> programs in flash. It doesn't play well with others :-)
Or if you haven't tried anything special (and assuming you're not
using a BDM pod), just use the 'bulk' command. That erases the EEPROM
that can be loaded from D-Bug12.
The way to reset all Flash and keep the resident D-Bug12 is to use a
BDM pod to bulk erase all flash, and then reload D-Bug12 from the
provided S-records.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )