Hello everyone,
I'm using LwIP application to send ADC data through Ethernet to a host PC in real time. The problem occurs when I turn on data cache to step up the performance. In this case application sends data well for a period of time (typically a few minutes, sometimes more) then the traffic drops to zero, and the application stalls in send() function. After a while it returns from send() with error code.
With a data cache disabled everything works fine.
As an experiment, I increased lwip thread stack size from 512 to 1024, but got __cplb_miss_without_replacement exception after a period of proper work. Exception comes from adi_pdd_Read function of Ethernet driver.
Is there any way to ensure safe working of LwIP application with data cache turned on?
Thanks in advance.