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

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

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

Jump to solution
865 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
833 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
839 Views
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 Kudos
Reply
834 Views
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 Kudos
Reply