Forum Discussion
Hi Wincent,
Thanks for your reply
I am using the Altera MCDMA IP example design. When I test this example design with the software custom driver provided by Altera, everything works perfectly fine.
The issue only happens when I use our custom software driver. Here is exactly what is happening:
The first channel allocates perfectly and performs its read work without any issues.
However, when I try to allocate a second channel while the first one is still working, it fails.
It shows a "queue reset failed" and "channel allocation failed" error.
Could you please let me know:
Why does this happen when adding a second channel in our custom software?
What could I have done wrong in my custom driver logic?
What are the exact register steps or conditions I need to check in my code to rectify this?
Thanks for your help, Ashoo
Hi Ashoo ,
Your custom driver most likely has a flaw in the channel initialization, reset, or resource management sequence.
Carefully compare your register access flow to the reference driver and the our design example
Paying special attention to channel reset, status polling, and queue setup.
BUT to confirm that , please do check your dmesg log.
Regards,
Wincent