We have two machines: an XP laptop, and a windows laptop with a virtual XP machine. Both have CW 7.2 5.9.0 build 5293. The virtual machine has service pack 2 & 3, builds 91218 and 101102.
We have a CW USB TAP BDM 900-7517 rev H.
With the XP laptop:
Jungo WinDriver version 9.0.0.0 3/27/2007
When the USB TAP is plugged in, it shows up as system devices -> CW USB TAP freescale, location 0, driver date 8/20/2007 ver 9.0.0.0 TX/RX blinks green
to connect: debug->connect; run/pause steady red; tx/rx cycles red/green/orange && good connection (don't care about executing code right now)
The VM is an Oracle Virtual Box 4.3.27 r98716
Windows 7:
Jungo driver WinDriver 5/12/2013 ver 11.3.0.0
several USB HID devices
With the XP VM:
one USB HID location 0 USB tablet, microsoft 7/1/2-001 ver 5.1.2600.2180
When the USB TAP is plugged in, TX/RX blinks green
under system devices -> CW USB TAP, freescale, location 0 8/20/2007 version 9.0.0.0
--- if you goto the VM devices list and unselect the USB TAP, RX/TX blinks red because the device is not selected - this makes sense
-- the USB TAP is in the USB device filter on boot.
WHEN THE VM IS RUNNING ON THE WIN7 box
device manager reports:
USB Controllers -> Virtual Box USB: Oracle; location Port#0002.Hub_#0003; 3/2/2015 ver 4.3.24.0
USB TAP plugged into target board; power to target board ON.
Attempt to connect to the USB TAP:
debug->connect
get error message "ColdFire CCS Protocol Adapter: USB open failure"
TX/RX blink LED and run-pause off during connect attempt.
The log reports:
CCS: ccs_open
CCS: ipaddr = 127.0.0.1
CCS: port = 41475
CCS: timeout = 60
CCS: serverh = 0
CCS: return value = connection_refused
CCS: ccs_open
CCS: ccs_open
CCS: ipaddr = 127.0.0.1
CCS: port = 41475
CCS: timeout = 60
CCS: serverh = 0
CCS: return value = ok
What?? Why the Ethernet attempt to itself?
CCS: ccs_open
CCS: ccs_get_connection_count
CCS: serverh = 0
CCS: count = 1
CCS: return value = ok
CCS: ccs_get_connection_count
CCS: ccs_available_connections
CCS: serverh = 0
CCS: cc: (size = 1)
CCS: cc[0]:: cc_index=0; cc_type=0x0; cc_param=0
CCS: return value = ok
CCS: ccs_available_connections
CCS: ccs_delete_cc
CCS: serverh = 0
CCS: count = 0
CCS: return value = ok
CCS: ccs_delete_cc
CCS: ccs_config_cc
CCS: serverh = 0
CCS: config_string = utap_bdm:0
CCS: return value = ok
CCS: ccs_config_cc
CCS: ccs_config_driver
CCS: return value = usb_open_failure
CCS: ccs_config_driver ; duration=10 ms (***1)
CCS: ccs_kill_server
CCS: serverh = 0
CCS: return value = ok
CCS: ccs_kill_server
NOTE (***1) the duration is normally 0.
I went into edit->preferences->Debugger->Remote Connections -> selected USB-TAP BDM ->change
and set the CCS timeout from 10 to 100. (I/F Clock Freq = 5.120 MHz; tried 1.00 MHz still failed) (use default serial number)
So: Questions:
1) why can I not connect when going through the VM?
2) Both USB devices (mouse/tablet and USB-TAP) report location 0 - and does not appear I have any way to change the location of either to a non-zero value
3) (more curiosity) Why is the initial connection to 127.0.0.1 (viz itself) over Ethernet?
This is starting to be come irritating. I have searched what I know, will continue to search.
Client bought a $6K seat - should come with some tech support - looking for the invoice right now.
Thanks ... bandit