Hi,
is it possible to program the HC12 MCU via BDM without having control
of the RESET line (Hot Attach) ?
Thanks in advance.
Mike
HC12 BDM Programming
Started by ●January 22, 2007
Reply by ●January 22, 20072007-01-22
"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
> 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
Reply by ●January 23, 20072007-01-23