CCS cannot detect CW TAP Probe

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CCS cannot detect CW TAP Probe

283 Views
loo
Contributor I

After several attempts, I managed to install CodeWarrior for ARMv8 on my Ubuntu 22.04.4 machine.

I want to debug a LS1043A processor on custom board with the CW TAP Probe.

To do this, I open CW, create a new project, select "QorIQ Configuration Project", name it, select the LS1043A processor, select all components, then click on "Read from target" for the PBL configuration (the processor is already installed, and I want to connect to it).

Now, CW opens a new window with a "CodeWarrior Connection Server" terminal, but it does not detect the CW TAP connected via USB :

loading history file ... 13 events added
CodeWarrior Connection Server console display active (Tcl8.4.6 / Tk8.4.6)
Loading CCSAPI Tcl interface (/home/loo/Freescale/CW4NET_v2020.06/Common/CCS/bin/ccstcl.so)...
Loading Svfburner (/home/loo/Freescale/CW4NET_v2020.06/Common/CCS/bin/svfburner.so)...
Server listening on port: 41475
Server listening on port: 41475
Clients allowed from all hosts
No clients denied
CCSAPI connection #1 accepted from localhost at Fri May 31 12:04:00 2024
CCSAPI connection #1 from localhost closed at Fri May 31 12:04:00 2024
(bin) 14 % show cc
There are no command converters configured
(bin) 15 %
(bin) 15 % config cc cwtap
(bin) 16 %
(bin) 16 % show cc
0: USB open failure
There are no command converters configured
(bin) 17 %
...
(bin) 26 % source IDcode.tcl

Scanning for available TAPs connected via USB.....

No TAPs found connected via USB

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+ Available Remote Connections
+
+ 1 - CodeWarriorTAP - <Specify IP Address>
+ 2 - GigabitTAP - <Specify IP Address>
+
+ x - Exit Script without Changes
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Specify connection:

can't read "CONNECTION()": no such element in array
(bin) 26 %
...
(bin) 39 % show version
CCS Linux Release Build 496.0.0.200525-p0
CodeWarrior Connection Server version {4.13}
(C) Copyright 2003-2015 Freescale Semiconductor, Inc. ALL RIGHTS RESERVED
(C) Copyright 2016-2019 NXP Semiconductors, Inc. ALL RIGHTS RESERVED
(bin) 40 % findcc cwtaps
0
(bin) 41 %

 

However, the CW TAP is connected to my machine via USB :

[270011.877083] usb 1-1: new high-speed USB device number 74 using xhci_hcd
[270012.046970] usb 1-1: New USB device found, idVendor=15a2, idProduct=0067, bcdDevice= 3.19
[270012.046990] usb 1-1: New USB device strings: Mfr=1, Product=14, SerialNumber=4
[270012.046993] usb 1-1: Product: CodeWarrior TAP
[270012.046996] usb 1-1: Manufacturer: Freescale Semiconductor, Inc.
[270012.046998] usb 1-1: SerialNumber: 00:04:ad:77:ba:de
[270012.068485] cdc_ether 1-1:2.0 usb0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 8a:0a:aa:aa:b9:e8
[270012.075701] cdc_acm 1-1:2.2: ttyACM0: USB ACM device
[270012.127667] cdc_ether 1-1:2.0 enx8a0aaaaab9e8: renamed from usb0

 

What is the correct way to connect the CW TAP to the processor ?
Is there any clear documentation I can read about this ?

Thank you

 

 

 

0 Kudos
Reply
1 Reply

259 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the attached workaround.

0 Kudos
Reply