- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have created a manual DMA multi channel. When I commit the data to the consumer, sometimes the function fails, returning error code 71. To find the root cause for this, I am wondering what can cause this error code. Does anybody have some more details on this? Thanks.
-Silvio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Sil
I had the same error in my firmware. I think that it occur when all buffers in multidmachanel is full. Now I check are there any empty buffer before calling CyU3PDmaMultiChannelCommitBuffer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have now added additional logic that should prevent buffer overflow. If there is no free bufer available, I will call CyU3PDmaMultiChannelDiscardBuffer() to drop the current input buffer. However, I still get return value 71 after some time. I added a call to CyU3PDmaMultiChannelGetStatus() and found that status of DMA channel is DMA_ACTIVE. Does it mean I cannot discard the current producer buffer if DMA is active?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to clarify: Now I get return value 71 from CyU3PDmaMultiChannelDiscardBuffer()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you still having this problem? If not what was your solution? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Daml,
Do you mean to say that after adding the discard buffer this issue has decreased ??
Caus i get this error many times, not able to attain a proper solution till now.
Rags
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What I mean is when I reach this error, there are no more transfers at all.
I have to reboot FX3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes i also face the same kidn of issue, but when this occurs my transfers are still active, ofcourse the data rate is hit but its still active..
Rags
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I face the same problem, when commit buffer return error code 71. and I call CyU3PDmaMultiChannelDiscardBuffer() to solve this problem, but It still error.
why no people answer this problem? I find many developers encounter this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have met this issue,Does anybody resolve it?
Sincere,
Jun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm the one who also suffering from this issue.
CY_U3P_ERROR_INVALID_SEQUENCE of CyU3PUsbHostEpSetXfer function