Josehida,
Did you solve your problem of "Error Loading Diagnostic Algorithm to target"? I understand this is an old post, but I am experiencing this problem as well. I have three boards built up in parrallel one works two suffer from loading Diagnostic Algorithm. They are not identical boards but very similiar a few farads of difference and trace correction not identical. I did think my dbm and rst lines were a bit noisy, but have since cleaned up the lines.
regards,
Cy
1 GND Ground 9 GND Ground 11 BKGND Background 13 EXTAL Crystal oscillator input 14 CLKO Programmable Clock Output (default: 32,768 kHz) 17 GND Ground 24 Vcc Modem voltage regulators' input 25 GND Ground 26 Vcc Modem voltage regulators' input 27 RESET MCU reset. Active low 31 GND Ground
By the way, here is another BDM interface implementation, from the Freescale MC13213 reference documents (PAN4555 is just an MC13213 which can be handled... manually ). Here the resistor is 47k instead of 10k. The capacitor won't make a difference if I supply the power using a battery, right?
LOL, one year later... Still fighting against this one
Actually, I was able to wire everything up to a state on the attached diagram. Then I launch hiwave.exe, go to Component=> Set Connection => HCS08 => HCS08 Open Source BDM, and then USB ACT LED blinks on my BDM and the Command window displays the following:
NO CONNECTION
Loading Target ...
SETCOMM DRIVER NOPROTOCOL NOPERIODICAL
SETCOMM COMPORT NONE
TARGET SECURED? NO TARGET CONNECTED?
Communication settings:
SETCOMM DRIVER PROTOCOL NOPERIODICAL
Communication settings:
SETCOMM COMPORT LPT "OSBDM #1"
GDI: DiGdiClose(TRUE)
Communication settings:
SETCOMM DRIVER PROTOCOL NOPERIODICAL
Loading Communication DLL
==> C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.2\prog\gdi\OSBDM_S08.dll
GDI: DiGdiOpen()==> DI_OK
GDI: DiGdiVersion()==> DI_ERR_NOTSUPPORTED
GDI: DiGdiAddCallBack(8192)==> DI_OK
GDI: DiGdiAddCallBack(16384)==> DI_OK
GDI: DiCommGetAcceptableSettings()==> 5
GDI: DiCommGetAcceptableSettings()==> 0
GDI: DiCommGetAcceptableSettings()==> 5
Communication settings:
SETCOMM COMPORT LPT "OSBDM #1"
Initializing STARTUP command file:
CMDFILE STARTUP ON "startup.cmd"
Initializing RESET command file:
CMDFILE RESET ON "reset.cmd"
Initializing PRELOAD command file:
CMDFILE PRELOAD ON "preload.cmd"
Initializing POSTLOAD command file:
CMDFILE POSTLOAD ON "postload.cmd"
GDI: DiGdiInitIO()
GDI DLL called: DI_CB_MTWKS_EXTENSION_Callback(MTWKS_CB_DISPLAYLINE)
TARGET SECURED? NO TARGET CONNECTED?
==> DI_ERR_FATAL
Initializing STARTUP command file:
CMDFILE STARTUP ON "startup.cmd"
Initializing RESET command file:
CMDFILE RESET ON "reset.cmd"
Initializing PRELOAD command file:
CMDFILE PRELOAD ON "preload.cmd"
Initializing POSTLOAD command file:
CMDFILE POSTLOAD ON "postload.cmd"
GDI: DiDirectAddMenuItem()==> DI_OK
No Link To Target
OK, now what?
Hi!
Could you wire all the stuff together?
Could you finish your project with PAN4555?
I'm doing the same than u and have the same doubts like you.
Do you have your stuff about this anymore? Would you may send me your schematic and maybe a primitive code?
daniel.schiller_AT_gmail.com (@ instead of _AT_ )
thank u very much!
yours sincerely,
daniel
Hi!
Could you wire all the stuff together?
Could you finish your project with PAN4555?
I'm doing the same than u and have the same doubts like you.
Do you have your stuff about this anymore? Would you may send me your schematic and maybe a primitive code?
daniel.schiller_AT_gmail.com (@ instead of _AT_ )
thank u very much!
yours sincerely,
daniel
I've 5 of this PAN4555 chips and i only want to communicate two of them. For example pressing a button on the first and turn a led on the second chip.
Hi!
Could you wire all the stuff together?
Could you finish your project with PAN4555?
I'm doing the same than u and have the same doubts like you.
Do you have your stuff about this anymore? Would you may send me your schematic and maybe a primitive code?
daniel.schiller_AT_gmail.com (@ instead of _AT_ )
thank u very much!
yours sincerely,
daniel
I've 5 of this PAN4555 chips and i only want to communicate two of them. For example pressing a button on the first and turn a led on the second chip.
Hi!
Could you wire all the stuff together?
Could you finish your project with PAN4555?
I'm doing the same than u and have the same doubts like you.
Do you have your stuff about this anymore? Would you may send me your schematic and maybe a primitive code?
daniel.schiller_AT_gmail.com (@ instead of _AT_ )
thank u very much!
yours sincerely,
daniel
I've 5 of this PAN4555 chips and i only want to communicate two of them. For example pressing a button on the first and turn a led on the second chip.
I am not familiar with this device, but it sounds like the chip is not running.
check your clocking, since the bdm does not supply a clock.
Also, that chip has more than one gnd and vcc. Since you don't show them connected, are you connecting them?