On Tue, Oct 27, 2009 at 11:20:59, Viral Sachde wrote:
> On Mon, Oct 26, 2009 at 6:22 PM, Digant <[email protected]> wrote:
> > Hello everyone,
> >
> > I am using DM355 , MV4 lsp 1.2, I have got the EDMA working using APIs from
> > dma.c.I can manually trigger EDMA and copy GPIO INDATA register to the
> > memory buffer.I am also able to get normal interrupt triggered on that pin
> > but I don't know somehow my EDMA triggering not working !!
> >
> > is there anything special I need to do in order to get it enable??
> >
> > How can I access EDMA's register to check what is going on exactly ?
>
> You can open /dev/mem device, mmap particular page containing
> interested register and than use directly that register via pointer
> pointing to mapped page + offset.

devmem2 does all of this for you.

http://free-electrons.com/pub/mirror/devmem2.c

Thanks,
Sekhar

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to