cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Sending Large Web Data Files via LWIP RTOS using STM32H5

Muk
Visitor

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:

2 REPLIES 2
Muk
Visitor

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.