Hello,
Sorry for my english )
i want to get dump of flash my mc9s12q128, and try to use HI-WAVE for it.
My USBDM on JB16 is working normaly (i can dtect it by USBDM progamm, by TCL Interpreter i can do simplest hardware commands like read some bites etc.)
But when i try to setup connection i get TBDML interface not found
Here command line output:
Communication settings:
SETCOMM DRIVER PROTOCOL NOPERIODICAL
SETCOMM DRIVER PROTOCOL NOPERIODICAL
SETCOMM COMPORT NONE
GDI: DiGdiClose(TRUE)
Communication settings:
SETCOMM DRIVER PROTOCOL NOPERIODICAL
Loading Communication DLL
==> D:\Program Files\Freescale\CWS12v5.1\Prog\gdi\tbdml_gdi12.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
SETCOMM DRIVER PROTOCOL NOPERIODICAL
SETCOMM COMPORT NONE
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
GDI: DiGdiInitIO()==> DI_ERR_FATAL
GDI: DiErrorGetMessage()==> 1
GDI: Error Message ==> No TBDML Interface found
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
GDI: DiDirectAddMenuItem()==> DI_OK
No Link To Target
Looks like something on soft side, can you please help, i very need to read this mcu
Solved! Go to Solution.
Hello Pgo,
Just handle this problem! Thank you, this is error in my Windows, you programm is working perfect.
I uninstall both programms, clean registry, restart windows (XP SP2), after install CW 6.3 and 5.1 special editions. And reinstall USBDM 4.10.6.250, select mcu 6.3&5.1.
First different - in CWs folders created new file name USBDM installed. Now i open HI WAVE, select TBML in 5.1 and succesful connected. Same with 6.3, but there i use OpensourceBDM Hsc08.
I have USBDM with firmware 4.10.2, in soft i use 4.10.6.250, CW week ago loaded from freescale.com
I also found how to read - this is very simple, just use HI WAVE console, copy area from start to protected byte, and after protected area to end of flash. And now i can debug my device and get it working!
Hi Timur,
Are you sure that the USBDM software is correctly installed for Codewarrior - Codewarrior must be installed before USBDM?
Do you get the USBDM connection dialogue when using Codewarrior? (see this page: USBDM: Codewarrior - HCS08 & HCS12)
Does the stand-alone programmer work correctly i.e. detect the target device?
Finally JB16 based BDMs (as different to JS16 BDMs) have major problems and are no longer supported by USBDM - I can no longer program them they are incompatible with current versions of Windows.
bye
Hello Pgo,
Just handle this problem! Thank you, this is error in my Windows, you programm is working perfect.
I uninstall both programms, clean registry, restart windows (XP SP2), after install CW 6.3 and 5.1 special editions. And reinstall USBDM 4.10.6.250, select mcu 6.3&5.1.
First different - in CWs folders created new file name USBDM installed. Now i open HI WAVE, select TBML in 5.1 and succesful connected. Same with 6.3, but there i use OpensourceBDM Hsc08.
I have USBDM with firmware 4.10.2, in soft i use 4.10.6.250, CW week ago loaded from freescale.com
I also found how to read - this is very simple, just use HI WAVE console, copy area from start to protected byte, and after protected area to end of flash. And now i can debug my device and get it working!