Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: copy memory to memory (kernel space) using DMA on AT91SAM9G2
PostPosted: Sat Feb 05, 2011 1:06 am 
Offline

Joined: Sat Feb 05, 2011 12:59 am
Posts: 1
Hello,

Is it possible copy memory to memory (kernel space) using DMA on AT91SAM9G20?
Is there any example?

Thanks!!


Top
 Profile  
 
 Post subject: Re: copy memory to memory (kernel space) using DMA on AT91SAM9G2
PostPosted: Mon Feb 07, 2011 9:29 am 
Offline

Joined: Wed Jan 26, 2011 2:03 pm
Posts: 3
Hi johnpaul,

Have a look at: http://lwn.net/Kernel/LDD3/ , chapter 15
for a description on how to use DMA generally in the linux kernel.

As for examples, I'm using the same chip, and during my perusal of the kernel source
I've noticed quite heavy DMA usage in the at91 macb (ethernet) driver:
http://lxr.free-electrons.com/source/drivers/net/macb.c

Regards
Erik Sandbraaten


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ 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: