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 connecting to the target: (Error -1155 @ 0x0)

Expert 2340 points

Replies: 4

Views: 4549

Dear All,

I am using TMS320F28335 for one of my project along with XDS100 emmulator.

When ever i am trying to program the MCU using XDS100  & uniflash ,I am getting below mentioned error.

ERROR >> C28xx: 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.73.0)

                                                                                                                                                                                

Please help me with your valuable suggestions to resolve the issue.

4 Replies

  • Hi Utpal,

    Can you compare the JTAG connections with schematic found here:
    C:\ti\controlSUITE\development_kits\~controlCARDs\CC2833xHWdevPkg\F28335controlCARD HWDevPkg ZJZ [R2.2]

    Regards,
    Gautam

     

    If a post answers your question, please click on "This resolved my issue" button

    Are You A Beginner or New to TI's C2000™ Family? Do Check This Book!

  • In addition to what Gautam suggested, some other things to do to help debug this:

    1) Try a second XDS100 emulator if possible. This will rule out a broken XDS100.
    2) Try a different different emulator type if possible (e.g., XDS200). This would identify a setup problem maybe.
    3) Try the emulator with a known good board, such as a TI development board if possible. This rules out a problem with your board.
    4) Use CCSv6 to setup the emulator connection (I assume XDS100v2) and run the "Test Connection". What does it report?
    5) Check the PD pin on the JTAG header on the board (pin 5) with a multimeter. What voltage is present?
    6) Check the XCLKOUT pin on the F28335 with a scope. Assuming you don't have code in the device that is running and doing something with the clock registers, XCLKOUT should output a clock signal with frequency XCLKIN/4 (e.g., typically 30 MHz /4 = 7.5 MHz).
    7) Check the XRSn pin on the F28335 with a scope. Assuming you don't have code flashed in the device that does something with the watchdog, it should be outputing active low pulses at 4.37 ms (with a 30 MHz CLKIN).

    Numbers 6 and 7 are to show that the F28335 is alive and breathing.

    Regards,
    David

    -----------------------------
    David M. Alter
    Senior Member Technical Staff
    Texas Instruments Inc.

  • In reply to Gautam Iyer:

    Dear Gautam,

    Thanks for your valuable suggestions.

    Actually, i use 2.2K resistor for pull down but i get 2.7 v at TVref pin may be it also affects but i am not able to make it to ground as this pin is internally pull down and also require external pull down, so voltage at that pin must be zero at default condition but it show voltage nearly VCC. I don't know what to do?

     

    following errors are occur during testing these are new errors occur during testing as;

     

     

    [10:16:12] ERROR >> C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.1.73.0)

     

    [10:16:12] ERROR >> C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.1.73.0)

     

    [10:16:12] ERROR >> C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.1.73.0)

     

    [10:16:12] ERROR >> C28xx: GEL: Error while executing OnReset(1): Target failed to read register ST1   at (ST1&~(0x0100)) [f28335.gel:312] at C28x_Mode() [f28335.gel:38]    at OnReset(1) .

     

    [10:16:12] C28xx: Erasing Flash memory...

     

    [10:16:13] ERROR >> C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled

     

    [10:16:13] Flash operation Erase failed on core Texas Instruments XDS100v2 USB Emulator/C28xx .

     Kindly advice what to do ?

    Thanks 

    utpal

  • In reply to utpal kumar:

    Check this thread: e2e.ti.com/.../438717

     

    If a post answers your question, please click on "This resolved my issue" button

    Are You A Beginner or New to TI's C2000™ Family? Do Check This Book!

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.