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.

Device is held in reset

Other Parts Discussed in Thread: TMS320F28022, TMS320F28335

Hi,  I keep getting this error when I try to start a debug session.  I'm using a Spectrum Digital XDS100V2.  Target is a TMS320F28022.

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

The test connection function works and passes. 

  • Tom,

    set the device to wait boot mode or SCI/PARALLEL boot mode before you connect to JTAG. Its probably trying to boot to flash and since you don;t have aything programmed yet in flash it is going through iTRAP and getting reset because of iTRAP handling in bootROM.

    Best Regards

    Santosh

  • Hi,

    I have a similar problem with the TMS320F28335 using the XDS100v2. I have the following error messages :

    C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
    C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
    C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
    C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.333.0)
    C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
    C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled
    C28xx: Flash Programmer: Error erasing Flash memory.
    C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled.
    C28xx: Trouble Writing Memory Block at 0x33c342 on Page 0 of Length 0x120
    Cannot write to target

    This is the first time I'm trying to program the device. I don't understand why there is the first warning, because I'm sure the device is a TMS320F28335. Electrical levels on the JTAG are OK so it seems its connection is right. I have a pull-up on the XRS pin, but it gives me only 2.6 V (instead of 3.3V). Is 2.6V too low and it is consider as a low logic level giving a reset ?

    Best regards,

    Maxime Puech

  • Maxime,

    change the boot mode pins to let the device boot into wait boot mode or SCI/Parallel boot modes. Now connect CCS via JTAG and see how things work.by the way the below error message means you are using a wrong traget config for your device. Try selecting the proper device by editing the target config or creating a new target config.

    Maxime Puech said:
    C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.

    Best Regards

    santosh