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.

LAUNCHXL-F28379D: Device is held in reset

Part Number: LAUNCHXL-F28379D

Tool/software:

Hi Team 

While debugging the code powered through an external power supply, the device encountered a problem where it is held in reset.Below is the message we received from Code Composer Studio (CCS):

C28xx_CPU1: Trouble Reading Register PC: (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_CPU1: Trouble Writing Memory Block at 0x5f412 on Page 1 of Length 0x1: (Error -1137 @ 0x5F413) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 20.0.0.3178)
C28xx_CPU1: GEL: Error while executing OnTargetConnect(): Target failed to write 0x0005F412@Data
at *((int*) 0x5F412)=0x000F [f28377d_cpu1.gel:77]
at OnTargetConnect()
C28xx_CPU1: Trouble Writing Memory Block at 0x5fb00 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_CPU1: Error occurred during flash operation: Target failed to write 0x05FB00@Program
C28xx_CPU1: Trouble Writing Memory Block at 0x5f800 on Page 1 of Length 0x2: (Error -1137 @ 0x5F802) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 20.0.0.3178)
C28xx_CPU1: Error occurred during flash operation: Target failed to write 0x0005F800@Data
C28xx_CPU1: Trouble Writing Memory Block at 0x5fb00 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_CPU1: Error occurred during flash operation: Target failed to write 0x05FB00@Program
C28xx_CPU1: Trouble Writing Memory Block at 0x5f800 on Page 1 of Length 0x2: (Error -1137 @ 0x5F802) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 20.0.0.3178)
C28xx_CPU1: Error occurred during flash operation: Target failed to write 0x0005F800@Data
C28xx_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.
C28xx_CPU1: 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_CPU1: 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_CPU1: Trouble Writing Memory Block at 0x5d122 on Page 1 of Length 0x2: (Error -1137 @ 0x5D124) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 20.0.0.3178)
C28xx_CPU1: GEL: Error while executing OnReset(-1): Target failed to write 0x0005D122@Data
at *((long int*) 0x5D122)=0xA5A50000 [f28377d_cpu1.gel:28]
at OnReset(-(1))
C28xx_CPU1: GEL: Error calling OnPreFileLoaded(): Reset failed: retcode=-1
C28xx_CPU1: 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_CPU1: File Loader: Verification failed: Target failed to write 0x000000@Program
C28xx_CPU1: GEL: File: C:\workspace\epwm_ex5_digital_compare_event_filter\CPU1_RAM\epwm_ex5_digital_compare_event_filter.out: Load failed.
C28xx_CPU1: 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)

Could you please suggest some solutions to resolve this issue? We found a potential solution using the S1 boost switches to manually reset the device, but we are not achieving success with that approach.

Thanks & Regards,
Tasmiya

  • Hi Tasmiya,

    What are the things you did before getting this error ?

    Make sure the VDD, VDDIO are properly supplied to MCU.

    Thanks.

  • Hi Prarthan Bhatt

    I have attached the photo of my launchpad i am not able to find dedicated pins for  VDD and VDDIO to check the voltage levels ,can you let me know the dedicated pins for  VDD and VDDIO.If there is any solution let me know in your next answer 

    Thanks.

  • Hi Tasmiya,

    If you are using launchpad then just connecting the usb should power on the MCU with on board circuitry.

     Are you seeing LED's lit after connecting the usb cable to launchpad ? 

    Thanks

  • Hi Prarthan,

    Yes, when I connect the USB cable to the Launchpad, the LEDs do light up.

    Best,
    Tasmiya

  • Hi Prarthan,

    Before encountering the error, I was debugging the code while utilizing some graph properties. Unfortunately, I accidentally clicked the CPU reset button in Code Composer Studio, which may have contributed to the issue.

    Please let me know if there are any other troubleshooting steps you recommend.

    Best,
    Tasmiya