CCS says that it "can't open USB"

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

CCS says that it "can't open USB"

Jump to solution
4,438 Views
AgentK
Contributor III

Codewarrior Connection Server (CCS) is giving me grief again, having worked for months without incident: any ideas anybody about how to get it to let Codewarrior drive my USBTaps again? It'll debug ok with MacGraigor Wigglers on the LPT port, so the JTAG port on the target works, and I've got the JTAG clock speed set to a conservative 500kHz.

 

Some Details:

 

FlashProgrammer is similarly affected. Its error message implies that the USB isn't powered up.

The Tx/Rx led on the USBTap blinks every few seconds, though the Run/Pause does nothing.   

Tried 2 USBTaps, and 2 PC's, and neither PC can talk to either USBTap, though they did last time that I used them, some weeks ago (the PC's are shared with other software developers).

Tried upgrading my CW from 8.2 to 8.2.3 

 

USBView can see the USBTaps, and the FlexLm dongle is a USB device, so its highly unlikely that the USB port is electrically broken.

 

I've never like the way that the remote debugger panel in CW fights with CCS regarding which port the debugger is on: you have to close Codewarrior, and and then let CCS read the all important "config cc utap" line from its ccs.cfg file, which is what actually sets which debugger physical interface is in use.

 

All suggestions gratefully received!

 

Ken M

Labels (1)
0 Kudos
Reply
1 Solution
810 Views
AgentK
Contributor III
I have found that on my non-working laptop, the Jungo driver appears not to be there:

 

CCS console:

0: USB open failure(bin)

10 % show wdv

WinDriver not installed 

Whereas, on one of my colleagues, it is:

WinDriver v9.00 Jungo (c) 1997 - 2007 Build Date: Mar 27 2007 X86 32bitSYS 13:58:07(bin)

2 % show cc

0: USB TAP (JTAG) (utap:smileyhappy: CC software ver. {1.3}(bin)

 

I reinstalled the CodeWarrior USBTAP and it made no difference.

I reinstalled the Jungo driver and it fixed my problem.  

 

The Drivers are in the "CodeWarrior" program file directory under the

ccs/drivers directory. There, in C:\Program Files\Freescale\CodeWarrior\ccs\drivers, there's a file from Jungo, ccs_drivers_installation_help.txt. It points to a setup.bat, which does a Minimal driver installation for CodeWarrior USB TAP and USB HTI on Windows via a utility in the utils directory,
util\wdreg_gui, which uninstalls the earlier Jungo v7 driver and replaces it with a v9, and that fixes my problem!

 

I found this out by searching the registry for "Jungo".  I have codewarrior installations back to v7.0 to allow maintainance of older products without having to regenerate the beans (as the processor expert .pe file format has changed as the compiler has uprevved). Judging from when my USBtap stopped working, installing v8.2.3 has uninstalled the Jungo driver, and broken my v8.2 installation (the version that I use most of the time).

 

So I'm up & running again, & thanks for your reply.

 

Ken Macfarlane  

View solution in original post

0 Kudos
Reply
2 Replies
810 Views
J2MEJediMaster
Specialist I

The blinking LED indicates that something is wrong with your communications. Right, that is stating the obvious, but the question is, how is the communications being botched?

First, check the Remote Debugging settings panel. Is the Connection option set for Local USBTAP Connection? If it is, next click on the Edit Connection button to display the 56800E Local USBTAP Connection dialog. The Debugger option should say CCS 56800E Protocol Plugin. For the Connection Type, you have a choice of USB TAP Connection or CCS Remote Connection. I would try changing this option and see what happens. I do not have a DSP56800E board here to try this, so I cannot offer you further advice other than changing this setting.

If that does not work, I would go to the PE Microsystems web site (www.pemicro.com) and download their latest USB drivers.

---Tom

Message Edited by J2MEJediMaster on 2009-10-30 08:13 AM
0 Kudos
Reply
811 Views
AgentK
Contributor III
I have found that on my non-working laptop, the Jungo driver appears not to be there:

 

CCS console:

0: USB open failure(bin)

10 % show wdv

WinDriver not installed 

Whereas, on one of my colleagues, it is:

WinDriver v9.00 Jungo (c) 1997 - 2007 Build Date: Mar 27 2007 X86 32bitSYS 13:58:07(bin)

2 % show cc

0: USB TAP (JTAG) (utap:smileyhappy: CC software ver. {1.3}(bin)

 

I reinstalled the CodeWarrior USBTAP and it made no difference.

I reinstalled the Jungo driver and it fixed my problem.  

 

The Drivers are in the "CodeWarrior" program file directory under the

ccs/drivers directory. There, in C:\Program Files\Freescale\CodeWarrior\ccs\drivers, there's a file from Jungo, ccs_drivers_installation_help.txt. It points to a setup.bat, which does a Minimal driver installation for CodeWarrior USB TAP and USB HTI on Windows via a utility in the utils directory,
util\wdreg_gui, which uninstalls the earlier Jungo v7 driver and replaces it with a v9, and that fixes my problem!

 

I found this out by searching the registry for "Jungo".  I have codewarrior installations back to v7.0 to allow maintainance of older products without having to regenerate the beans (as the processor expert .pe file format has changed as the compiler has uprevved). Judging from when my USBtap stopped working, installing v8.2.3 has uninstalled the Jungo driver, and broken my v8.2 installation (the version that I use most of the time).

 

So I'm up & running again, & thanks for your reply.

 

Ken Macfarlane  
0 Kudos
Reply