EmbeddedRelated.com
Forums

HC12 BDM Programming

Started by mikezarucki January 22, 2007
Hi,

is it possible to program the HC12 MCU via BDM without having control
of the RESET line (Hot Attach) ?

Thanks in advance.

Mike
"mikezarucki" wrote:

> Hi,
>
> is it possible to program the HC12 MCU via BDM without having control
> of the RESET line (Hot Attach) ?
>
> Thanks in advance.
>
> Mike
>

Yes, it's possible but with some restrictions. RESET line wired gives BDM
POD the ability to reset into special mode. Special mode is useful to
override flash and EEPROM write protection. If write protection is
configured to on, then you can't make it off without special mode, you are
restricted to program/erase only not write-protected areas. Also if
write-once registers like FCLKDIV are already set to wrong value, then you
can't fix it without special mode...

Edward
--- In 6..., "mikezarucki" wrote:
> is it possible to program the HC12 MCU via BDM without having control
> of the RESET line (Hot Attach) ?

I do it with D-Bug12 quite easily