After the firmware of h743 sets MSS greater than 942, sending packets greater than 942 bytes will fail
If MSS is set to be less than 942, the sending process can transmit packets normally
I expect to set the MSS to a maximum of 1460 for normal Ethernet
Please help me, h743 Ethernet
-
- Posts: 61
- Joined: Fri Feb 15, 2019 9:22 am
Re: Please help me, h743 Ethernet
More tests are reported in the GitHub problem. Now it can be determined that the problem is not TCP, but the underlying problem
https://github.com/micropython/micropython/issues/7980
https://github.com/micropython/micropython/issues/7980
-
- Posts: 61
- Joined: Fri Feb 15, 2019 9:22 am
Re: Please help me, h743 Ethernet
After trying pybv11 + w5500, the LwIP system can correctly send 1460 TCP packets, so the restriction is more likely to exist in the ETH layer
However, the actual test speed of w5500 is very disappointing. The wired network speed is not as fast as that of esp32. The network Ping operation of h743 is 1ms, and the w5500 is close to 100ms on average, which is much larger than that of esp32
However, the actual test speed of w5500 is very disappointing. The wired network speed is not as fast as that of esp32. The network Ping operation of h743 is 1ms, and the w5500 is close to 100ms on average, which is much larger than that of esp32
-
- Posts: 61
- Joined: Fri Feb 15, 2019 9:22 am
Re: Please help me, h743 Ethernet
lwipopts.h
#define LWIP_CHECKSUM_CTRL_PER_NETIF 1 -> 0
It can solve the errors of large data packets
However, I believe that the ETH module of H7 can meet the checksum operation of large data packets. The problem should be the initialization setting
#define LWIP_CHECKSUM_CTRL_PER_NETIF 1 -> 0
It can solve the errors of large data packets
However, I believe that the ETH module of H7 can meet the checksum operation of large data packets. The problem should be the initialization setting