lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Recv UDP Problem


From: Mike Fleetwood
Subject: Re: [lwip-users] Recv UDP Problem
Date: Fri, 25 Nov 2016 20:41:59 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

Hi,

I'm just starting the same process - migrating from m4 to m7 (eventually h7).

Surely the cache memory gets invalidated automatically regardless of the source of writing to it?

Many thanks,

Mike (a different one!).


On 25/11/2016 16:35, Michael Steinberg wrote:
Hi,

You were reporting the same software works on m4 but fails to work reliably on m7. The most prominent difference that can cause issues between m4 and m7 is that the latter has data caches, where the former has none. Possible situation: The dma writes a frame to cached memory, the mcu data cache is not invalidated, interrupt is raised, the isr which polls the dma descriptor chain reads from memory but gets a cache hit and reads outdated data.

Michael


Am 25.11.2016 um 14:34 schrieb mgirke:
@Michael: What exactly do you mean?

no so far I am using two netconns, one for each task. but good to know
2.0.0. offers that.

thanks!



--
View this message in context: http://lwip.100.n7.nabble.com/Recv-UDP-Problem-tp27826p27900.html
Sent from the lwip-users mailing list archive at Nabble.com.

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

--
FACE Systems Ltd
The Old Boat House
Cadgwith
Cornwall TR12 7JX
T:01326 291031
M:07831 401464




reply via email to

[Prev in Thread] Current Thread [Next in Thread]