Hi
I have problem... I want make a TLC test i open TLC program and i write connect... The software tell me usbdm device Is not open... In this mode i dont have possibility tò check a PIN status.
Help me pls
Solved! Go to Solution.
Does TLC = TCL? ( I pronounce it tickle)
I presume you are talking about UsbdmScript?
If so:
UsbdmScript is not really intended as a general purpose program, It is used behind the scenes by the programmers to customize connection sequences and such.
In any case the usual opening sequence is:
You can get a terse list of commands by typing '?'
bye
Does TLC = TCL? ( I pronounce it tickle)
I presume you are talking about UsbdmScript?
If so:
UsbdmScript is not really intended as a general purpose program, It is used behind the scenes by the programmers to customize connection sequences and such.
In any case the usual opening sequence is:
You can get a terse list of commands by typing '?'
bye
Hi,
I have been unable to find a mc9s12dp512 to test with although I have used similar chip previously.
The response you are getting indicates that it was unable to find the connection speed or the value obtained was out of range. This would usually be because of a connection problem on the BDM interface.
Can't really say much else about it I'm afraid.
Does the stand-alone programmers work? Are they able to connect?
What version of the programmer are you using?
A typical connection and result is given below:
UsbdmScript [~] settarget HCS12
USBDM DLL Version = 4.12.1.320
BDM List:
0 - USBDM-MK-9226EF6A : USBDM ARM-SWD for MK
Found 1 devices
:setTarget HCS12
UsbdmScript [~] settargetvdd 5
:setTargetVdd 5 (applied when target set)
UsbdmScript [~] openbdm
Opening USBDM-MK-9226EF6A
BDM Version = HW=5D, SW=57
UsbdmScript [~] reset s h
:reset 0x04(HARDWARE, SPECIAL)
UsbdmScript [~] connect
:connect
BDM status => Ackn, Speed-sync, Vpp-Off, Vdd-Internal, RSTO=1, No Reset, CFVx-running
Speed = 10000 kHz (768 ticks, sync=12.8 us)
Ackn, Speed-sync, Vpp-Off, Vdd-Internal, RSTO=1, No Reset, CFVx-running
UsbdmScript [~]
You can also try the sync command which just tries to work out the communication speed.
I would suggest checking the connection to the target and target Vdd. If an oscilloscope is available you can use the above command to check for activity on the BDM pins.
I would expect the connect to work even on a secured device.
bye