does someone know how to set BDM (Background Debug Mode) commands?
I think it will be good idea to specify, which particular Freescale processor you are talking about.
For example, for MPC860 processor BDM interface is described in MPC860 User Manual, Chapter 44 "System Development and Debugging"
it's the MCF52259XCAG80. I use PE-Micro universal multilink. And I also know the commands are described in the
"MCF52259 ColdFire® Integrated Microcontroller Reference Manual" on page 649 "188.8.131.52 BDM Command Set".
But I don't know which tool to use to transfer this commands to the µC. I know there are several tools offered by pemicro.
But there is no way to send this commands. It is very extravagant to do it by myself, but if there is no other way ...
So if you have a tool for the MPC860 to send this commands, it may (really really may) also works for my controller or there is a way to use a debug tool to do the same! I dont know !!! ??? !!!
(I don't think so but ' Hope dies last ! ' )
That was the reason why I didnt write which processor I use. Because then nobody has an idea!
Well then ?
BDM interface is debugger interface. So, the tool which is using these BDM commands is debugger. Do you mean you need to know which debugger software will work with your "PE-Micro universal multilink debug probe"?
Or you want to develop your own debugger?
I'm looking for possibility to reanimate my damaged mcf52259 controller. I do not know what happens. Measuring is difficult, cause of crafting at moulded cables and not having documentation of the BDM-signals to the controller. (Yes I know i could measure clocksignals). So I thought if there is a simple way to set BDM commands without using pemicro tools, or pemicro offers in its tools a way to send this commands. This would be the easiest way. I am in contact with them.
To get an idea of what I did in the past, have a look here:
The tool to send these BDM commands is "debug probe". In case of PE micro this probe has USB interface on another side and the interface between this probe and your PC may be proprietary, I don't know, please ask PE micro.
If you wish to develop your own interface between BDM connector and your PC, than the most easy way is to connect it to LPT port signals, however LPT port is not present in most of PCs now, but can be added by add-on card.
The BDM interface signals are also described in processor documentation, so I do not expect any difficulties implementing this interface.
Retrieving data ...