Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | How do I erase all memory on the 68hc12 ?

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 )