Part Number: TMS320F28379D
Other Parts Discussed in Thread: LAUNCHXL-F28379D
Tool/software: Code Composer Studio
I supervise a teaching lab that contains 8 Windows workstations, each of which is equipped with CCS 10.1.0.00010 and a USB cable connected LAUNCHXL-F28379D. Due to the pandemic, students use Remote Desktop Connection to log in to these workstations and conduct lab projects without anyone being physically present in the lab. This approach works fine most of the time, especially once the students have enough experience to use CCS in a "correct" way, but unfortunately students still sometimes encounter (too frequently) the following error when they initiate an XDS100v2 debug session:
"IcePick_C_0: Error connecting to the target: (Error -151 @ 0x0) One of the FTDI driver functions used during the connect returned bad status or an error. The cause may be one or more of: no XDS100 is plugged in, invalid XDS100 serial number, blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the XDS100 can be located. (Emulation package 9.2.0.00002)"
None of the possible problems listed in this error message apply since (1) students do not have access to enter the lab physically, (2) there is just one device connected to each workstation, (3) the pairing of workstation and device never changes, and (4) I confirm proper operation with my own working code each week. Instead, I believe that the students' buggy code may sometimes be leaving the debug probe in a faulty state, thereby creating problems with the launch of the next debug session. Do you agree this could be the cause?
The remedy we've been using when this problem occurs is to remotely restart the workstation (one or more times); during the workstation reboot, the voltage on the USB cable drops temporarily so that the target hardware experiences a power reset. This approach seems to work most of the time, but sometimes I have to visit the lab to physically disconnect and reconnect the USB cable. Can you offer any better way of remotely fixing a failure to launch a debug session?
Thank you for any advice you may offer.