2024-10-10 01:59 AM - last edited on 2024-10-10 02:26 AM by SofLit
I am currently working on a project using LWIP with RTOS to send large web data files. I am using the STM32H573VIT MCU. However, I have encountered an issue where I am unable to send the entire file at once. To resolve this, I divided the file into smaller packets of 1KB, which allows the transmission to succeed.
While this approach works initially, after reloading the webpage a few times, I experience a problem where the MCU stops responding after sending only a few packets. The transmission fails, and the program halts unexpectedly.
I would greatly appreciate your assistance in diagnosing and resolving this issue. Could you please guide me on possible reasons for this behavior and suggest any potential fixes?
I attached the lwip config file:
2024-10-10 03:00 AM
I found the cause and fixed it. The reason has nothing to do with the lwip config but because I mishandled the MCU's interrupt, leading to a memory overflow and the MCU being stopped at that task.
2024-10-10 03:51 AM
Good to know - please mark that as the solution:
https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256
2024-10-24 08:16 AM
Hello @Muk ,
Glad to hear you made it work but just for other users could you be more specific about the mishandling of MCU's interrupts ?
Regards