Andes Workshop

It is currently Tue Mar 19, 2024 6:40 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Data conflicts between DMA and cache
PostPosted: Thu Nov 17, 2016 12:54 pm 
Offline

Joined: Thu Apr 14, 2011 11:27 am
Posts: 20
If DMA moves data in your system and cache enable as well, you must do "cache flush" and "cache invalidate" as following:

[*]Data from Memory to IO
[*][*]Before DMA operation, execute cache flush
[*]Data from IO to Memory
[*][*]After DMA operation, execute cache invalidate


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group