CodeWarrior USB Tap in LS1028ARDB: target connection error

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

CodeWarrior USB Tap in LS1028ARDB: target connection error

Jump to solution
4,171 Views
igor_franco
Contributor IV

I'm using a LS1028ARDB set as LS1027AE (by DIP switches) and I tried to access the Flash Programmer with the CodeWarrior (CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA) to program the eMMC integrated in the kit. I connect my CodeWarrior USB TAP to the J24 (DUT JTAG). However, I have no success in the connection. I received the error shown in the image attached as Error_CodeWarrior.

Then, I used the CodeWarrior Connection Server console to check the USB TAP communication:

(bin) 1 % dele a
(bin) 2 % findcc utaps
USB TAP Serial Numbers:
08060102
08060102
(bin) 3 % source IDcode.tcl

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+ Available Remote Connections
+
+ 1 - Default USBTAP -
+ 2 - USBTAP - < Specify Serial # >
+ 3 - EthernetTAP - < Specify IP Address >
+ 4 - GigabitTAP - < Specify IP Address >
+ x - Exit Script without Changes
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Specify connection:
2

Specify USBTAP Serial Number or EthernetTAP/GigabitTap IP Address

08060102

Configuring TAP Interface....

Configured Connection: utap : 08060102


###################################################
#
# configTAP - Redefine TAP interface
#
# scanboard - Scans the target system
# and returns the JTAG IDCode
#
# loopback - Simple Loopback Routine
#
###################################################

(bin) 4 % scanboard

TDO -----
|
* Device 0 IDCODE: 6BA00477 Device: Unknown Device
Core Index: 0
|
TDI -----

It seems that the USB TAP was recogninized but the board not. I have a CodeWarrior USB TAP 900-75846 Rev A. Someone can explain me what I did wrong? Also, how can I check if the firmware version of my USB TAP is compatible with the LS1028A processor?

Thank you in advance,

Igor

0 Kudos
1 Solution
3,962 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Igor,

I suspect you didn't use the correct CodeWarrior TAP for QorIQ products, please check whether you use CodeWarrior TAP similar as https://www.nxp.com/design/software/development-software/codewarrior-development-tools/run-control-d... 

Thanks,

Yping

View solution in original post

0 Kudos
11 Replies
3,962 Views
yipingwang
NXP TechSupport
NXP TechSupport

No need to specify the Serial number for CodeWarrior TAP USB connection.

Please refer to section "3.2 Working with bareboard application" in C:\Freescale\CW4NET_v2019.01\CW_ARMv8\ARMv8\Help\Getting_Started_for_CW_ARMv8.pdf to create a bareboard, configure and debug this project.

Please download and install "CodeWarrior for ARMv8 v2019.01" and the latest patch "CodeWarrior for ARMv8 v11.4.0 b200227 Windows Offline Update from CodeWarrior Dev Tools for Networked Apps | NXP .

If your problem remains, please capture CCS protocol log to me to do more investigation.

Please open "PROTOCOL Logging" panel from Windows->Preferences->Debug Sever Connection->Logging Configuration, please specify "Logging Level" as "DEBUG" and check "Enable logging to Eclipse console".

 Then connect to the target board again, the low level CCS log will be printed in the console panel, please capture this console log to me.

0 Kudos
3,962 Views
igor_franco
Contributor IV

Hello Yiping,

I used the IDE to check for update as shown in the image below:

pastedImage_1.png

I did the update on this way because I don't understand how to apply the download zip, is it the same thing?

Then, I follow the steps on the document that you recommend to me (Getting_Started_for_CW_ARMv8.pdf).

I've tried again to use the "Flash Programmer" and got this different error:

pastedImage_6.png

When I tried to discover the utaps on the CodeWarrior Connection Server console, I got this:

(bin) 2 % findcc utaps
FindCC Syntax:
findcc cwtaps [-quiet|-verbose] [-usb|-eth] [-timeout:<seconds>] (1 to 60 sec)
# search for CodeWarrior TAPs
findcc gtaps [-quiet|-verbose] [-timeout:<seconds>] (1 to 60 sec)
# search for Gigabit TAP IP addresses

Did I made something wrong in the update?

The logs you asked me are attached to the message.

Thank you for the answer,

Igor

0 Kudos
3,962 Views
igor_franco
Contributor IV

I've made the steps of the section "2.2 Manually Install the Windows 7-Compatible CCS" of the document "Windows 7: Using USB TAP on a Classic CodeWarrior Installation" and I was able to identify the utaps again:

(bin) 2 % findcc utaps
USB TAP Serial Numbers:
08060102
08060102

However, I got the same error I printed in the first message of this topic.

"GTA: target connection error

Failed to connect to target"

I attached the new logs to this message.

Best regards,

Igor

0 Kudos
3,962 Views
yipingwang
NXP TechSupport
NXP TechSupport

There is problem to connect CodeWarrior TAP to your host PC with USB connection.

Please plug in CodeWarrior TAP to your host PC for two minutes, and check whether you could get similar information as the attachment  in the device manager on your host.

In CCS console, please try the following command to check whether CodeWarrior information could be returned.

(bin) 2 % config cc cwtap
(bin) 3 % show cc
0: CodeWarrior TAP (cwtap) CC software ver. {0.0}

0 Kudos
3,962 Views
igor_franco
Contributor IV

Hello again Yiping,

In my device manager, my CodeWarrior USB TAP was recognized:

pastedImage_1.png

Also, I have tried to do the command you passed. However, the device is not a "cwtap" but a "utap":

(bin) 3 % config cc utap
(bin) 4 % show cc
0: USB TAP (JTAG) (utap:) Loader software ver. {1.9}
Sending code to USB TAP - please wait
0: USB TAP (JTAG) (utap) CC software ver. {1.3}

Did you know anything else that could cause my target connection error? Some problem with the firmware maybe? The CodeWarrior USB TAP that I have here is a very old version (900-75846 Rev A).

0 Kudos
3,962 Views
yipingwang
NXP TechSupport
NXP TechSupport

You could refer to section "8.2 Reprogramming CodeWarrior TAP probe firmware images" in the attached document to update the firmware of CodeWarrior TAP.

0 Kudos
3,962 Views
igor_franco
Contributor IV

Hello Yiping,

I was designated to another task and I am returning to this issue now.

I found a newest CodeWarrior USB TAP device in our lab. It is a hardware 900-75115 Rev.D.

I followed the steps on the 8.2 section of the document  and got an error from invalid command using the "updatecwtap". I tried to change it for "updateutap" and got another error: USB open failure. The CodeWarrior USB TAP is connected to the PC and has a green LED blinking in the TX/RX. It is not connected to any device!

Find the CCS console output attached.

Best regards,

Igor

0 Kudos
3,962 Views
yipingwang
NXP TechSupport
NXP TechSupport

After plugging in CodeWarrior TAP to PC.

NXP probes (CodeWarrior TAP) should be displayed in the device manager.

pastedImage_3.png

Thanks,

Yiping

0 Kudos
3,962 Views
igor_franco
Contributor IV

Hello Yiping,

I was able to execute the "updateutap" but nothing happen:

(bin) 2 % updateutap
USB TAP Loader current software ver. {1.10}
Sending code to USB TAP - please wait

*** WARNING ***

DO NOT UNPLUG YOUR USB TAP: Doing so will render your USB
TAP non-functional and require factory reprogramming.

Please wait until the alternating Yellow/Green RUN/PAUSE light
turns off.

*** WARNING ***

My device doesn't appear in the same way of your because mine is a simple USB, as the topic name says. I just want to use the CodeWarrior USB TAP on my LS1028A-RDB board to write the eMMC memory.

CW USB TAP: USB TAP for ONCE DSC | NXP 

LS1028A-RDB: https://www.nxp.com/design/qoriq-developer-resources/layerscape-ls1028a-reference-design-board:LS102... 

CodeWarrior Environment (according "QorIQ LS1028A Reference Design Board Getting Started Guide"): 

CodeWarrior for QorIQ LS Series ARMv8 ISA. (on Windows 10)

And my problem is:

      GTA: target connection error

      Failed to connect to target

Could you please help me with this setup? These commands that you sent me doesn't exist in my CSS version. It only has utaps, etaps and gtaps:

(bin) 1 % findcc
FindCC Syntax:
findcc utaps [-quiet] # search for USB TAP serial numbers
findcc etaps [-quiet|-verbose] # search for Ethernet TAP IP addresses
findcc gtaps [-quiet|-verbose] # search for Gigabit TAP IP addresses

Best regards,

Igor

0 Kudos
3,963 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Igor,

I suspect you didn't use the correct CodeWarrior TAP for QorIQ products, please check whether you use CodeWarrior TAP similar as https://www.nxp.com/design/software/development-software/codewarrior-development-tools/run-control-d... 

Thanks,

Yping

0 Kudos
3,760 Views
igor_franco
Contributor IV

Hello yipingwang,

We bought the right CodeWarrior TAP now and the problem didn't occurred anymore.

I changed this topic to solved.

Thank you for everything.

Best regards,

Igor

 

0 Kudos