2026-05-25 9:23 PM - last edited on 2026-05-26 3:46 AM by Andrew Neil
Hi all ,
Im facing a issue in TCP/IP - Ethernet using LWIP on STM32H723ZGT6 [NUCLEO - H723ZG] , that i gave completed ethernet configuration , ping is good , wrote a tcp_echoserver and modified with my desired outputs , everything was a woking upto a certain level, and i cant RX and Tx and fall into hard fault (Added a Video of the output). I'll add the code file as a zip.
Kindly help me to resolve ii.
Thank You!!!.....
Solved! Go to Solution.
2026-05-26 3:51 AM
Thank you for all your reply,
I have resolved it , 2hrs ago forgot to mention in the community, the issue was i have mapped my LWIP Rx pool at 0x30000400 at 16KB (approximately ends at 0x30004400) and set my lwip heap at 0x30004000 so both of them are overlapped , so only i got hardfault , finnally found and resolved it by placing the heap @ 0x30005000.
2026-05-26 3:27 AM
Hopefully you developped und revison control, e.g. with GIT. Then you can bisect to find the bad commit...
2026-05-26 3:44 AM - edited 2026-05-26 3:49 AM
Debugging Cortex-M Hard Faults
LwIP debug & diagnostic options.
@Gokul_Sarvanakumar_60 wrote:everything was a woking upto a certain level, and i cant RX and Tx and fall into hard fault...
As @Uwe Bonnes said, go back to the last working version; examine carefully what you changed.
Use the above-mentioned LwIP debug & diagnostic options to compare & contrast what happens in the working & non-working cases ...
2026-05-26 3:51 AM
Thank you for all your reply,
I have resolved it , 2hrs ago forgot to mention in the community, the issue was i have mapped my LWIP Rx pool at 0x30000400 at 16KB (approximately ends at 0x30004400) and set my lwip heap at 0x30004000 so both of them are overlapped , so only i got hardfault , finnally found and resolved it by placing the heap @ 0x30005000.