TI C2000 TSP Code Generation Error Step #15

My code will build just fine and give me a codegen file, but when I try to build and program to the TI28379D board I receive this error:

Error in build step #15 (Make): Make process exited with code 2:
copy /Y “C:\Users\djpem\Downloads\ThreePhGFI_v3_control_David_codegen\Launchpad_TMS320F28379D.ccxml” “.\output_TI2837x_cpu1\ThreePhGFI_v3_control_David.ccxml”
1 file(s) copied.
“C:/ti/uniflash_9.0.0/dslite.bat” --flash --config=.\output_TI2837x_cpu1\ThreePhGFI_v3_control_David.ccxml .\output_TI2837x_cpu1\ThreePhGFI_v3_control_David.out -u
Executing the following command:

“C:\ti\uniflash_9.0.0\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\bin\DSLite” flash --flash --config=.\output_TI2837x_cpu1\ThreePhGFI_v3_control_David.ccxml .\output_TI2837x_cpu1\ThreePhGFI_v3_control_David.out -u

For more details and examples, please refer to the UniFlash Quick Start guide.

fatal: IcePick_C_0: Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 20.0.0.3298)
ThreePhGFI_v3_control_David.mk:175: recipe for target ‘download’ failed

Failed: Operation was aborted on ‘C28xx_CPU1’
make: *** [download] Error 1

Does anyone know how to fix this?

There is an error in trying to connect and program the device. Are you using a 28379D LaunchPad? How are you powering the board and how are the isolation jumpers set? Is it properly connected to your computer?

See TI’s guidance on debugging this class of issues for further help including additional debugging steps you can perform through Uniflash/CCS..

I am using the 28379D LaunchPad board plugged into my computer with the USB connector it came with. I’m not sure what you mean by the isolation jumpers as I am just plugging in the board and trying to program it so I can take it to the RTBox and test it.

If you are directly connecting the LaunchPad to your computer via USB without an external power supply for the board then JP1, JP2, and JP3 must all be closed. See the LaunchPad User’s Guide. There’s also suggestions in the C2000 Coder User Manual for in the “Quick Start + Tips for Programming C2000 Development Kits”. The 2837x LaunchPad excerpt is below.

I did find that the JP1, JP2, and JP3 only had one pin covered rather than both pins. Once I properly covered both pins for each JP, a green, red and blue LED lit up and I was able to upload my program to the board. Thank you for the help!

1 Like