2025-07-12 1:25 AM - edited 2025-07-12 1:39 AM
I tried running the LwIP_TCP_Echo_Server app on the Nucleo Board H7S3L8 (MB1737-H7S3-L8-B02) using STM32CubeH7RS\Projects\NUCLEO-H7S3L8\Applications\LwIP\LwIP_TCP_Echo_Server sample code.
The code downloaded fine, but TCP communication didn’t work.
I started a DHCP server using Tftpd32 software, but the MCU didn’t get a DHCP IP and showed a static IP (192.168.0.10) instead.
I tried pinging the MCU’s static IP from my laptop using a straight Ethernet cable, but it failed.
I tested with both crossover and straight Ethernet cables and used a Wi-Fi modem/router as another DHCP server, but the result was the same.
I also tried other sample codes (LwIP_UDP_Echo_Client, LwIP_UDP_Echo_Server, LwIP_TCP_Echo_Client, LwIP_HTTP_Server_Raw), but the result was the same.
I followed the steps in the Readme file and enabled the XSPI2_HSLV=1 for high-speed I/O.
Did I miss any steps? Screenshots are attached for reference.
MCU Comm3 serial response
Ping request from Laptop to the MCU
Wireshark packet while sending echo command from Laptop to the MCU
DHCP server - PC utility TFTPD32
Laptop IP Address configuration
**System Information:**
-- Board: NUCLEO-H7S3L8 (MB1737-H7S3-L8-B02)
-- STM32CubeIDE: Version 1.17.0 (Build: 23558_20241155_2245)
-- STM32CubeMX: Version 6.13.0-RC5 (Build: 20241122-0809)
Any guidance would be greatly appreciated!
Thanks!
2025-07-12 1:27 AM - edited 2025-07-12 1:40 AM
Additional Screenshots
echo request from Laptop to the MCU
Main_h file
MCU Board Image