[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community Supercomputing for Everyone 2015-11-15T21:51:34+00:00 https://parallella.org/forums/feed.php?f=23&t=3293 2015-11-15T21:51:34+00:00 2015-11-15T21:51:34+00:00 https://parallella.org/forums/viewtopic.php?t=3293&p=16156#p16156 <![CDATA[Re: How to use the DMA engine]]>
Thank you very much! Now the DMA thing is much clearer. Thank you :D

Statistics: Posted by Richardye — Sun Nov 15, 2015 9:51 pm


]]>
2015-11-12T15:43:42+00:00 2015-11-12T15:43:42+00:00 https://parallella.org/forums/viewtopic.php?t=3293&p=16137#p16137 <![CDATA[Re: How to use the DMA engine]]> Statistics: Posted by jar — Thu Nov 12, 2015 3:43 pm


]]>
2015-11-11T14:34:54+00:00 2015-11-11T14:34:54+00:00 https://parallella.org/forums/viewtopic.php?t=3293&p=16132#p16132 <![CDATA[How to use the DMA engine]]>
Here I got quite confused about the DMA control in the epiphany side. Hope someone could help me ...

typedef struct
{
unsigned config;
unsigned inner_stride;
unsigned count;
unsigned outer_stride;
void *src_addr;
void *dst_addr;
} e_dma_desc_t;

Above is the declaration for the e_dma_desc_t.

The questions are ,

1. What does the inner & outer stride, count stands for ? If I would like to copy a char array of size 1024, how whould I set these values ?

2. How can I start the DMA transfer ? Using int e_dma_start(e_dma_desc_t *descriptor, e_dma_id_t chan) or e_dma_copy(void *dst, void *src, size_t bytes) ?

Hope some one could help me, this really bothers me !!!!

Thanks,
Richard

Statistics: Posted by Richardye — Wed Nov 11, 2015 2:34 pm


]]>