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.

get 'Error connecting to the target: (Error -1155 @ 0x0)' for TMS320f2812

Other Parts Discussed in Thread: TMS320F2812

I am moving from the EZDSP2812 to my own board. I am using the XDS100v3 emmulator. All works fine with the EZDSP.

I created a new target config in CCSv6 for my board. I plug in the JTAG from the XDS100v3. I launch the new config and Test Connection. It works. But, when I 'Connect Target', I get the 1155 error. I tried lowering the JTAG clock (TCK) to 100 kHz, but problem persists. Any ideas?

mark

here is the compete error message...

Error connecting to the target:
(Error -1155 @ 0x0)
Device may be operating in low-power mode. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
(Emulation package 5.1.507.0)

and the Test Connection results...

[Start: Texas Instruments XDS100v3 USB Emulator_0]

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\fredette\AppData\Local\TEXASI~1\
    CCS\ti\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 'jioserdesusbv3.dll'.
The library build date was 'May 21 2014'.
The library build time was '17:19:59'.
The library package version is '5.1.507.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]----------

  Test  Size   Coord      MHz    Flag  Result       Description
  ~~~~  ~~~~  ~~~~~~~  ~~~~~~~~  ~~~~  ~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~
    1    512  - 04 27  100.6kHz   O    good value   measure path length
    2    512  - 04 27  100.6kHz  [O]   good value   apply explicit tclk

There is no hardware for measuring the JTAG TCLK frequency.

In the scan-path tests:
The test length was 16384 bits.
The JTAG IR length was 38 bits.
The JTAG DR length was 1 bits.

The IR/DR scan-path tests used 2 frequencies.
The IR/DR scan-path tests used 100.6kHz as the initial frequency.
The IR/DR scan-path tests used 100.6kHz as the highest frequency.
The IR/DR scan-path tests used 100.6kHz as the final 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 38 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: Texas Instruments XDS100v3 USB Emulator_0]

  • Hi Mark,

    This might mainly happen due to couple of reasons:

    1. The target configuration for the device does not match the device present on the board

    2. Wrong emulator has been chosen.

    Your JTAG connection seems to be fine as the test is passing. Please check and let me know.

    Regards,

    Gautam

  • thanks Gautam,

    I checked my target config and both the processor and emmulator are correct. My board has the TMS320F2812 and my emmulator is XDS100v3. Thes match what's in the config file.

     

    I redid Test Connection and get same passing result. And, like before, when I try to connect, I get the 1553 error.

     

    I notice the Test Connection says...

    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.

     

    I do not connect the 2812 EMU pins to my board's JTAG. I connect the pins on the 2812 to 3.3v thru a 100k pullup. Could this be an issue?

    Here is my config file...

     

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>

    <configurations XML_version="1.2" id="configurations_0">

        <configuration XML_version="1.2" id="Texas Instruments XDS100v3 USB Emulator_0">

            <instance XML_version="1.2" desc="Texas Instruments XDS100v3 USB Emulator_0" href="connections/TIXDS100v3_Dot7_Connection.xml" id="Texas Instruments XDS100v3 USB Emulator_0" xml="TIXDS100v3_Dot7_Connection.xml" xmlpath="connections"/>

            <connection XML_version="1.2" id="Texas Instruments XDS100v3 USB Emulator_0">

                <instance XML_version="1.2" href="drivers/tixds100v2c28x.xml" id="drivers" xml="tixds100v2c28x.xml" xmlpath="drivers"/>

                <property Type="choicelist" Value="0" id="The Converter Usage">

                    <choice Name="Its bypassed, use 1149.1, mimic XDS100v2" value="nothing">

                        <property Type="choicelist" Value="2" id="The Emulator 1149.1 Frequency"/>

                    </choice>

                </property>

                <platform XML_version="1.2" id="platform_0">

                    <instance XML_version="1.2" desc="TMS320F2812_0" href="devices/f2812.xml" id="TMS320F2812_0" xml="f2812.xml" xmlpath="devices"/>

                </platform>

            </connection>

        </configuration>

    </configurations>

     

     

  • Gautam,

    I have found my problem. I have an fpga on my board that shares the XRS reset line with the 2812. This fpga was asserting reset. Once I fixed this, I was able to connect, load and run.

     

    Thankyou for your advice. It pointed me in the right direction.

     

    mark

  • That's Great, Mark! Do close the thread.

    Goodluck & Regards,

    Gautam

  • if the JTAG pins are shared,the problems of yours will happen?
  • Hi User4473270,

    The last post in this thread is pretty old; you will be much more likely to get a reply if you start a new thread with a detailed and specific question/description of the issue you are seeing. Feel free to link back to this thread if it is a similar question/issue.