Not able to create the "serial to ethernet" connection using TCP/IP?

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

Not able to create the "serial to ethernet" connection using TCP/IP?

跳至解决方案
1,210 次查看
omkardixit
Contributor III

Hi

I'm using TWR-K70120M in which I was working on the ETHERNET part. So in the MQX RTOS 4.1.0 folder (C:\Freescale\Freescale_MQX_4_1\rtcs\examples\eth_to_serial) i found the "eth_to_serial" example. Before compiling i read the readme.pdf then after  i made the required changes in the user_config.h file as follows,

#define BSPCFG_ENABLE_ITTYF 1
#define BSP_DEFAULT_IO_CHANNEL_DEFINED
#define BSP_DEFAULT_IO_CHANNEL "ittyf:"

After all this, i compiled the MQX libraries and then flashed the code. Now the problem is, according to the readme.pdf file i supposed to get the following message on the uart,

Application listening on following ip addresses:
IPv4 Address: 192.168.1.202, port:23
IPv6 Address 0: fe80::200:5eff:fea8:1ca, port: 23
Waiting for incoming connection...

which is i'm not getting but on the TCP terminal i saw the following message,
Ethernet <-> Serial bridge

So now I'm confused what should be the reason for not establishing "Serial <-> Ethernet bridge" connection. Any help will be really appreciated!!

Regards

Omkar Dixit

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
1,178 次查看
omkardixit
Contributor III

Hi

The issue is solved now. Actually initially i have enabled only the one macro which is "#define BSPCFG_ENABLE_ITTYF 1" and then when i enabled "#define BSPCFG_ENABLE_ITTYC 1" it got worked!

Regards

Omkar

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,184 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @omkardixit 

 

Please check the network configurations:

From readme file:

3) Connect the evaluation board and your PC to same Ethernet network.

 

Did you connect the evaluation board to your PC with a cable and configured it correctly?

 

Regards

Daniel

 

0 项奖励
回复
1,179 次查看
omkardixit
Contributor III

Hi

The issue is solved now. Actually initially i have enabled only the one macro which is "#define BSPCFG_ENABLE_ITTYF 1" and then when i enabled "#define BSPCFG_ENABLE_ITTYC 1" it got worked!

Regards

Omkar

0 项奖励
回复