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.

TMS320F28069M: TMS320F28069M: Device Held in Reset Mode – Troubleshooting Steps?

Part Number: TMS320F28069M
Other Parts Discussed in Thread: TMS320F28069

Tool/software:

Title: TMS320F28069M: Device Held in Reset Mode – Troubleshooting Steps?


I'm using the TMS320F28069M microcontroller for my project, but the board has entered a reset mode and remains in a blue state even after pressing the reset button. The code shows the following error message:

C28xx: Failed CPU Reset: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 20.0.0.3178)

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 20.0.0.3178)

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 20.0.0.3178)

C28xx: GEL: Error while executing OnReset(-1): Target failed to read register ST1

at (ST1&~(0x0100)) [f28069.gel:312]

at C28x_Mode() [f28069.gel:32]

at OnReset(-(1))

C28xx: GEL: Error while executing OnTargetConnect(): Reset failed: retcode=-1

at GEL_Reset() [f28069.gel:92]

at OnTargetConnect()

C28xx: Flash Programmer: Warning: The configured device (TMS320F28069), 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 20.0.0.3178)

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 20.0.0.3178)

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 20.0.0.3178)

C28xx: GEL: Error while executing OnReset(-1): Target failed to read register ST1

at (ST1&~(0x0100)) [f28069.gel:312]

at C28x_Mode() [f28069.gel:32]

at OnReset(-(1))

C28xx: GEL: Error calling OnPreFileLoaded(): Reset failed: retcode=-1

C28xx: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x2: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 20.0.0.3178)

C28xx: File Loader: Verification failed: Target failed to write 0x000000@Program

C28xx: GEL: File: C:\Users\Acer\workspace_v12\adc_testing\Debug\adc_testing.out: Load failed.
Could you please help me with this, I am not able to move forward due to this.

The device is continuously in reset, and I'm unable to proceed with my project. I’ve checked the power supply and connections, but the issue persists. Could anyone guide me on how to resolve this or what steps I should take to get the device out of reset mode?

  • Hello Smriti,

    Was the MCU flash programmed earlier ?

    Can you change the boot mode of the device to wait boot mode instead of flash boot mode and power up see if you are able to connect.

    Also try testing connecting with target configuration if its successful or not ? To see if debug connection issue.

    Thanks

  •    Hey , Thank you for your reply.

    I attempted to change the boot mode to wait boot mode by modifying the states of GPIO34 and GPIO37 using this program. However, I'm unsure about how to handle the TRST pin. Am I on the right path? Could you please guide me on how to configure it for wait boot mode?

  • Hi Smriti,

    First I would suggest monitoring the Xrsn pin on scope, is it high ?

    Then I would suggest checking the power connection to the MCU, are VDD and VDDIO in range of the datasheet ?
    How are you powering the board ? Are you using Control card or using a custom designed board of your own ?

    The TRST pin is driven by debugger connection.
    The bootloader uses the state of TRST and two GPIO signals to determine which boot mode to use

    You can use the scripts drop down to configure the EMU Boot Mode

    Thanks