eenurkka opened a new pull request, #6602:
URL: https://github.com/apache/incubator-nuttx/pull/6602

   With faster data transfer rates, it was seen that the read
   requests occasionally were issued while the USB RX operation
   was actually in progress.  This patch makes sure the system
   doesn't accidentally read the RX fifo while it's being filled
   up, but rather, checks for the RXCSRL_REG_EPN_RX_PKT_RDY_MASK
   flag.  This flag indicates the packet is ready to be read.
   
   Signed-off-by: Eero Nurkkala <[email protected]>
   
   ## Summary
   
   Higher transfer rates revealed a problem with the USB driver.  RX fifo was
   being read during RX transaction which caused trouble.
   
   Also remove unnecessary TRACE_DEVERROR(I) trace, which is no error at all.
   
   ## Impact
   
   MPFS Polarfire USB
   
   ## Testing
   
   Tested with Polarfire MPFS by sending 1.9 Gb images into the device's emmc 
via
   dd using varying block sizes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to