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.

TMS320F28377S: Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register.

Part Number: TMS320F28377S

Hi all,

I am trying to program a self designed PCB using Simulink Hardware Support Package for c2000 series. The PCB consists of a TMS320F28377S microcontroller which uses FTDI (FT2232H) and XDS100v2 to program it. This design is based on the same hardware configuration of the Development Kit from Texas LAUNCHXL-F28377S LaunchPad.

When programming the LaunchPad, all goes correctly and the microcontroller works well and performs the desired function, but when trying to program my own PCB, Simulink replies that there is an error connecting to the target.

Firstly, the error was about the FTDI returning an error when communicating with the XDS100. I found out that this device had to be programmed too, so I downloaded MProg and the given template to program the XDS100 from this Wiki: 

After this, the error changed to the following:

"

*** Connecting to target...
SEVERE: 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 6.0.407.3)
SEVERE: emulation failure occurred
SEVERE: Error connecting to the target: emulation failure occurred
SEVERE: Cannot perform operation, target is not connected.

"

After resetting the device, the same error appear. I have no idea what the problem can be.

Thank you very much!