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.

CCS/TMS320F28335: Error -1155

Part Number: TMS320F28335

Tool/software: Code Composer Studio

I have a jtag connection to the above mentioned processor established and tested via XDS100v3. in Code Composer studio, in the ccxml file, "Test Connection" showed sucess. 

When I try to download a new program via

Code Composer Studio
Version: 8.2.0.00007

OS: Windows 10, v.10.0, x86 / win32

, in the console the following error shows up:

C28xx: Error connecting to the target: (Error -1155 @ 0x0) Device may be operating in low-power mode. The debugger has forced the device to wake up. Choose 'OK' to attempt to complete the debug connection. (Emulation package 8.0.27.9)

  • Dominik,

    I'm going to refer you to this guide http://www.ti.com/lit/spracf0 , although you have completed some of the steps already. You can start on page 8 with step 9 as this covers about where you have gotten to. Let's see if we can change the characteristics of the on connect action and get a stable connection. Antoher step to look at is #12, which discusses boot modes.

    Look forward to your reply.

    Best,

    Matthew

  • Matthew,

    I did step 9-11 in the linked document. XRSn is 3.3V constantly. 

    regarding #12. Due to the fact, that this design was tested successfully before, I think the boot mode resistors are correct A12,A13,A14,A15 are tied to 3.3V via 20k pull-ups

    Another point:

    The PCB I use has been already tested successfully in the past. At this specific board, the µC was damaged and replaced by a brand new one. I am wondering, if the "virgin" µC has to be configured in a special way in advance of this process. 

    I do not see an frequency at the external crystal. What else are the prequisites for an operation?

    Dominik

  • Correction: The crystal frequency is 30MHz. I can measure it at X1
  • Dominik,

    Since this a fresh unit I'd like to try and hold the device in reset from a CPU exection POV until we can gain control from the emulator.

    If you double clickon your target config(.ccxml file) it will bring up a dialog window.  If you click on the "advanced tab" it will bring up a window like the one attached below.  For both the JTAG nTRST Boot and Power on Reset Boot, from the drop down pick "Enabled EMU1 is high, EMU0 is low" and save it.

    Make sure this is set as your active target as well.

    Power cycle the device(or power up if it was just off this time), and see if you can connect.  

    I suspect the device is executing code after it is powered up, but since it is new the flash is all 0xFFFF which is an illegal instruction and there may be a challenge getting emulation control depending on what the CPU is doing.

    Let me know if this allows the emulator to connect.

    Best,

    Matthew

  • Hi Matthew,

    I tried the settings, but no success. I think I give up with that sample of the board. Others work flawless.

    Thanks for your help

  • Dominik,
    Thanks for the feedback, I will mark this as resolved for now and close the thread. If you have an update you can reply back and it will notify me, or create a new thread if a different topic.