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.

  • TI Thinks Resolved

CCS/DRV8301-HC-C2-KIT: Emulation Error

Prodigy 240 points

Replies: 3

Views: 112

Part Number: DRV8301-HC-C2-KIT

Tool/software: Code Composer Studio

We are using the DRV8301-HC-C2 kit for turning BLDC motors. We recently purchased a new f28035 control card and tried to debug a new project. When we did this, we got the following error: 

Error connecting to the target:
(Error -1015 @ 0x0)
Device is not responding to the request. Device may be locked, or the debug probe connection may be unreliable. Unlock the device if possible (e.g. use wait in reset mode, and power-cycle the board). If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK).

This control card is brand new, so I don't see how it could be damaged. I've read on these forums that we need to use "wait in reset " mode or perhaps check the flash content of the card? How exactly do I do these things? I'm not sure where to access "wait in reset" mode or the flash content inside CCS.

  • Guru 148045 points

    Hi,

    Please check the Debugging JTAG reference below, which contains references to troubleshoot this error (search the page for the error code).

    http://software-dl.ti.com/ccs/esd/documents/ccs_debugging_jtag_connectivity_issues.html 

    Hope this helps,
    Rafael


    When posting, click on the link Insert Code, Attach Files and more... to attach images, files or use nice formatting.

    If my reply answers your question please click on the green button "This resolved my issue".

  • In reply to desouza:

    I have tried everything in this manual and still am not having any luck. I'm not sure where to find the boot mode settings to use "wait in reset" in ccs v7. Can you tell me where that is located?

    Also, are there any issues related to a brand new control card that could be related to this issue?

  • Guru 148045 points

    In reply to Ben Wright:

    Ben,

    Please apologize for the delay; I missed your reply.

    Were you able to overcome this issue?

    I was trying to find any additional details that may trigger this scenario, apart from the issues reported above, I couldn't find anything that could trigger this.

    Obviously that a faulty controlCARD is a rare event but not necessarily impossible.

    The "Wait in Reset" is usually useful to try to erase the device and bring it out of a locked state. That shouldn't be the case with a new board, though.

    At any rate, the "Wait in Reset" is set by the Advanced tab of the Target Configuration File.

    The options specific status of the EMU0 and EMU1 pins - the thread below mentions this.

    https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/90101/312417#312417 

    Hope this helps,

    Rafael


    When posting, click on the link Insert Code, Attach Files and more... to attach images, files or use nice formatting.

    If my reply answers your question please click on the green button "This resolved my issue".

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.