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.
Hello,
I have created a user board with the TMS320F28030PNT. I have two identical prototypes that will not program. I get the following errors when I try to program the boards:
C28xx: Failed CPU Reset: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.9.0.00040)
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.9.0.00040)
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.9.0.00040)
C28xx: GEL: Error while executing OnReset(-1): Target failed to read register ST1
at (ST1&~(0x0100)) [f28030.gel:290]
at C28x_Mode() [f28030.gel:32]
at OnReset(-(1))
C28xx: GEL: Error while executing OnTargetConnect(): Reset failed: retcode=-1
at GEL_Reset() [f28030.gel:94]
at OnTargetConnect()
C28xx: Flash Programmer: Warning: The configured device (TMS320F28030), 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.9.0.00040)
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.9.0.00040)
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.9.0.00040)
C28xx: GEL: Error while executing OnReset(-1): Target failed to read register ST1
at (ST1&~(0x0100)) [f28030.gel:290]
at C28x_Mode() [f28030.gel:32]
at OnReset(-(1))
C28xx: GEL: Error calling OnPreFileLoaded(): Reset failed: retcode=-1
C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled.
C28xx: File Loader: Memory write failed: Unknown error
I am using CCS V12.1.0.07
I have tried two different emulators; Spectrum Digital XDS220 ISO and the XDS100v2. I have verified that successful communications with both emulators.
I am using the 14 pin JTAG standard and have the appropriate pull up and pull down resistors.
I am holding the processor in wait state. GPIO-34 is off and GPIO-37 is on.
I have verified the pinout is correct for the F28030PNT. I connected the power portions of the processor in accordance with schematic CC2803X_iso_V0_15_DSN except that I did not tie the VSS-ADC to a capacitor and inductor. The VSS-ADC is tied directly to ground.
I have verified that X1 & X2 frequency is a 20Mhz sinewave. I have verified all of the VDDIO, VDD_SDC and VSS voltages are in specification. I have found that all VDD outputs are reading out of specification. They read 2.58VDC in lieu of the specified 1.80VDC. I have verified that VREGENZ is tied directly to ground to utilize the internal 1.8VDC regulator. I would expect to see 1.8VDC on the VDD outputs.
The XRS pin is tied to a 2.2k pull up resistor but the pin stays at 0.58V reset condition. I have looked at the reset pin on startup with an oscilloscope and get a non reset mode for 2.8usec.
I have replaced the processor on one of the boards and get the same results.
I have never been able to program the processors.
Should the processor be held in reset?
Should the voltage be 1.8VDC on the VDD outputs?
What do I need to do to get the processors programmed?
Hi Paul,
The voltage on VDD should be about 1.8VDC. Do you have 1.2uF capacitors placed between each VDD pin and VSS, as recommended by the datasheet for proper regulation of the VREG? Also, would you be comfortable sharing your schematic offline so that me and my coworkers could review it? If so, I will send you a private message.
Best Regards,
Ben Collier
Hi Paul,
I am not sure what email you are talking about. Are you receiving offline support from someone else?
Best Regards,
Ben Collier
Paul,
I have sent you a friend request on E2E. Once you accept, we will be able to send private messages to each other.
Best Regards,
Ben Collier
This issue has been solved offline. The root cause was a board layout error causing the F28030 device's VSS pins to not be connected to ground.