RW612 echo_tcp_client Lwip Connect Problem

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

RW612 echo_tcp_client Lwip Connect Problem

388 次查看
Dr_Ron
Contributor I

I am unable to get the shell command "echo_tcp_client" in example project "frdmrw612_lwip_ipv4_ipv6_echo_freertos" to connect to a PC using the FRDM-RW612 development board. 

 

I am using version v25.6 of MCUXpresso IDE.  I am also using version 26-03-00 of the SDK for the RW612 board.

 

My PC has a fixed IP address of 196.168.0.100.  The RW612 board uses address 198.168.0.102.  I am using port 50000.

 

I use an older Linksys AP/Router, model WRT54GS v.2 for network connections.  RW612 Wi-Fi works well with this device.  I have also tried a newer AP/Router, NETGEAR model R6220.

 

The shell command "echo_tcp_server" works as designed as shown below which demonstrates the PHY got configured correctly and is functional.

 

SHELL>> echo_tcp_server 50000

 

Creating new socket.

Waiting for incoming connection.  Use end command to return...

ECHO_TCP_SERVER>>

Accepted connection

 

Echoing data. Use end command to return...

5B sent back.

 

 

For the "echo_tcp_server" command, I use the ncat command on my PC Command Window as shown below:

 

C:\Users\RonL>ncat -v 192.168.0.102 50000

Ncat: Version 7.98 ( https://nmap.org/ncat )

Ncat: Connected to 192.168.0.102:50000.

hello

hello

Ncat: 5 bytes sent, 5 bytes received in 22.89 seconds.

 

I can also use a Python program snippet to communicate with the "echo_tcp_server" as shown below:

 

s2 = socket.create_connection(("192.168.0.102", 50000))

while True:

  message = input("Input a message to send >")

  if message == "close":

    s2.close()

    break

  else:

    s2.send(message.encode())

 

All of this works well with the "echo_tcp_server" in example project "frdmrw612_lwip_ipv4_ipv6_echo_freertos".

 

However, if I now try to send something to a server using the "echo_tcp_client" command, the connection to the client never occurs.

 

Here is ncat on my Windows Command Window setup as a server:

 

C:\Users\RonL>ncat -v -l -p 50000

Ncat: Version 7.98 ( https://nmap.org/ncat )

Ncat: Listening on [::]:50000

Ncat: Listening on 0.0.0.0:50000

 

Here is the "echo_tcp_client 192.168.0.100 50000" command executed on the RW612 board:

 

SHELL>> echo_tcp_client 192.168.0.100 50000

 

Creating new socket.

Connecting...

Connecting failed. errno=103

 

As can be seen, the connection never takes place from the RW612 generating the error #103 (software error).

 

A similar Python snippet below behaves the same way.

 

with socket.create_server(("", 50000)) as s:

  #s.setblocking(False)

  s.listen(1)

  while True:

    print("Waiting for client to send a message")

    comm, addr = s.accept()

    while data := comm.recv(1024):

      print("[{}] {}".format(addr[0], data.decode()))

 

 

I am certain that the ncat commands that I am using are correct as well as the Python program code snippets because these all work with the example project "frdmrw612_wifi_ipv4_ipv6_echo" for both server and client connections.  This project does not use the PHY.

 

The above error with the "echo_tcp_client" seems to be generated in the lwip command "lwip_connect()".  This command then calls the function "netconn_connect()"  It is in this function that I see a delay followed by the error 103.

 

There should be no doubt that the router and cables that I am using are all functional because data is transmitted correctly with the "echo_tcp_server" command.  I can successfully ping the RW612 board from the Windows Command window.

 

Can you help me determine the code to fix in this project to get the "echo_tcp_client" working?

 

Thanks,

 

Dr_Ron

0 项奖励
回复
7 回复数

301 次查看
RomanVR
NXP Employee
NXP Employee

Hi @Dr_Ron, sorry for the delay.

Would you please share logs of the serial terminal of the behavior that you are watching when trying to connect as client?

Thank you!

Best Regards!
0 项奖励
回复

278 次查看
Dr_Ron
Contributor I

RomanVR:

 
I have already provided you with all the serial logs associated with this "echo_tcp_client" problem with LwIP on the RW612.
 
Here is the main serial output when the problem occurs:
 
SHELL>> echo_tcp_client 192.168.0.100 50000
Connecting...
Connecting failed. errno=103.
 
For your information, I have been exploring possible issues with FreeRTOS.  This project appears to not set a reasonable heap size.  I recently changed the FreeRTOS heap size to 100,000 and changed to heap scheme 4 as shown below.  However, this did not fix the problem.  I am now exploring possible issues with LwIP and its configuration.
 
In file: "FreeRTOSConfig_Gen.h"
#define configTOTAL_HEAP_SIZE 100000
#define configFRTOS_MEMORY_SCHEME 4
 
Thanks for addressing this issue.  I hope that we can find a solution to it.
 
Dr_Ron
0 项奖励
回复

259 次查看
RomanVR
NXP Employee
NXP Employee

Hello @Dr_Ron.

Sorry for not being clear before, I meant to ask you to please share logs with debug macros enabled to have a better insight of this behavior.

You may enable these debugging macros in the lwipopts_gen.h file inside the source folder of the project.

Thank you.

Best Regards!
0 项奖励
回复

254 次查看
Dr_Ron
Contributor I

@RomanVR

You are going to have to tell me which of the hundred or so defines in the lwipopts_gen.h file to enable/disable or send me a copy of your file for me to use.  I don't know which ones to change to enable the logging that you want.

0 项奖励
回复

203 次查看
RomanVR
NXP Employee
NXP Employee

Hello @Dr_Ron.

Would you please confirm if the tests that you have been doing were done with a corporate computer? Sometimes corporate devices are secured, and this may be causing the connection abortion.

I have tried to run the example with my personal laptop, and I was able to connect the board with the echo_tcp_client command. 

RomanVR_0-1777584986659.png

 

Best Regards!
0 项奖励
回复

189 次查看
Dr_Ron
Contributor I

Hello @RomanVR 

I am using my personal computer for these tests not a corporate computer.  Also, my router is on my desktop and is ONLY connected to the PC and the RW612 board.  I'm pretty sure that all of the IP addresses are correct.

What seems strange here is that the equivalent WiFi project has both the server and client echo tests working.  Also, the example HTTP Server project works perfectly, demonstrating that to/from communications with the RW612 board are working.

Let me try a different PC and a different router to see if I can get the echo_tcp_client to work.

Please be aware that the error message that is being generated on my system is not a "connection" error.  It is a "software" error.

Let me get back to you after a few more experiments.

@Dr_Ron

0 项奖励
回复

4 次查看
Dr_Ron
Contributor I

Hello again @RomanVR 

 

I have determined the problem associated with "echo_tcp_client" command in the LwIP Echo project.

 

The problem is due to the IP address that NXP is using for the RW612 board.  This fixed address is located in file "app.h" and is currently set to 192.168.0.102.

 

The problem that I believe with using this address is that some AP/Routers use this address internally and causes a conflict when the RW612 board tries to use this address.

 

When I set this address to 192.168.1.102, everything is now working.  Also, using this address in the LwIP Ping project makes that project start to work also.

 

The reason that the original IP board address of 192.168.0.102 works for your team is because your AP/Routers behave differently than the two IP/Routers that I have.

 

NXP may want to consider updating the LwIP projects in the next SDK so that others don't experience this problem.

 

The RW612 board is an awesome board using the M33 processor and the external flash memory.  The fact that it does both 2.4 and 5 MHz allows for a lot of wireless flexibility that your competitors don't have.

 

Thanks for your help.

 

@Dr_Ron 

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2353393%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERW612%20echoo_tcp_client%20Lwip%20%E8%BF%9E%E6%8E%A5%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2353393%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%9C%A8%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE%20%22%20frdmrw612_lwip_ipv4_ipv4_ipv4_ipv6_ipv6_epv6_echo_freertos%20%22%20%E4%B8%AD%EF%BC%8C%E6%88%91%E6%97%A0%E6%B3%95%E8%8E%B7%E5%BE%97%20shell%20%E5%91%BD%E4%BB%A4%20%22%20echo_tcp_client%20%22%20%E6%9D%A5%E4%BD%BF%E7%94%A8%20FRDM-RW612%20%E5%BC%80%E5%8F%91%E6%9D%BF%E8%BF%9E%E6%8E%A5%E7%94%B5%E8%84%91%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%20MCUXpresso%20IDE%20v25.6%20%E7%89%88%E6%9C%AC%E3%80%82%20%E6%88%91%E8%BF%98%E5%9C%A8%20RW612%20%E4%B8%BB%E6%9D%BF%E4%B8%8A%E4%BD%BF%E7%94%A8%20SDK%20%E7%9A%84%2026-03-00%20%E7%89%88%E6%9C%AC%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%88%91%E7%9A%84%E7%94%B5%E8%84%91%E7%9A%84%E5%9B%BA%E5%AE%9A%20IP%20%E5%9C%B0%E5%9D%80%E6%98%AF%20196.168.0.100%E3%80%82%20RW612%20%E6%9D%BF%E4%BD%BF%E7%94%A8%E5%9C%B0%E5%9D%80%20198.168.0.102%E3%80%82%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%2050000%20%E7%AB%AF%E5%8F%A3%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%88%91%E4%BD%BF%E7%94%A8%E5%9E%8B%E5%8F%B7%E4%B8%BA%20WRT54GS%20v.2%20%E7%9A%84%E8%80%81%E5%BC%8F%20Linksys%20%E6%8E%A5%E5%85%A5%E7%82%B9%2F%E8%B7%AF%E7%94%B1%E5%99%A8%E8%BF%9B%E8%A1%8C%E7%BD%91%E7%BB%9C%E8%BF%9E%E6%8E%A5%E3%80%82%20RW612%20Wi-Fi%20%E5%9C%A8%E8%BF%99%E6%AC%BE%E8%AE%BE%E5%A4%87%E4%B8%8A%E8%BF%90%E8%A1%8C%E8%89%AF%E5%A5%BD%E3%80%82%E6%88%91%E8%BF%98%E5%B0%9D%E8%AF%95%E4%BA%86%E4%B8%80%E6%AC%BE%E8%BE%83%E6%96%B0%E7%9A%84%20AP%2F%E8%B7%AF%E7%94%B1%E5%99%A8%EF%BC%8CNETGEAR%20%E5%9E%8B%E5%8F%B7%E4%B8%BA%20R6220%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Eshell%20%E5%91%BD%E4%BB%A4%22echo_tcp_server%22%20%E5%A6%82%E4%B8%8B%E5%9B%BE%E6%89%80%E7%A4%BA%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%EF%BC%8C%E8%BF%99%E8%A1%A8%E6%98%8E%20PHY%20%E5%B7%B2%E6%AD%A3%E7%A1%AE%E9%85%8D%E7%BD%AE%E5%B9%B6%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESHELL%26gt%3B%26gt%3B%20echoo_tcp_server%2050000%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E5%88%9B%E5%BB%BA%E6%96%B0%E6%8F%92%E5%BA%A7%E3%80%82%3C%2FP%3E%3CP%3E%E7%AD%89%E5%BE%85%E8%BE%93%E5%85%A5%E8%BF%9E%E6%8E%A5%E3%80%82%20%E4%BD%BF%E7%94%A8%E7%BB%93%E6%9D%9F%E5%91%BD%E4%BB%A4%E8%BF%94%E5%9B%9E%3C%2FP%3E%3CP%3Eechoo_tcp_server%26gt%3B%26gt%3B%3C%2FP%3E%3CP%3E%E6%8E%A5%E5%8F%97%E8%BF%9E%E6%8E%A5%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E5%9B%9E%E5%A3%B0%E6%95%B0%E6%8D%AE%E3%80%82%E4%BD%BF%E7%94%A8%E7%BB%93%E6%9D%9F%E5%91%BD%E4%BB%A4%E8%BF%94%E5%9B%9E%3C%2FP%3E%3CP%3E5B%20%E9%80%81%E5%9B%9E%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%E5%AF%B9%E4%BA%8E%22echo_tcp_server%22%20%E5%91%BD%E4%BB%A4%EF%BC%8C%E6%88%91%E4%BD%BF%E7%94%A8%20PC%20%E5%91%BD%E4%BB%A4%E7%AA%97%E5%8F%A3%E4%B8%AD%E7%9A%84%20ncat%20%E5%91%BD%E4%BB%A4%EF%BC%8C%E5%A6%82%E4%B8%8B%E5%9B%BE%E6%89%80%E7%A4%BA%EF%BC%9A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EC%3A%5CUsers%5CRonL%26gt%3Bncat%20-v%20192.168.0.102%2050000%3C%2FP%3E%3CP%3ENcat%EF%BC%9A7.98%20%E7%89%88%20(%3CA%20href%3D%22https%3A%2F%2Fnmap.org%2Fncat%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fnmap.org%2Fncat%3C%2FA%3E)%3C%2FP%3E%3CP%3ENcat%EF%BC%9A%E8%BF%9E%E6%8E%A5%E5%88%B0%20192.168.0.102%3A50000%E3%80%82%3C%2FP%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3C%2FP%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3C%2FP%3E%3CP%3ENcat%EF%BC%9A%E5%B7%B2%E5%8F%91%E9%80%81%205%20%E5%AD%97%E8%8A%82%EF%BC%8C%E5%9C%A8%2022.89%20%E7%A7%92%E5%86%85%E6%8E%A5%E6%94%B6%205%20%E5%AD%97%E8%8A%82%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%88%91%E8%BF%98%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%20Python%20%E7%A8%8B%E5%BA%8F%E7%89%87%E6%AE%B5%E4%B8%8E%22echo_tcp_server%22%20%E9%80%9A%E4%BF%A1%EF%BC%8C%E5%A6%82%E4%B8%8B%E6%89%80%E7%A4%BA%EF%BC%9A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Es2%20%3D%20socket.create_connection((%22192.168.0.102%22%2C%2050000))%3C%2FP%3E%3CP%3Ewhile%20True%EF%BC%9A%3C%2FP%3E%3CP%3E%20%20message%20%3D%20input(%22%E8%BE%93%E5%85%A5%E8%A6%81%E5%8F%91%E9%80%81%E7%9A%84%E4%BF%A1%E6%81%AF%26gt%3B%22%20)%3C%2FP%3E%3CP%3E%20%20if%20message%20%3D%3D%22close%22%20%EF%BC%9A%3C%2FP%3E%3CP%3E%20%20%20%20s2.close()%3C%2FP%3E%3CP%3E%20%20%20%20%E6%96%AD%E8%A3%82%3C%2FP%3E%3CP%3E%20%20%E5%90%A6%E5%88%99%3C%2FP%3E%3CP%3E%20%20%20%20s2.send(message.encode())%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%89%80%E6%9C%89%E8%BF%99%E4%BA%9B%E9%83%BD%E4%B8%8E%22echo_tcp_server%22%20%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE%22frdmrw612_lwip_ipv4_ipv6_echo_freertos%22%20%E9%85%8D%E5%90%88%E5%BE%97%E5%BE%88%E5%A5%BD%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E4%BD%86%E6%98%AF%EF%BC%8C%E5%A6%82%E6%9E%9C%E6%88%91%E7%8E%B0%E5%9C%A8%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%22echo_tcp_client%22%20%E5%91%BD%E4%BB%A4%E5%90%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%8F%91%E9%80%81%E5%86%85%E5%AE%B9%EF%BC%8C%E4%B8%8E%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%9A%84%E8%BF%9E%E6%8E%A5%E5%B0%B1%E6%B0%B8%E8%BF%9C%E4%B8%8D%E4%BC%9A%E5%8F%91%E7%94%9F%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%BF%99%E6%98%AF%E5%9C%A8%E6%88%91%E7%9A%84%20Windows%20%E5%91%BD%E4%BB%A4%E7%AA%97%E5%8F%A3%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E5%AE%89%E8%A3%85%E7%9A%84%20ncat%EF%BC%9A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EC%3A%5CUsers%5CRonL%26gt%3Bncat%20-v%20-l%20-p%2050000%3C%2FP%3E%3CP%3ENcat%EF%BC%9A7.98%20%E7%89%88%20(%3CA%20href%3D%22https%3A%2F%2Fnmap.org%2Fncat%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fnmap.org%2Fncat%3C%2FA%3E)%3C%2FP%3E%3CP%3ENcat%EF%BC%9A%E7%9B%91%E5%90%AC%20%5B%3A%3A%5D%3A50000%3C%2FP%3E%3CP%3ENcat%EF%BC%9A%E7%9B%91%E5%90%AC%200.0.0.0%3A50000%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E4%BB%A5%E4%B8%8B%E6%98%AF%E5%9C%A8%20RW612%20%E6%9D%BF%20%E4%B8%8A%E6%89%A7%E8%A1%8C%E7%9A%84%20%22%20echo_tcp_client%20192.168.0.100%2050000%20%22%20%E5%91%BD%E4%BB%A4%EF%BC%9A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESHELL%26gt%3B%26gt%3B%20echoo_tcp_client%20192.168.0.100%2050000%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E5%88%9B%E5%BB%BA%E6%96%B0%E6%8F%92%E5%BA%A7%E3%80%82%3C%2FP%3E%3CP%3E%E8%BF%9E%E6%8E%A5...%3C%2FP%3E%3CP%3E%E8%BF%9E%E6%8E%A5%E5%A4%B1%E8%B4%A5%E3%80%82errno%3D103%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E4%BB%8E%E5%9B%BE%E4%B8%AD%E5%8F%AF%E4%BB%A5%E7%9C%8B%E5%87%BA%EF%BC%8CRW612%20%E4%BB%8E%E6%9C%AA%E8%BF%9B%E8%A1%8C%E8%BF%87%E8%BF%9E%E6%8E%A5%EF%BC%8C%E4%BB%8E%E8%80%8C%E4%BA%A7%E7%94%9F%E4%BA%86%E9%94%99%E8%AF%AF%20%23103%EF%BC%88%E8%BD%AF%E4%BB%B6%E9%94%99%E8%AF%AF%EF%BC%89%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E4%B8%8B%E9%9D%A2%E4%B8%80%E4%B8%AA%E7%B1%BB%E4%BC%BC%E7%9A%84%20Python%20%E4%BB%A3%E7%A0%81%E6%AE%B5%E4%B9%9F%E6%98%AF%E5%A6%82%E6%AD%A4%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E7%94%A8%20socket.create_server((%22%22%20%E3%80%8150000))%20%E4%BD%9C%E4%B8%BA%20s%EF%BC%9A%3C%2FP%3E%3CP%3E%20%20%23s.setblocking(False)%3C%2FP%3E%3CP%3E%20%20s.listen(1)%3C%2FP%3E%3CP%3E%20%20while%20True%EF%BC%9A%3C%2FP%3E%3CP%3E%20%20%20%20print(%22%E7%AD%89%E5%BE%85%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%91%E9%80%81%E4%BF%A1%E6%81%AF%22)%3C%2FP%3E%3CP%3E%20%20%20%20comm%E3%80%81addr%20%3D%20s.accept()%3C%2FP%3E%3CP%3E%20%20%20%20while%20data%20%3A%3D%20comm.recv(1024)%EF%BC%9A%3C%2FP%3E%3CP%3E%20%20%20%20%20%20print(%22%5B%7B%7D%5D%20%7B%7D%22.format(addr%5B0%5D%E3%80%81data.decode())%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%E6%88%91%E7%A1%AE%E4%BF%A1%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%20ncat%20%E5%91%BD%E4%BB%A4%E5%92%8C%20Python%20%E7%A8%8B%E5%BA%8F%E4%BB%A3%E7%A0%81%E7%89%87%E6%AE%B5%E9%83%BD%E6%98%AF%E6%AD%A3%E7%A1%AE%E7%9A%84%EF%BC%8C%E5%9B%A0%E4%B8%BA%E8%BF%99%E4%BA%9B%E5%91%BD%E4%BB%A4%E5%92%8C%E4%BB%A3%E7%A0%81%E7%89%87%E6%AE%B5%E9%83%BD%E8%83%BD%E5%9C%A8%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE%22frdmrw612_wifi_ipv4_ipv6_echo%22%20%E4%B8%AD%E7%94%A8%E4%BA%8E%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%92%8C%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%BF%9E%E6%8E%A5%E3%80%82%20%E6%9C%AC%E9%A1%B9%E7%9B%AE%E4%B8%8D%E4%BD%BF%E7%94%A8%20PHY%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%22echoo_tcp_client%22%20%E7%9A%84%E4%B8%8A%E8%BF%B0%E9%94%99%E8%AF%AF%E4%BC%BC%E4%B9%8E%E6%98%AF%E5%9C%A8%20lwip%20%E5%91%BD%E4%BB%A4%22lwip_connect()%22%20%E4%B8%AD%E4%BA%A7%E7%94%9F%E7%9A%84%E3%80%82%20%E7%84%B6%E5%90%8E%EF%BC%8C%E8%AF%A5%E5%91%BD%E4%BB%A4%E8%B0%83%E7%94%A8%E5%87%BD%E6%95%B0%22netconn_connect()%22%20%E5%9C%A8%E8%AF%A5%E5%87%BD%E6%95%B0%E4%B8%AD%EF%BC%8C%E6%88%91%E7%9C%8B%E5%88%B0%E4%BA%86%E4%B8%80%E4%B8%AA%E5%BB%B6%E8%BF%9F%EF%BC%8C%E9%9A%8F%E5%90%8E%E5%87%BA%E7%8E%B0%E4%BA%86%E9%94%99%E8%AF%AF%20103%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%AF%AB%E6%97%A0%E7%96%91%E9%97%AE%EF%BC%8C%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E8%B7%AF%E7%94%B1%E5%99%A8%E5%92%8C%E7%94%B5%E7%BC%86%E9%83%BD%E6%98%AF%E6%AD%A3%E5%B8%B8%E7%9A%84%EF%BC%8C%E5%9B%A0%E4%B8%BA%E4%BD%BF%E7%94%A8%22echo_tcp_server%22%20%E5%91%BD%E4%BB%A4%E5%8F%AF%E4%BB%A5%E6%AD%A3%E7%A1%AE%E4%BC%A0%E8%BE%93%E6%95%B0%E6%8D%AE%E3%80%82%20%E6%88%91%E5%8F%AF%E4%BB%A5%E6%88%90%E5%8A%9F%E5%9C%B0%E4%BB%8E%20Windows%20%E5%91%BD%E4%BB%A4%E8%A1%8C%E7%AA%97%E5%8F%A3%E6%89%A7%E8%A1%8C%20ping%20RW612%20%E4%B8%BB%E6%9D%BF%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%82%A8%E8%83%BD%E5%B8%AE%E6%88%91%E7%A1%AE%E5%AE%9A%E9%9C%80%E8%A6%81%E5%9C%A8%E8%BF%99%E4%B8%AA%E9%A1%B9%E7%9B%AE%E4%B8%AD%E4%BF%AE%E6%94%B9%E5%93%AA%E4%BA%9B%E4%BB%A3%E7%A0%81%EF%BC%8C%E4%BB%A5%E4%BD%BF%22echoo_tcp_client%22%20%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E5%90%97%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EDr_Ron%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2356753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RW612%20echo_tcp_client%20Lwip%20Connect%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2356753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%A8%EF%BC%8C%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261864%22%20target%3D%22_blank%22%3E%40Dr_Ron%3C%2FA%3E%EF%BC%8C%E6%8A%B1%E6%AD%89%E8%80%BD%E6%90%81%E4%BA%86%E3%80%82%3C%2FP%3E%0A%3CP%3E%E8%83%BD%E5%90%A6%E8%AF%B7%E6%82%A8%E5%88%86%E4%BA%AB%E5%9C%A8%E5%B0%9D%E8%AF%95%E4%BB%A5%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%BA%AB%E4%BB%BD%E8%BF%9E%E6%8E%A5%E6%97%B6%E8%A7%82%E5%AF%9F%E5%88%B0%E7%9A%84%E8%A1%8C%E4%B8%BA%E7%9A%84%E4%B8%B2%E8%A1%8C%E7%BB%88%E7%AB%AF%E6%97%A5%E5%BF%97%EF%BC%9F%3C%2FP%3E%0A%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2358121%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RW612%20echo_tcp_client%20Lwip%20Connect%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2358121%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261864%22%20target%3D%22_blank%22%3E%40Dr_Ron%3C%2FA%3E%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%AF%B9%E4%B8%8D%E8%B5%B7%EF%BC%8C%E6%88%91%E4%B9%8B%E5%89%8D%E6%B2%A1%E8%AF%B4%E6%B8%85%E6%A5%9A%EF%BC%8C%E6%88%91%E7%9A%84%E6%84%8F%E6%80%9D%E6%98%AF%E8%AF%B7%E6%82%A8%E5%85%B1%E4%BA%AB%E5%90%AF%E7%94%A8%E4%BA%86%E8%B0%83%E8%AF%95%E5%AE%8F%E7%9A%84%E6%97%A5%E5%BF%97%EF%BC%8C%E4%BB%A5%E4%BE%BF%E6%9B%B4%E5%A5%BD%E5%9C%B0%E4%BA%86%E8%A7%A3%E8%BF%99%E7%A7%8D%E8%A1%8C%E4%B8%BA%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%3CSTRONG%3Elwipopts_gen.h%20%3C%2FSTRONG%3E%E4%B8%AD%E5%90%AF%E7%94%A8%E8%BF%99%E4%BA%9B%E8%B0%83%E8%AF%95%E5%AE%8F%E3%80%82%20%E6%96%87%E4%BB%B6%E3%80%82%3C%2FP%3E%0A%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2358004%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RW612%20echo_tcp_client%20Lwip%20Connect%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2358004%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3ERomanVR%EF%BC%9A%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%E6%88%91%E5%B7%B2%E7%BB%8F%E5%90%91%E6%82%A8%E6%8F%90%E4%BE%9B%E4%BA%86%E4%B8%8E%22echo_tcp_client%22%20%E4%B8%8E%20RW612%20%E4%B8%8A%20LwIP%20%E9%97%AE%E9%A2%98%E7%9B%B8%E5%85%B3%E7%9A%84%E6%89%80%E6%9C%89%E4%B8%B2%E8%A1%8C%E6%97%A5%E5%BF%97%E3%80%82%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%E4%BB%A5%E4%B8%8B%E6%98%AF%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98%E6%97%B6%E7%9A%84%E4%B8%BB%E8%A6%81%E4%B8%B2%E8%A1%8C%E8%BE%93%E5%87%BA%EF%BC%9A%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3ESHELL%26gt%3B%26gt%3B%20echoo_tcp_client%20192.168.0.100%2050000%3C%2FDIV%3E%3CDIV%3E%E8%BF%9E%E6%8E%A5...%3C%2FDIV%3E%3CDIV%3E%E8%BF%9E%E6%8E%A5%E5%A4%B1%E8%B4%A5%E3%80%82errno%3D103%E3%80%82%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%E6%88%91%E4%B8%80%E7%9B%B4%E5%9C%A8%E6%8E%A2%E7%B4%A2%20FreeRTOS%20%E5%8F%AF%E8%83%BD%E5%AD%98%E5%9C%A8%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E4%BE%9B%E5%A4%A7%E5%AE%B6%E5%8F%82%E8%80%83%E3%80%82%20%E8%AF%A5%E9%A1%B9%E7%9B%AE%E4%BC%BC%E4%B9%8E%E6%B2%A1%E6%9C%89%E8%AE%BE%E7%BD%AE%E5%90%88%E7%90%86%E7%9A%84%E5%A0%86%E5%A4%A7%E5%B0%8F%E3%80%82%20%E6%88%91%E6%9C%80%E8%BF%91%E5%B0%86%20FreeRTOS%20%E5%A0%86%E5%A4%A7%E5%B0%8F%E6%94%B9%E4%B8%BA%20100%2C000%EF%BC%8C%E5%B9%B6%E6%94%B9%E7%94%A8%E5%A0%86%E6%96%B9%E6%A1%88%204%EF%BC%8C%E5%A6%82%E4%B8%8B%E5%9B%BE%E6%89%80%E7%A4%BA%E3%80%82%20%E7%84%B6%E8%80%8C%EF%BC%8C%E8%BF%99%E5%B9%B6%E6%B2%A1%E6%9C%89%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98%E3%80%82%20%E6%88%91%E7%8E%B0%E5%9C%A8%E6%AD%A3%E5%9C%A8%E6%8E%A2%E7%B4%A2%20LwIP%20%E5%8F%8A%E5%85%B6%E9%85%8D%E7%BD%AE%E5%8F%AF%E8%83%BD%E5%AD%98%E5%9C%A8%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%E6%96%87%E4%BB%B6%E4%B8%AD%EF%BC%9A%22FreeRTOSConfig_Gen.h%22%3C%2FDIV%3E%3CDIV%3E%23define%20configTOTAL_HEAP_SIZE%20100000%3CBR%20%2F%3E%23define%20configFRTOS_MEMORY_SCHEME%204%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E8%A7%A3%E5%86%B3%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E3%80%82%20%E6%88%91%E5%B8%8C%E6%9C%9B%E6%88%91%E4%BB%AC%E8%83%BD%E6%89%BE%E5%88%B0%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95%E3%80%82%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EDr_Ron%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2358135%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RW612%20echo_tcp_client%20Lwip%20Connect%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2358135%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F243613%22%20target%3D%22_blank%22%3E%40RomanVR%3C%2FA%3E%3C%2FP%3E%3CP%3E%E4%BD%A0%E5%BF%85%E9%A1%BB%E5%91%8A%E8%AF%89%E6%88%91%EF%BC%8C%E5%9C%A8%20lwipopts_gen.h%20%E4%B8%AD%E7%9A%84%E4%B8%80%E7%99%BE%E5%A4%9A%E4%B8%AA%E5%AE%9A%E4%B9%89%E4%B8%AD%EF%BC%8C%E5%93%AA%E4%B8%AA%E6%98%AF%E4%BD%A0%E9%9C%80%E8%A6%81%E7%9A%84%E3%80%82%E6%96%87%E4%BB%B6%E6%9D%A5%E5%90%AF%E7%94%A8%2F%E7%A6%81%E7%94%A8%EF%BC%8C%E6%88%96%E8%80%85%E5%B0%86%E6%82%A8%E7%9A%84%E6%96%87%E4%BB%B6%E6%8B%B7%E8%B4%9D%E5%8F%91%E7%BB%99%E6%88%91%E4%BD%BF%E7%94%A8%E3%80%82%20%E6%88%91%E4%B8%8D%E7%9F%A5%E9%81%93%E8%A6%81%E6%9B%B4%E6%94%B9%E5%93%AA%E4%BA%9B%E9%80%89%E9%A1%B9%E6%89%8D%E8%83%BD%E5%90%AF%E7%94%A8%E6%82%A8%E6%83%B3%E8%A6%81%E7%9A%84%E6%97%A5%E5%BF%97%E8%AE%B0%E5%BD%95%E5%8A%9F%E8%83%BD%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2359484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RW612%20echo_tcp_client%20Lwip%20Connect%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2359484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261864%22%20target%3D%22_blank%22%3E%40Dr_Ron%3C%2FA%3E%E3%80%82%3C%2FP%3E%0A%3CP%3E%E8%AF%B7%E7%A1%AE%E8%AE%A4%E6%82%A8%E6%89%80%E5%81%9A%E7%9A%84%E6%B5%8B%E8%AF%95%E6%98%AF%E5%90%A6%E6%98%AF%E5%9C%A8%E5%85%AC%E5%8F%B8%E7%94%B5%E8%84%91%E4%B8%8A%E8%BF%9B%E8%A1%8C%E7%9A%84%EF%BC%9F%E6%9C%89%E6%97%B6%E5%85%AC%E5%8F%B8%E8%AE%BE%E5%A4%87%E6%98%AF%E5%AE%89%E5%85%A8%E7%9A%84%EF%BC%8C%E8%BF%99%E5%8F%AF%E8%83%BD%E4%BC%9A%E5%AF%BC%E8%87%B4%E8%BF%9E%E6%8E%A5%E4%B8%AD%E6%AD%A2%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%88%91%E8%AF%95%E8%BF%87%E7%94%A8%E6%88%91%E7%9A%84%E4%B8%AA%E4%BA%BA%E7%AC%94%E8%AE%B0%E6%9C%AC%E7%94%B5%E8%84%91%E8%BF%90%E8%A1%8C%E8%BF%99%E4%B8%AA%E4%BE%8B%E5%AD%90%EF%BC%8C%E6%88%91%E8%83%BD%E5%A4%9F%E7%94%A8%20echo_tcp_client%20%E5%91%BD%E4%BB%A4%E8%BF%9E%E6%8E%A5%E4%B8%BB%E6%9D%BF%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RomanVR_0-1777584986659.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22RomanVR_0-1777584986659.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22RomanVR_0-1777584986659.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F384201i9553F146EDD79147%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22RomanVR_0-1777584986659.png%22%20alt%3D%22RomanVR_0-1777584986659.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2359507%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RW612%20echo_tcp_client%20Lwip%20Connect%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2359507%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F243613%22%20target%3D%22_blank%22%3E%40RomanVR%3C%2FA%3E%3C%2FP%3E%3CP%3E%E6%88%91%E4%BD%BF%E7%94%A8%E4%B8%AA%E4%BA%BA%E7%94%B5%E8%84%91%E8%BF%9B%E8%A1%8C%E6%B5%8B%E8%AF%95%EF%BC%8C%E8%80%8C%E4%B8%8D%E6%98%AF%E5%85%AC%E5%8F%B8%E7%94%B5%E8%84%91%E3%80%82%20%E5%8F%A6%E5%A4%96%EF%BC%8C%E6%88%91%E7%9A%84%E8%B7%AF%E7%94%B1%E5%99%A8%E5%9C%A8%E6%88%91%E7%9A%84%E5%8F%B0%E5%BC%8F%E6%9C%BA%E4%B8%8A%EF%BC%8C%E5%8F%AA%E8%83%BD%E8%BF%9E%E6%8E%A5%E5%88%B0%20PC%20%E5%92%8C%20RW612%20%E6%9D%BF%E3%80%82%E6%88%91%E9%9D%9E%E5%B8%B8%E7%A1%AE%E5%AE%9A%E6%89%80%E6%9C%89%E7%9A%84%20IP%20%E5%9C%B0%E5%9D%80%E9%83%BD%E6%98%AF%E6%AD%A3%E7%A1%AE%E7%9A%84%E3%80%82%3C%2FP%3E%3CP%3E%E5%A5%87%E6%80%AA%E7%9A%84%E6%98%AF%EF%BC%8C%E7%AD%89%E6%95%88%E7%9A%84%20WiFi%20%E9%A1%B9%E7%9B%AE%E7%9A%84%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%92%8C%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%9B%9E%E5%A3%B0%E6%B5%8B%E8%AF%95%E9%83%BD%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E3%80%82%20%E6%AD%A4%E5%A4%96%EF%BC%8C%E7%A4%BA%E4%BE%8B%20HTTP%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%A1%B9%E7%9B%AE%E8%BF%90%E8%A1%8C%E8%89%AF%E5%A5%BD%EF%BC%8C%E8%A1%A8%E6%98%8E%E4%B8%8E%20RW612%20%E6%9D%BF%E7%9A%84%E5%BE%80%E8%BF%94%E9%80%9A%E4%BF%A1%E6%98%AF%E6%AD%A3%E5%B8%B8%E7%9A%84%E3%80%82%3C%2FP%3E%3CP%3E%E8%AE%A9%E6%88%91%E6%8D%A2%E5%8F%B0%E7%94%B5%E8%84%91%E5%92%8C%E8%B7%AF%E7%94%B1%E5%99%A8%E8%AF%95%E8%AF%95%EF%BC%8C%E7%9C%8B%E8%83%BD%E5%90%A6%E8%AE%A9%20echoo_tcp_client%20%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E3%80%82%3C%2FP%3E%3CP%3E%E8%AF%B7%E6%B3%A8%E6%84%8F%EF%BC%8C%E5%9C%A8%E6%88%91%E7%9A%84%E7%B3%BB%E7%BB%9F%E4%B8%8A%E7%94%9F%E6%88%90%E7%9A%84%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E4%B8%8D%E6%98%AF%22connection%22%20%E9%94%99%E8%AF%AF%E3%80%82%20%E8%BF%99%E6%98%AF%22%E8%BD%AF%E4%BB%B6%22%20%E9%94%99%E8%AF%AF%E3%80%82%3C%2FP%3E%3CP%3E%E5%86%8D%E5%81%9A%E5%87%A0%E6%AC%A1%E5%AE%9E%E9%AA%8C%E5%90%8E%EF%BC%8C%E6%88%91%E5%86%8D%E7%BB%99%E4%BD%A0%E7%AD%94%E5%A4%8D%E3%80%82%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261864%22%20target%3D%22_blank%22%3E%40Dr_Ron%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E