The CodeWarrior Tap simulator is unable to recognize

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

The CodeWarrior Tap simulator is unable to recognize

1,773 次查看
Zhoute
Contributor I

I encountered the following problems when debugging the lx2080 target board.Even if I use the network port or USB for debugging, the simulator still shows that it cannot connect.And synchronized CodeWarrior Connection Server has encountered the following issues.

Zhoute_0-1753234432318.png

Zhoute_1-1753234581325.png

Zhoute_2-1753235074494.png

Have you ever encountered such a question? I have tried many of the methods provided in the official documents as well as those available on the internet, but none of them worked.

LX2160A-RDB 

 

 

0 项奖励
回复
13 回复数

1,729 次查看
June_Lu
NXP TechSupport
NXP TechSupport

Could you ping the CWTAP?

What's your CWTAP version?

What's your CodeWarrior IDE version?

Thanks

0 项奖励
回复

1,723 次查看
Zhoute
Contributor I

@June_Lu Thank you very much for your reply.

1.I can ping the CWTAP,(Windows-cmd.exe use ping FSL082481 command,it's OK.)

2.We have two CWTAP emulator,one is <REV H 23201440>,the other one is <REV G 20461200>

3. My CodeWarrior IDE version is:

Zhoute_0-1753338785256.png

The latest upgrade package has also been imported.

0 项奖励
回复

1,718 次查看
June_Lu
NXP TechSupport
NXP TechSupport

Please update it to the CodeWarrior IDE version 11.5.12.

On the NXP website.

My NXP Account->Software->Software Licensing and Support->View accounts->Product List->CodeWarrior for QorIQ LS Series ARMv8 ISA->

Please download update package

com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip

Please open CodeWarrior from C:\Freescale\CW4NET_v2020.06\CW_ARMv8\fsl_eclipse.bat, and install the update package from Help->Install New Software->Add->Archive.

And then try the ccs command.

You could reply in Chinese.

0 项奖励
回复

1,713 次查看
Zhoute
Contributor I

@June_Lu 感谢,软件已经升级到指定版本了

Zhoute_0-1753353660039.png

启动CCS后,按照您提供的输入指令,出现如下情况:

Zhoute_1-1753353805264.png

请问该如何定位问题呢?

0 项奖励
回复

1,707 次查看
June_Lu
NXP TechSupport
NXP TechSupport

用USB直接连接到PC上,用下面的命令,看是否工作正常

(bin) 8 % config cc cwtap

(bin) 9 % show cc

0 项奖励
回复

1,705 次查看
Zhoute
Contributor I

@June_Lu 

用USB直接连接到PC上,用下面的命令,结果如下图所示:

Zhoute_0-1753361540331.png

0 项奖励
回复

1,700 次查看
June_Lu
NXP TechSupport
NXP TechSupport
(bin) 7 % delete all
(bin) 8 % config cc cwtap
(bin) 9 % show cc

每次都要delete all
连上G version试一下,USB连接,H version,firmware变更了
0 项奖励
回复

1,695 次查看
Zhoute
Contributor I

@June_Lu 

这是连上G version后的效果。

Zhoute_0-1753363512039.png

还有一些硬件问题麻烦您答疑一下,十分感谢。

1.连接仿真器时RCW_SRC[3:0],还有TBSCAN_EN_B怎么配置?,也就是CFG_DRV置高开始配置的时候,配置完(复位完成后)这几个管脚应该怎么处理?

十分感谢

0 项奖励
回复

1,352 次查看
June_Lu
NXP TechSupport
NXP TechSupport

我断开了CWTAP的网络连接,发现了与您类似的错误,请检查您CWTAP的连接。

(bin) 7 % delete all

(bin) 8 % config cc cwtap:10.193.20.174

(bin) 9 % show cc

0: Network timeout

There are no command converters configured

0 项奖励
回复

1,477 次查看
June_Lu
NXP TechSupport
NXP TechSupport

如果这个问题一直存在,建议你换一台PC机,重新安装CW试一下,并且确认使用CWTAP之前,设备管理器都可以识别CWTAP串口并能输入CWTAP的信息。

因为我手上的GH version都无法复现这个问题。

LX2160ARDBGSG中,有对RCW_SRC[3:0]和TBSCAN_EN_B的配置描述。

CFG_DRV不知道您指什么。

0 项奖励
回复

1,764 次查看
June_Lu
NXP TechSupport
NXP TechSupport

In the ccs, please run:

(bin) 7 % delete all

(bin) 8 % config cc cwtap:10.193.21.52//(it's your CWTAP ethernet IP)

(bin) 9 % show cc

(bin) 10 % ccs::config_chain {lx2160a dap}

(bin) 11 % display ::ccs::get_config_chain

(bin) 12 % ccs::reset_to_debug

0 项奖励
回复

1,751 次查看
Zhoute
Contributor I

@June_Lu Could you please send me the pin definitions (in the Jtag section) of the CodeWarrior Tap simulator? We are currently connecting the target board lx2080 through specific signals (TDI/TDO/TCK/TMS/RESET/VDD/GND). The CodeWarrior Tap simulator has been constantly indicating the above error.

When I click the connection button, the following problems will occur

 

Zhoute_0-1753264228307.png

And the CodeWarrior Tap emulator's light (RUN/PAUSE) remained orange all the time, which was not the red color as stated in the official documentation.

I'm looking forward to your reply,Thanks.

 

0 项奖励
回复

1,760 次查看
Zhoute
Contributor I

Hi,June_Lu,Thank you!I use your advice but not work,Below this picture is the problem,I don't know why.I searched for the relevant errors(CC not present), but failed to solve the problem.

Zhoute_0-1753251599243.png

@June_Lu 

0 项奖励
回复