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.

TMS320F28062F: TMS320F28062F

Part Number: TMS320F28062F
Other Parts Discussed in Thread: TMS320F28062

Hi,

I am using programmer (XDS110). I used the below connections with Microcontroller board. We powered up the board using JTAG power. For programming we are using Code Composer Studio 12.3.0.

TMS320F28062 Pin No TMS320F28062 Pin Name Programmer(XDS110 Debug Probe)pin Details Programmer pin no.
72 SWDIO/TMS SWDIO/TMS 1
12 NTRST NTRST 2
71 TDI TDI 3
70 SWO/TDO SWO/TDO 7
4 GND GND 8
15 GND GND 10
67 TCK TCK 11

After doing above setup i observed below error.

Can someone guide what is wrong ?

Thanks & Regards,

Dattatray Salunke

  • Dattatray,

    On your target board you need to have VREF pin pulled to 3.3V. I think is may be what's happening. See sample implementation we use on our docking station.

    This is also discussed in the thread below.

    https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/889858/tms320f28069-xds110-is-it-possible-to-bypass-vtref?ReplyFilter=Answers&ReplySortBy=Answers&ReplySortOrder=Descending

     

  • Hi,

    After doing changes as per above schematic we found connection log.

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

    [Start: Texas Instruments XDS110 USB Debug Probe]

    Execute the command:

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

    [Result]


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

    C:\Users\ASUS\AppData\Local\TEXASI~1\CCS\
    ccs1230\0\0\BrdDat\testBoard.dat

    -----[Print the reset-command software log-file]-----------------------------

    This utility has selected a 100/110/510 class product.
    This utility will load the adapter 'jioxds110.dll'.
    The library build date was 'Mar 10 2023'.
    The library build time was '17:27:27'.
    The library package version is '9.11.0.00128'.
    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]

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

    During programming *.out file we are getting below log.

    ****************************************************************************

    C28xx: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    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 9.11.0.00128)
    C28xx: GEL: Error while executing OnReset(-1): Target failed to read register ST1
    at (ST1&~(0x0100)) [f28062.gel:299]
    at C28x_Mode() [f28062.gel:32]
    at OnReset(-(1))
    C28xx: GEL: Error while executing OnTargetConnect(): Reset failed: retcode=-1
    at GEL_Reset() [f28062.gel:91]
    at OnTargetConnect()
    C28xx: Flash Programmer: Warning: The configured device (TMS320F28062), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
    C28xx: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    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 9.11.0.00128)
    C28xx: GEL: Error while executing OnReset(-1): Target failed to read register ST1
    at (ST1&~(0x0100)) [f28062.gel:299]
    at C28x_Mode() [f28062.gel:32]
    at OnReset(-(1))
    C28xx: GEL: Error calling OnPreFileLoaded(): Reset failed: retcode=-1
    C28xx: Trouble Writing Memory Block at 0xae0 on Page 1 of Length 0x1: (Error -1137 @ 0xAE1) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Error occurred during flash operation: Target failed to write 0x00000AE0@Data
    C28xx: Trouble Writing Memory Block at 0xae1 on Page 1 of Length 0x1: (Error -1137 @ 0xAE2) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Error occurred during flash operation: Target failed to write 0x00000AE1@Data
    C28xx: Trouble Writing Memory Block at 0xae2 on Page 1 of Length 0x1: (Error -1137 @ 0xAE3) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Error occurred during flash operation: Target failed to write 0x00000AE2@Data
    C28xx: Trouble Writing Memory Block at 0xae3 on Page 1 of Length 0x1: (Error -1137 @ 0xAE4) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Error occurred during flash operation: Target failed to write 0x00000AE3@Data
    C28xx: Trouble Writing Memory Block at 0xae4 on Page 1 of Length 0x1: (Error -1137 @ 0xAE5) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Error occurred during flash operation: Target failed to write 0x00000AE4@Data
    C28xx: Trouble Writing Memory Block at 0xae5 on Page 1 of Length 0x1: (Error -1137 @ 0xAE6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Error occurred during flash operation: Target failed to write 0x00000AE5@Data
    C28xx: Trouble Writing Memory Block at 0xae6 on Page 1 of Length 0x1: (Error -1137 @ 0xAE7) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Error occurred during flash operation: Target failed to write 0x00000AE6@Data
    C28xx: Trouble Writing Memory Block at 0xae7 on Page 1 of Length 0x1: (Error -1137 @ 0xAE8) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.11.0.00128)
    C28xx: Error occurred during flash operation: Target failed to write 0x00000AE7@Data
    C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled.
    C28xx: File Loader: Memory write failed: Unknown error
    C28xx: GEL: File: C:\Users\ASUS\Desktop\F28062.out: Load failed.

    ****************************************************************************

    Can someone help to do the analysis of above log & what is going wrong ?

    Thanks in advance.

    Best Regards,

    Dattatray 

    Mobile no. +91 8087590560

  • The JTAG scan succeeded, that's good.

    Looks like the CPU is held in reset. Check the XRSn pin on the MCU and make sure it is not held low.