Codewarrior setup with USBTAP - USB open failure

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

Codewarrior setup with USBTAP - USB open failure

4,115 Views
steverino2
Contributor I
 
I'm trying to set up a USBTAP to use with Codewarrior.  The host is FC6, and the target is an MPC8349.
 
I've been through various settings including CW Preferences, Debugger, Remote Connections.
 
Having selected CodeWarrior USB TAP, interface type USBTAP, I have verified it is configured
for CCS EPPC Protocol Plugin, USBTAP. 
 
Then select Debug, Connect, a msgbox pops "CCSProtocolPlugin::Could not connect to the requested core #0.
 
But the real story is in the protocol log - Error message:  USB open failure
 
Having confirmed the USBTAP is enumerated in /proc/bus/usb/devices
Bus=05, Vendor=15a2 ProdID=50b3
 
I then visit /etc/hotplug/usb.usermap and usb/usbtap
 
What isn't clear is how the USB device is detected by CodeWarrior and I suspect this is where
things are failing.
 
In usb/usbtap there is a reference to DEVICE=/proc/bus/usb/BBB/DDD
but there is no such device in /proc...
 
so I'm puzzled how to set this up.  Is there a downloadable USB driver module for USBTAP?
I've checked ccs/bin/ccs.cfg but not much to go on there...
 
 
Thanks in advance! 
 
/steverino2
 
 
 
 
 
Labels (1)
0 Kudos
Reply
4 Replies

916 Views
steverino2
Contributor I
 
Another way to do this, in concept, is to install codewarrior windows, then use CCS to serve the debug connection as shown in the following diagram:
 
 
      
Linux                               Windows                                
development                   CCS       <---------USBTAP -----------> 8349 target
system                            gdbserver
gcc/gdb
        |                                    |
        |                                    |
   ------------------LAN----------------
 
 
I say in concept having never done this before.  Are there any similar experiences out there, using this configuration?   
 
CCS can be easily launched on Windows but how can it be configured to specify TCP port number?
 
 
Thanks!  :smileyhappy:
/steverino2
 
 
0 Kudos
Reply

916 Views
Voxan
Contributor III
Hi there,

could you please clarify if you are using a linux box or if you are using a VMWare Linux installation??

If you are using a VMWare installation then there is a trick you need to know about, you cannot connect to the USB-TAP directly, the workaround is to install the Windows version of the tools also. From your Linux hosted tools, configure the debugger connection to CCS remote connection and provide your Windows machine IP address.

if you are using a Linux box, then I would recommend to log a service request at:

http://www.freescale.com/webapp/sps/site/homepage.jsp?nodeId=054670&tid=FSH and press the link 'submit a service request'. Please provide as much information as possible on you settings, host machine(s)
, targetted HW, project, project settings...

Hope this helps...

Regards
0 Kudos
Reply

916 Views
steverino2
Contributor I
Thanks for the help!  I'm working on submitting a support case now.
 
This is CW IDE 5.9.0 build 2283 running on Fedora Core 6.  not vmware
As a workaround I may try this on Windows XP and samba mount the project from linux FC6.
 
/steverino2
0 Kudos
Reply

916 Views
CrasyCat
Specialist III
Hello
 
Not sure you will get an answer to that in the forum.
 
I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and specify which version of CodeWarrior you are using.
CrasyCat
0 Kudos
Reply