How to configure ethernet ip of cwtaps in virtual PC?

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

How to configure ethernet ip of cwtaps in virtual PC?

1,359 次查看
QiujuYe
Contributor III

Hi,

 

I installer win10 in virtualbox, and install CW DS in virtual PC, but CW can not scan ip rightly in virtual pc, please tell me where is wrong or how to configure? thanks very much.

on outside pc,  the cwtap usb ethernet ip use static ip,192.168.11.50

QiujuYe_0-1639037941916.png

QiujuYe_1-1639037959782.png

in virtual PC, the NIC is used bridge mode,and static ip is 192.168.11.10

QiujuYe_2-1639038268364.png

but last in CW DS, the scan ip is  169.254.173.157, it sames the DHCP server, and can not telnet.

QiujuYe_3-1639038339276.png

 

QiujuYe_4-1639038352484.png

QiujuYe_5-1639038426496.png

Best Regards

Qiuju.ye

0 项奖励
3 回复数

1,349 次查看
yipingwang
NXP TechSupport
NXP TechSupport

In the console of CodeWarrior TAP, please type the following commands.

core> netparam static_ip_address 192.168.11.50
core> netparam bootconfig static:lab01
core> reset

In the console of CCS, please try the following commands.

% delete all

% config cc cwtap:192.168.11.50

% show cc

In addition, CodeWarrior Connection Server failed to open listen socket, it means CodeWarrior IDE cannot work normally.

0 项奖励

1,334 次查看
QiujuYe
Contributor III

Hi yipingwang,

Thanks for your reply, I try the commands, but can not connection.

and scan ip is still 169.254.xx.xx.

otherside, outside PC and virtual PC can ping well via cmd, but in CW TAP console, can not ping virtual PC well.

QiujuYe_0-1639364076593.png

QiujuYe_1-1639364136663.png

QiujuYe_3-1639364400845.png

Best Regards

Qiuju.ye

 

0 项奖励

1,324 次查看
yipingwang
NXP TechSupport
NXP TechSupport

It is abnormal that the HWaddress is "incomplete" in the arp table of your CodeWarrior TAP.

Please restart your CodeWarrior TAP.

In your virtual PC, please add the following arp table(MAC address of CodeWarrior TAP).

arp -s 192.168.11.50 00-04-9f-07-24-6d

Then in your virtual PC, ping CodeWarrior TAP IP 192.168.11.50.

In CodeWarrior TAP console, check whether arp table is valid(display the mac address of your PC).

0 项奖励