Driving BDM of S12X MCU from another one?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Driving BDM of S12X MCU from another one?

2,653 Views
pittbull
Contributor III
Hello,
I want to make my own BDM programmer. For this purpose, I need to drive the BDM port of the target S12X from another S12X MCU.
I found the Open Source BDM project files, but unfortunately they are made for 68HC908 and full of inline assembly. :smileysad:

Is anybody out there who has ported those codes to S12?
Are there other projects or ressources that show how to do BDM programming from an S12X?
I don't like to re-invent the wheel :smileywink:

Thanks in advance,
-> pittbull
0 Kudos
3 Replies

505 Views
eckhard
Contributor V
Hello,
 
DBug12 can act as BDM Pod. I thing it is supported by GCC. Don´t know if there is Codewarrior support for DBug12.
 
Eckhard
0 Kudos

505 Views
pittbull
Contributor III
Hi Eckhard,
Thanks for the reply.
I looked around but found no source codes for DBug12.
Beside that, DBug12 seems to be a monitor program that already must reside in the target MCU. What I need is a bunch of routines that are able to program a blank S12X over BDM.
I'm now investigating some Linux stuff that I found with Google code search...
0 Kudos

505 Views
eckhard
Contributor V
Hello,
 
Dbug12 is not open source, only the binaries are free.
You ony need DBug12 on your BDm Pod, the target dont needs DBug12.
The problem is that you have to install a software on your first S12 or S12x without a BDM to get a BDM pod, but that is with all solutions that are S12 based. Thats one reason why TBDML uses a HC08.
So try to find someone who programs your first S12.
 
 
Eckhard
0 Kudos