2023-01-15 11:02 PM
I am trying to use LWIP on the STM32H723 Nucleo board to send and receive UDP packets. I have generated code using CubeMX version 6.70 and configured it to use LWIP with FreeRTOS. I have referred to the H7 series LWIP related problems and H723 address setting problems in this community. But when I run the project, it triggers the MemMange_Handler(void) and no longer proceeds. I believe the issue may be with the MPU configuration. If I don't set up MPU, the project runs, but I can't send or receive UDP packets. When I check packets using WireShark, I can only see ARP protocol when sending UDP packets. I would appreciate it if you could tell me the solution.
Solved! Go to Solution.
2023-01-17 12:26 AM
Hello @Daecheol and welcome to the Community :),
I advise you, when you configurated the LWIP, to get inspired form the steps described in this FAQ: How to create project for STM32H7 with Ethernet and LwIP stack working
Also, you can get started with the example provided here stm32-hotspot/STM32H7-LwIP-Examples: Ethernet examples using LwIP + FreeRTOS for STM32H7 Discovery and Nucleo boards (github.com).
I hope this helps!
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-01-17 12:26 AM
Hello @Daecheol and welcome to the Community :),
I advise you, when you configurated the LWIP, to get inspired form the steps described in this FAQ: How to create project for STM32H7 with Ethernet and LwIP stack working
Also, you can get started with the example provided here stm32-hotspot/STM32H7-LwIP-Examples: Ethernet examples using LwIP + FreeRTOS for STM32H7 Discovery and Nucleo boards (github.com).
I hope this helps!
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-01-19 12:48 AM
Thanks for your answer.
I checked the link above and it solved the problem. In stm32H723, MPU setting can be done as shown in the following figure.
thank you.
2023-01-19 01:04 AM
Hi @Daecheol,
Glad to know that issue is already fixed.
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.