LWIP on S32R45 not working as a client

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

LWIP on S32R45 not working as a client

Jump to solution
1,890 Views
A-Jay
Contributor III

I use the example program LWIP_S32R45, which is configured as tcpecho and can be sent and received normally through NETCONN API. However, I only modify the code in tcpecho.c file When other configurations remain unchanged, EVB is used as the client and PC as the server. The netconn_connect() function keeps failing to connect and returns -13. Can you tell me why?

AJay_0-1673334735168.png

 

AJay_1-1673334774014.png

 

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
1,821 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Here is the feedback from application team:

1. check PC firewall settings, use tcp_echo function to see if your PC can send and receive data.
2. check server configuration: working mode, port, ip.

Best regards,

Peter

View solution in original post

5 Replies
1,822 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Here is the feedback from application team:

1. check PC firewall settings, use tcp_echo function to see if your PC can send and receive data.
2. check server configuration: working mode, port, ip.

Best regards,

Peter

1,869 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you share name of your company, so I can ask application team for help here?

Was the original example code working for you? And it start failing after you modified the code?

Best regards,

Peter

0 Kudos
Reply
1,860 Views
A-Jay
Contributor III

Hi,

The original sample code works fine, but the original sample code is server-side code, and my requirements are client-side applications. My code uses EVB as a client based on the original configuration, simply by calling netconn_new() and netconn_connect() of the netconn API and adding the output function netconn_write() as validation. However, I can't seem to receive the ACK frame through wireshark tool. I am sure there is no problem with the server.

At present, I guess the reason may be that some configurations of the sample code need to be modified to solve the problem. I hope you can get help and reply from the application team as soon as possible.

Thanks!

AJay_0-1673501691712.png

AJay_1-1673501980621.png

 

0 Kudos
Reply
1,855 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am not able to enter ticket in internal system unless I know your company name.

Not every customer is supported on application level.

And since you modified the NXP demo code, this is application issue.

Best regards,

Peter

0 Kudos
Reply
1,845 Views
A-Jay
Contributor III

I sent you a message through the private message function of the website, please check!

0 Kudos
Reply