LWIP Using ICache on STM32H723
Dear all,
I'm running the LWIP on a STM32H723 processor and need to enable the ICache and DCache within CubeMX. I'm also using DHCP which will only work when both caches are enabled. When I disable the ICache DHCP will timeout?
UDP stop working after a number of packets without any notification of the reason. This occurs when the ICache is enabled, this is the default configuration.
I managed to get bot ICMP and UDP (TCP) working by using the default CubeMX configuration and disable the ICache when DHCP has given an IP address. From then on I can transmit UDP packages without any problem.
Is there anyone who can explain what is going on? Why does the LWIP stack need the cache in the first place? Does the Ethernet HAL library use the Cache?
Enabling and disabling the ICache depending on the position in the software process really feels like a hack. I would like to understand what the reason is and how to solve it properly.
Thanks in advance,
Wim
