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!
Solved! Go to Solution.
2025-07-15 7:43 AM
Thanks, @STackPointer64 ,
Would you please let me know where it is mentioned about the Jumper setting for this application? SO that I will not miss these settings in the future.
2025-07-15 8:34 AM
The default position of Jumper JP5 is 3V3. If it needed to be changed to 1V8, it would have been explicitly stated in the README file with instructions such as "Make sure that Jumper JP5 is set to 1V8..."