Forums » Software Development »
ICE cannot be connected to SOM without FGPA
Added by Masayoshi Furuta over 1 year ago
I am having trouble making ICE connections with the following SOM
・5728-PX-4AA-RI
・5729-PX-4AA-RI
・5746-PX-4AA-RI
In addition, the ICE connection is working for "5749-PM-4AA-RI" by the same operation.
■ICE can NOT connect to CPU PROBLEM
MotherBoad:
MitySOM-AM57 Family Development Kit
ICE:
Blackhawk USB 560v2
GEL:
idk_am572x.gel(5728-PX-4AA-RI, 5729-PX-4AA-RI)
idk_am574x.gel(5746-PX-4AA-RI)
※gel-file is copied from the following folder.
{CCS install Directory}\ccs\ccs_base\emulation\boards
When you try to connect to CortexA15_0(click CortexA15_0's "Connect Target"), a dialog box appears and the following is displayed
Error connecting to the target: (Error -183 @ 0x0) The controller has detected a cable break far-from itself. The user must connect the cable/pod to the target. (Emulation package 9.11.0.00128)
The following logs are generated when "Test Connection" is performed
[Start: Blackhawk XDS560v2-USB System Trace Emulator_0] Execute the command: %ccs_base%/common/uscif/dbgjtag.exe -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity [Result] -----[Print the board config pathname(s)]------------------------------------ C:\Users\YSHIMI~1.ITF\AppData\Local\TEXASI~1\ CCS\ccs1230\0\0\BrdDat\testBoard.dat -----[Print the reset-command software log-file]----------------------------- This utility has selected a 560/2xx-class product. This utility will load the program 'bh560v2u.out'. Loaded FPGA Image: C:\ti\ccs1230\ccs\ccs_base\common\uscif\dtc_top.jbc The library build date was 'Mar 10 2023'. The library build time was '22:11:02'. The library package version is '9.11.0.00128'. The library component version is '35.35.0.0'. The controller does not use a programmable FPGA. An error occurred while hard opening the controller. -----[An error has occurred and this utility has aborted]-------------------- This error is generated by TI's USCIF driver or utilities. The value is '-183' (0xffffff49). The title is 'SC_ERR_CTL_CBL_BREAK_FAR'. The explanation is: The controller has detected a cable break far-from itself. The user must connect the cable/pod to the target. [End: Blackhawk XDS560v2-USB System Trace Emulator_0]
■Linux(SD-Boot) Noproblem
Linux booted normally and USB worked fine
- USB-gadget
modprobe g_ether
Checked both sides of Type-C twice, both times enumerated at SuperSpeed. - USB-host
USB memory stick is enumerated as SS deviceroot@mitysom-am57x:~# lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M <pre>
Replies (4)
RE: ICE cannot be connected to SOM without FGPA - Added by Jonathan Cormier over 1 year ago
I was able to reproduce your results on a 5746-PX-4AA-RI Rev2A. We will look into this.
RE: ICE cannot be connected to SOM without FGPA - Added by Jonathan Cormier over 1 year ago
On J4, the TDIS signal is supposed to be connected to GND. I tested the connection on a module by shorting pins 4 and 8 using tweezers and was able to connect to the ARM over JTAG.
Are you able to mod the SOMs you have by adding a jumper between pins 4 and 8?
I will start the process to fix this on the next release of the SOM.
Link to TI documentation on TDIS: https://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_xds_target_connection_guide.html#tdis-considerations
RE: ICE cannot be connected to SOM without FGPA - Added by Masayoshi Furuta over 1 year ago
By shorting pins 4 and 8, we were able to connect the ICE to the CPU.
RE: ICE cannot be connected to SOM without FGPA - Added by Jonathan Cormier over 1 year ago
Glad to hear it.