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.

Error -154 @ 0x0 (One of the FTDI driver functions used to write data returned bad status or an error. (Emulation package 5.1.232.0) )

Dear Folks,

          I am using CCS5.5 and F28069 and F28M36x boards using XDS100V2 debugger and same cables, Before two days I could successfully connect both the boards. But now I not am able to connect F28M36x I get the error,

IcePick_C_0: Error connecting to the target: (Error -154 @ 0x0) One of the FTDI driver functions used to write data returned bad status or an error. (Emulation package 5.1.232.0)

 

          I have cross checked the target configuration file and other solutions mentioned before in the forum like repowering the kit and restarting CCS as well as PC none of the solutions have worked so far.

         I

Regards,

Suresh Jaggal

  • Hi Suresh,

    Have you checked the troubleshooting section for the XDS100?

    http://processors.wiki.ti.com/index.php/XDS100#Troubleshooting_FAQ

    Also post the results of the JTAG connectivity test.

    Thanks

    ki

  • Hello Ki,

        Here is the Jtag test report

    [Start]

    Execute the command:

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

    [Result]

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

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

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

    This utility has selected a 100- or 510-class product. This utility will load the adapter 'jioserdesusb.dll'. The library build date was 'Aug 20 2013'. The library build time was '22:56:19'. The library package version is '5.1.232.0'. The library component version is '35.34.40.0'. The controller does not use a programmable FPGA. The controller has a version number of '4' (0x00000004). The controller has an insertion length of '0' (0x00000000). This utility will attempt to reset the controller. This utility has successfully reset the controller.

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

    The scan-path will be reset by toggling the JTAG TRST signal. The controller is the FTDI FT2232 with USB interface. The link from controller to target is direct (without cable). The software is configured for FTDI FT2232 features. The controller cannot monitor the value on the EMU[0] pin. The controller cannot monitor the value on the EMU[1] pin. The controller cannot control the timing on output pins. The controller cannot control the timing on input pins. The scan-path link-delay has been set to exactly '0' (0x0000).

    -----[The log-file for the JTAG TCLK output generated from the PLL]----------

    There is no hardware for programming the JTAG TCLK frequency.

    -----[Measure the source and frequency of the final JTAG TCLKR input]--------

    There is no hardware for measuring the JTAG TCLK frequency.

    -----[Perform the standard path-length test on the JTAG IR and DR]-----------

    This path-length test uses blocks of 512 32-bit words.

    The test for the JTAG IR instruction path-length succeeded. The JTAG IR instruction path-length is 6 bits.

    The test for the JTAG DR bypass path-length succeeded. The JTAG DR bypass path-length is 1 bits.

    -----[Perform the Integrity scan-test on the JTAG IR]------------------------

    This test will use blocks of 512 32-bit words. This test will be applied just once.

    Do a test using 0xFFFFFFFF. Scan tests: 1, skipped: 0, failed: 0 Do a test using 0x00000000. Scan tests: 2, skipped: 0, failed: 0 Do a test using 0xFE03E0E2. Scan tests: 3, skipped: 0, failed: 0 Do a test using 0x01FC1F1D. Scan tests: 4, skipped: 0, failed: 0 Do a test using 0x5533CCAA. Scan tests: 5, skipped: 0, failed: 0 Do a test using 0xAACC3355. Scan tests: 6, skipped: 0, failed: 0 All of the values were scanned correctly.

    The JTAG IR Integrity scan-test has succeeded.

    -----[Perform the Integrity scan-test on the JTAG DR]------------------------

    This test will use blocks of 512 32-bit words. This test will be applied just once.

    Do a test using 0xFFFFFFFF. Scan tests: 1, skipped: 0, failed: 0 Do a test using 0x00000000. Scan tests: 2, skipped: 0, failed: 0 Do a test using 0xFE03E0E2. Scan tests: 3, skipped: 0, failed: 0 Do a test using 0x01FC1F1D. Scan tests: 4, skipped: 0, failed: 0 Do a test using 0x5533CCAA. Scan tests: 5, skipped: 0, failed: 0 Do a test using 0xAACC3355. Scan tests: 6, skipped: 0, failed: 0 All of the values were scanned correctly.

    The JTAG DR Integrity scan-test has succeeded.

    [End]

    I have tried trouble shooting through the the link you had provided , but it was not of so much use.

  • hi Suresh,

    Sorry for the delay in response.

    The connectivity tests passed I see. One thing to try is checking the cables (trying new ones). If that fails, could you generate a debug server log and zip and attach it to this forum?

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#Debug_Server_Logging

  • Hi Lee,

        Thank you for your response,

           I got it working by uninstalling the drivers and re installing them , later it started working perfectly.

     

    Regards,

    Suresh Jaggal

  • Good to hear. Thanks for the update.

    ki

  • I am having these connection problems just like described above. but it started to happen right after i updated my windows version to 8.1. Suddenly, my XDS100v3 drivers dissapeared and i just can go on debugging my projects. I would like do know where can i get specific up-to-date drivers for SmartRF06EB, or better saying, for XDS100v3 emulator to keep working. 

    thanks in advance

  • The XDS100v3 drivers should come with CCS. You may want to try rerunning the installer over your existing CCS installation and make sure that the XDS100 drivers are installed. If not, you can choose to install it then.