Part Number: TMS320F28377S
Other Parts Discussed in Thread: UNIFLASH
Tool/software: Code Composer Studio
Hi,
I designed a custom board with F28377S chip and the design is based on the schematic of Delfino Launchpad. However, I am unable to flash the blinky example on my custom board. I have +3.3V on VDDIO and +1.2V on VDD, also I am using an external power supply.
I have a Delfino Launchpad and I can upload the code to the launchpad seamlessly.
To upload the code to my custom board, I am using Olimex XDS100v3. JTAG test connection on Target Configuration succeeds. In fact, I can load the code to RAM and I can debug the code (it means that the emulator works I suppose), but whenever I try flashing, I get the following error:
C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: Error: (Error -1135 @ 0xC095) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 7.0.48.0)
C28xx_CPU1: Trouble Halting Target CPU: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 7.0.48.0)
C28xx_CPU1: Error: (Error -1135 @ 0xC095) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 7.0.48.0)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
C28xx_CPU1: Error occurred during flash operation: Could not write 0x00000064@Data: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x00130@Program: target is not connected
C28xx_CPU1: Error executing PLL configuration algorithm. Operation cancelled. (0x0)
C28xx_CPU1: File Loader: Memory write failed: Unknown error
I also tried flashing the code using Uniflash, but it gives the same error. When I read the memory using Uniflash, all I get is a lot of 0x00's and 0xFF's.
I tried flashing on Wait mode and Get mode, no luck.
I was using Code Composer Studio v6, tried uninstalling it and installing CCS v7, still no luck.
I didn't use hot air gun not to damage the chip by the heat, I also took every ESD precaution I could take while soldering the chip. I still thought that I could damage the chip somehow and replaced it, but the error is still the same.
TRSTn is pulled down by a 2.2k resistor, EMU0 and EMU1 are pulled high, RTCK is wired to TCK. Here is the JTAG related part of the schematic (mostly copied from the TI's original design):
