AN75779 Device not replying with ERDY. Communication stuck.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi,

   

I'm implementing a uvc 1.0 application with FX3 device. The code is based on AN75779, running on Windows 10, with DMA callback implementation, Bulk Endpoint:

   

Packet size: 1024

   

DMA Buffer size: 34800 (34*1024 - 16 bytes) 

   

 

   

The Problem:

   

At a certain point the stream is stopped because the deviced assets a NRDY which is never cleared by a ERDY. Under this conditions the device is stuck (streraming freezes) but not crashed (just trying to recover the streaming with a third party uvc streamer it gets back to streaming). I think that the DMA has been corrupted for some reason, and this puts the GPIF in a  bad state. 

   

Please find here the screenshot of a protocol analyzer log

0 Likes
1 Reply
Anonymous
Not applicable

The new firmware released on 08/20/2017, i.e. App note rev *I has "commit buffer failure" and "frame timer" fixes. Commit buffer failure occurs when Host PC is loaded or it is not fast enough to send IN tokens. Frame timer may over-run when device doesn't get a frame on time. Please check the release notes. Check if it helps/not.

0 Likes