Can't establish an ethernet connection between mqx and windows

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

Can't establish an ethernet connection between mqx and windows

跳至解决方案
956 次查看
projektecarus
Contributor II

Hey,

I am trying to establish an ethernet connection between my windows 7 pc and a twrk60f120m running MQX 3.8. I am using CodeWarrior 10.3.

At first I was trying to do it on my own, using the RTCS user guide. I wasn't able to get it to work, so I tried the example projects coming with MQX. Unfortunately, I had no success. I also tried changing my setup, i.e. using another pc/cable, changing my firewall/port settings and so on. Still no ethernet connection, so I need some help now.

Let's take telnet-to-serial demo project as an example. I am fairly sure that everything is fine until the program reaches the socket accept line:

sock = accept(listensock, NULL, NULL);

At this point, nothing happens. If I understand it correctly MQX is waiting for an incoming connection now. According to the readme I am supposed to use hyperterminal to send one. I do so, I can detect the outgoing request at my pc's ethernet device, but there is absolutely no reaction on the other side. If it is still doing anything it keeps waiting for a connection. Any ideas?


Thanks in advance.

标签 (1)
标记 (4)
1 解答
737 次查看
projektecarus
Contributor II

Hey,

sorry, forgot this thread.

I can use the tower's ethernet device now, the problem was that it doesn't work with the default jumper settings.

Regards.

在原帖中查看解决方案

4 回复数
737 次查看
Monica
Senior Contributor III

Projektecarus, was this helpful?

We'd like to know, please keep us posted :smileywink:


Regards!

0 项奖励
回复
738 次查看
projektecarus
Contributor II

Hey,

sorry, forgot this thread.

I can use the tower's ethernet device now, the problem was that it doesn't work with the default jumper settings.

Regards.

737 次查看
Monica
Senior Contributor III

Thanks for sharing with us!

:smileyhappy:

0 项奖励
回复
737 次查看
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi projektecarus,

There are couple of things you can try. Are you sure your PC and the TWR-K60 are in the same subnet and have the same mask address? Have you tried a simple telnet command in your command line to the board's IP address?

Best Regards,

-Garabo

0 项奖励
回复