This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Blackhawk XDS560v2-USB Mezzanine Emulator connectivity problem on Windows7 64bit

Other Parts Discussed in Thread: TMS320C6678, CSD, CCSTUDIO

Hi,

I'm trying to connect to TCI6678 EVM (PG2.0) with:

 - Windows 7 Enterprise x86_64 with SP1

 - Blackhawk XDS560v2-USB Mezzanine JTAG emulator

 - Code Composer Studio v5.3.0.00090

I can't connect and am presented with the following error inside a [Cancel] [Retry] window with the title "Blackhawk XDS560v2-USB Mezzanine Emulator_0/IcePick_D":

Error initializing emulator:
(Error -2083 @ 0x0)
Unable to communicate with the emulator. Confirm emulator configuration and connections, reset the emulator, and retry the operation.
(Emulation package 5.0.872.0)

I have tried the following to fix the problem (random order):

 1. Removed older CCS 5.x and deleted all leftover files. Reinstalled CCS v5.3.0.00090 (incl. redefining the target configuration .ccxml file). The current target configuration file is:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="Blackhawk XDS560v2-USB Mezzanine Emulator_0">
<instance XML_version="1.2" desc="Blackhawk XDS560v2-USB Mezzanine Emulator_0" href="connections/BH-XDS560v2-USB_Mezzanine.xml" id="Blackhawk XDS560v2-USB Mezzanine Emulator_0" xml="BH-XDS560v2-USB_Mezzanine.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Blackhawk XDS560v2-USB Mezzanine Emulator_0">
<instance XML_version="1.2" href="drivers/tixds560icepick_d.xml" id="drivers" xml="tixds560icepick_d.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560c66xx.xml" id="drivers" xml="tixds560c66xx.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cs_dap.xml" id="drivers" xml="tixds560cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560csstm.xml" id="drivers" xml="tixds560csstm.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560etbcs.xml" id="drivers" xml="tixds560etbcs.xml" xmlpath="drivers"/>
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="TMS320C6678_0" href="devices/C6678.xml" id="TMS320C6678_0" xml="C6678.xml" xmlpath="devices"/>
</platform>
</connection>
</configuration>
</configurations>

 2. Powered OFF/ON the board

 3. Removed USB cable and reattached it to the PC

 4. Reset the board

 5. Tried for BH Driver updates (using Eclipse's Install New SW feature); none existed

 6. Target Configuration -> Test connection

[Start]

Execute the command:

%ccs_base%/common/uscif/dbgjtag.exe -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\odo\AppData\Local\.TI\693494126\
0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 560/2xx-class product.
This utility will load the program 'bh560v2u.out'.
E_RPCENV_IO_ERROR(-6) No connection: emulator was not found
Download failed for file C:\ti\ccsv5\ccs_base\common\uscif\xds560v2.out

An error occurred while soft opening the controller.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-250' (0xffffff06).
The title is 'SC_ERR_ECOM_EMUNAME'.

The explanation is:
An attempt to access the named emulator via USCIF ECOM has failed.

[End]

 7. Using Blackhawk Control Panel to "Reinstall All...". I can  only see the emulator if I tick "Show all devices". When I try to update I get a error popup saying: "Update driver failed! Error: Access is denied. [OK] [Cancel]". Furthermore in this utility I cannot see: "Serial Number", "Board Type", "Hardware Revision", "Firmware Revision". What I do see is : "PnP Device ID: USB\VID_0B1E&PID_0009\08:00:28:32:06:08".

 8. BHDetect to check wether the PC sees the probe at all. (output cropped)

15:50:38: Starting scan for Blackhawk Emulators...
15:50:38:
15:50:38: 1.) Blackhawk XDS560v2-USB Mezzanine Emulator (S/N:08:00:28:32:06:08)
15:50:38:
15:50:38: Completed scan for Blackhawk Emulators.
15:50:39:
15:50:39: Scan Completed Successfully on Tuesday, March 05, 2013 at 03:50:39 PM.
15:50:39:
15:50:39: ******************************************************************************
15:50:39: BHDetect - Version 1.0.0.11 Errors: 0, Warnings: 0
15:50:39: ******************************************************************************

Any help would be greatly appreciated.

Any suggestions?

Thanks in advance for any answers!

Cristian

  • Cristian,

    Did you try to perform the tests using the Bh560v2 Config Utility? Does it show something similar to the screen below?

    Also, are there any errors reported by the Windows Control Panel?

    Sometimes the USB port plays tricks on the attached devices, especially if they are connected through HUBs.

    Regards,

    Rafael

  • Hi Rafael,
     Note that in our setup we have VMware virtualization and the Windows 7 host is actually a VM. However, we have dedicated USB ports for each VM and we have not had this problem with other identical setups (i.e. we have another evm6678 pg2 that's working fine).

     Now, regarding your questions, here's the information I've seen. There are no errors in Control Panel -> Device Manager.

     With your suggestion I've looked closely at all values and saw that it was in safe mode (for an unknown reason). I've used the BH tool and reset that safe mode option then reset the probe itself.
     I was then able to connect in CCS v5. Thanks! 

    BR,

    Cristian

  • Cristian,

    Thanks for reporting back your findings; the Safe mode sometimes becomes active if the emulator detects something wrong in its surroundings - i.e. if the power supply or the JTAG connection have a non-critical malfunction. On my end I have seen this become active when I connected it to a USB HUB that lacked enough power to drive it.  

    Regards,

    Rafael

  • I have a similar problem when trying to connect to the XDS560v2-USB emulator, I get the error message

    Error initializing emulator:
    (Error -2083 @ 0x0)
    Unable to communicate with the emulator. Confirm emulator configuration and connections, reset the emulator, and retry the operation.
    (Emulation package 5.1.114.0)

    I presume this is because there is no device driver installed (device manager says there is no driver installed).The BH utility output is given below. 

    I cannot find any driver to install either in the installed  CCS folder or on the supplied CD.

    Any suggestions appreciated.

    Best regards

    Alex Bienek.

    16:38:55: -------------------
    16:38:55: Computer Name: ALEX-PC2
    16:38:55: User Name: Alex
    16:38:55: OsVersionInfo: Platform=2 (0=WIN32s, 1=WIN32_WINDOWS, 2=WIN32_NT)
    16:38:55: Major.Minor=6.1; Build=7601 (if Platform=2: 5.0=W2K, 5.1=XP, 5.2=2003Server, 6.x=Vista or later)
    16:38:55: (if Platform=1: 4.0=W95, 4.10=W98, 4.90=WMe)
    16:38:55: CSD=[Service Pack 1], SP Major=1, SP Minor=0, Suite=256, Product=1
    16:38:55: Processor Architecture=0 (INTEL=0 MIPS=1 ALPHA=2 PPC=3 SHX=4 ARM=5 IA64=6 ALPHA64=7 MSIL=8 AMD64=9 IA32onWIN64=10)
    16:38:55: Wow64 Process: OS is Running 32-bit version.
    16:38:55: -------------------
    16:38:55:
    16:38:55: SCANNING OPTIONS SELECTED:
    16:38:55: --------------------------
    16:38:55: - NOT scanning for CCS v3.3 and earlier.
    16:38:55: + Scanning for CCS v4 or later.
    16:38:55: --------------------------
    16:38:56:
    16:38:56: SCANNING CCS v4 or LATER:
    16:38:56: --------------------------
    16:38:56:
    16:38:56: Starting Quick Scan for CCStudio v4 (or later) Installations...
    16:38:56:
    16:38:56: bhDetect_FindCCv4Installations: Program Files path: C:\Program Files\.
    16:38:56: bhDetect_ListCCSv4Installations: No valid CCS v4 (or later) installations found.
    16:38:56: --------------------------
    16:38:56:
    16:38:57:
    16:38:57: Starting scan for installed Blackhawk Driver Files...
    16:38:57:
    16:38:57: Processing NON-SYS Files...
    16:38:57: + Checking in System Folder: C:\Windows\System32.
    16:38:57:
    16:38:57: %ERROR: GetFileVersion: Could not locate file (Error: 0x2)
    16:38:57: File: C:\Windows\System32\blackhwk.cpl.
    16:38:57: This is normal if you ran this utility on a system where you have not installed Blackhawk Device Drivers.
    16:38:57:
    16:38:57: Processing SYS Files...
    16:38:57: + Checking in System Folder: C:\Windows\system32\drivers.
    16:38:57:
    16:38:57: %WARNING: no SYS files found. (Error: 0x2)
    16:38:57: This is normal if you ran this utility on a system where you have not installed Blackhawk Device Drivers.
    16:38:57:
    16:38:57: Starting scan for Blackhawk Emulators...
    16:38:57:
    16:38:57: %WARNING: No Blackhawk Emulators found.
    16:38:57:
    16:38:57: Completed scan for Blackhawk Emulators.
    16:38:58:
    16:38:58: Scan Completed Successfully on Tuesday, May 28, 2013 at 04:38:58 PM.

  • Where can I find this config utility? My installed set of Blackhawk programs only consists of Control panel and LAN config.

  • Ok I see that it is in C:\ti\ccsv6\ccs_base\common\uscif and if you want to update the firmware of mezzanine card when forcing it out of the safe mode does not work, then use firmware from C:\ti\ccsv6\ccs_base\emulation\Blackhawk\Bh560v2\firmware