EmbeddedRelated.com
Forums
Memfault Beyond the Launch

HC12 Programming circuit

Started by jhaboba May 2, 2007
I'd like to know how to program the flash memory without using an commercial
BDM cable.
Thanks very much.
Javier.
--- In 6..., jhaboba wrote:
> I'd like to know how to program the flash memory without using an commercial
> BDM cable.

To program the flash without a BDM you need a program running internally that allows you to do so, but to get that program into the machine you need a BDM, chicken/egg situation unfortunately.

The good news is that you have to borrow a BDM only once (or buy a demo board with a monitor preprogrammed in already)

Cheers,

Theo
> > I'd like to know how to program the flash memory without using an commercial
> > BDM cable.
>
> To program the flash without a BDM you need a program running internally that allows you to do so, but to get that program into the machine you need a BDM, chicken/egg situation unfortunately.
>
> The good news is that you have to borrow a BDM only once (or buy a demo board with a monitor preprogrammed in already)

Hello Javier,

I can also advise you to build the Open Source BDM for S12.
The source files, PCB and schematics are available from Freescale Forums:
http://forums.freescale.com/freescale/board/message?board.id=TBDML&thread.id=2
There is a whole board dedicated to this mature project called Turbo
BDM Light or TBDML.

Cheers,
Alban.
Hello,

There is also the project called Podex originally created by Marek Peca
(http://www.duch.cz/podex/) and improved by Michal Konieczny
(http://cml.mfk.net.pl/podex/).
The Podex is protocol compatible with the BDM12 Pod by Kevin Ross
(http://www.kevinro.com/products.html).
You can use the NoIce debugger (http://www.noicedebugger.com/) for
programming and debugging or the Michal Konieczny's hc12mem
(http://sourceforge.net/projects/hc12mem/) for programming.

Petr

Memfault Beyond the Launch