Hi,
I'm having a final push to get my image processing framework written. I want to have each core processing 1 sixteenth of the image blocked down into work units that will fit inside the core's memory. While one work unit is being processed I want to use dma to transfer the next one so it is available when the processing on the previous one is done. I'm trying to use e_mutex_lock and e_mutex_unlock to coordinate the processing and the dma. My code is here: .
I've posted some questions previously about issues I'm having with dma and there have been some vague mentions of "hardware errata" possibly being responsible for the dma stalling. Now that I'm using e_mutex_(un)lock the problems seem to be getting worse.
I also have noticed that there does not seem to be any examples of e_mutex_lock on git hub or in the parallella examples.
Is it worth persevering with dma and e_mutex?
nick