• Resolved

CCS/BOOSTXL-DRV8320RS: DRV8320RS MotorControl SDK lab with TMS320F280049C

Intellectual 920 points

Replies: 78

Views: 513

Part Number: BOOSTXL-DRV8320RS

Tool/software: Code Composer Studio

BOOSTXL-DRV8320RS: Need guidance on lab for DRV8320RS MotorControl SDK with TMS320F280049C

I have been going through the various TI instaspin motor control tutorials . I was able to run lab5 multiple times. Suddenly, I get the following error when I try to re-run lab5. Not sure what I am doing wrong. Please help.

C28xx_CPU1: Trouble Reading Register RPC: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.2.0.00002)
C28xx_CPU1: Trouble Halting Target CPU: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.2.0.00002)
C28xx_CPU1: Error: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.2.0.00002)
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

When I tried again after an emulation reset, I get the following error.

IcePick_C_0: Error: (Error -261 @ 0xFFFFFEFB) Invalid response was received from the XDS110. (Emulation package 9.2.0.00002)
C28xx_CPU1: JTAG Communication Error: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.2.0.00002)
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

  • Akila,

    Can you open the target configuration, and run "Test Connections" and send the log?

    Thanks & Regards,

    - Santosh

    ------------------------------------------------------------------------------

    If this answers your question, please click the green "Verified Answer" button.

  • In reply to Santosh Jha:

    [Start: Texas Instruments XDS110 USB Debug Probe_0]

    Execute the command:

    %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

    [Result]


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

    C:\Users\ASADHA~1\AppData\Local\TEXASI~1\
    CCS\ccs1000\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 'jioxds110.dll'.
    The library build date was 'May 7 2020'.
    The library build time was '21:10:18'.
    The library package version is '9.2.0.00002'.
    The library component version is '35.35.0.0'.
    The controller does not use a programmable FPGA.
    The controller has a version number of '5' (0x00000005).
    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 XDS110 with USB interface.
    The link from controller to target is direct (without cable).
    The software is configured for XDS110 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).

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

    This test will use blocks of 64 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 64 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 XDS110 USB Debug Probe_0]

  • In reply to Akila Sadhasivan:

    Akila,

    Can you run any C2000ware DriverLib simple example, without the DRV8320 kit and check if you can connect and run successfully? Just wanted to narrow it down if Launchpad itself is still working fine.

    Thanks & Regards,

    - Santosh

    ------------------------------------------------------------------------------

    If this answers your question, please click the green "Verified Answer" button.

  • In reply to Santosh Jha:

    I ran the adc example fine. 

  • In reply to Santosh Jha:

     When I try to run epwm_ex2_updown_aq, I am getting this error.

    Error connecting to the target:
    (Error -716 @ 0x0)
    Required dynamic library jscserdes could not be located.
    The library isn't on the search path.
    (Emulation package 9.2.0.00002)

  • In reply to Akila Sadhasivan:

    Akila,

    When do you encounter this error? during loading the program?

    Thanks & Regards,

    - Santosh

    ------------------------------------------------------------------------------

    If this answers your question, please click the green "Verified Answer" button.

  • In reply to Santosh Jha:

    yes

  • In reply to Akila Sadhasivan:

    Akila,

    Is this using F280049C controlCARD or Launchpad?

    Thanks & Regards,

    - Santosh

    ------------------------------------------------------------------------------

    If this answers your question, please click the green "Verified Answer" button.

  • In reply to Santosh Jha:

    Launchpad

  • In reply to Akila Sadhasivan:

    I even tried adding predefined symbol, _LAUNCHXL_F280049C to the project properties. Still getting the same error.