Ethernet to serial

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

Ethernet to serial

1,128 Views
jill1
Contributor I

Hi,

I'm trying to run the eth_to_serial example application using TWR-K65F180M and TWR-SER (found under C:\Freescale\KSDK_1.3.0\middleware\tcpip\rtcs\examples\eth_to_serial). But I get some errors when I start to build the example. The errors are in app_mqx.c (unknown type name 'TASK_TEMPLATE_STRUCT', 'MAIN_TASK' undeclared here (not in a function),...). Do you have any idea what went wrong?

0 Kudos
7 Replies

1,118 Views
danielchen
NXP TechSupport
NXP TechSupport

HI  @jill1 

I tried to build this demo with KDS on my side, it is OK.

To build this demo, you need to build other libs first. 

danielchen_0-1618551472834.png

 

Regards

Daniel

 

0 Kudos

1,112 Views
jill1
Contributor I

hi @danielchen 

thanks for your reply. I forgot to include a library but now everything is included:

jill1_2-1618559582150.png

 

But I have another problem. When I try to debug the program I get the following messages: 

jill1_0-1618559487486.png

jill1_1-1618559511890.png

best regards,

Jill

 

0 Kudos

1,107 Views
danielchen
NXP TechSupport
NXP TechSupport

It seems your compile failed.  no output.

Please check the output file eth_to_serial.elf  exists?

danielchen_0-1618560304887.png

 

Regards

Daniel

0 Kudos

1,104 Views
jill1
Contributor I

The file doesn't exists. I get following message in the console: "Nothing to build for project eth_to_serial_twrk65f180m".

 

0 Kudos

1,101 Views
danielchen
NXP TechSupport
NXP TechSupport

Please make clean and build all again

0 Kudos

1,089 Views
jill1
Contributor I

Thank you I'm now able to debug the program  and the output file eth_to_serial.elf exists. 

But something else must be wrong. If I try to ping the IP adress I set in the program, I don't get a response. Furthermore I tried to check the connection with putty and I receive the following error: 

jill1_0-1618575416570.png

 

0 Kudos

926 Views
danielchen
NXP TechSupport
NXP TechSupport

please refer to the readme file under the folder

C:\Freescale\KSDK_1.3.0\middleware\tcpip\rtcs\examples\eth_to_serial

If connection to TCP terminal is established,  all characters you input to the UART are echoed to TCP terminal and vice versa.

danielchen_0-1626076475176.png

 

Regards

Daniel

 

 

 

0 Kudos