2025-03-14 5:36 AM - last edited on 2025-03-14 6:00 AM by mƎALLEm
I am writing this post in case anybody encounters a similar problem.
I had a problem with assigning IP address to STM32F769I-DISCO devboard and communicating with it via Ethernet while using LwIP and FreeRTOS. The solution to this problem was disabling D-Cache in Cortex_M7 settings in STM32CubeMX. I don't know if I would ever think about trying this out if not for the old forum thread I found.
Solved! Go to Solution.
2025-03-14 5:43 AM - edited 2025-03-14 5:45 AM
Hello,
Disabling the cache is not a good solution because that decreases the overall system performance. But disable the cache on the a specific regions using MPU where the Tx/Rx descriptors and LWIP memory pool are located.
See for example this article on STM32H7 / section Cortex-M7 configuration.
2025-03-14 5:43 AM - edited 2025-03-14 5:45 AM
Hello,
Disabling the cache is not a good solution because that decreases the overall system performance. But disable the cache on the a specific regions using MPU where the Tx/Rx descriptors and LWIP memory pool are located.
See for example this article on STM32H7 / section Cortex-M7 configuration.
2025-03-14 6:21 AM
I remember trying out the MPU configuration in sample HTTP server program and it didn't work. It's possible that I did something incorrectly though.
2025-03-14 6:25 AM
@_AdamNtrx wrote:
I remember trying out the MPU configuration in sample HTTP server program and it didn't work. It's possible that I did something incorrectly though.
Yes I think so.
2025-03-14 7:18 AM