Re: USB-OTG on BananaPi M1

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Sun, 24 Apr 2022 09:58:00 UTC
On 4/24/22 03:31, Peter Jeremy wrote:
> 11:02:59.641528 usbus0.2 DONE-CTRL-EP=00000000,SPD=HIGH,NFR=1,SLEN=8,IVAL=0,ERR=0
>   frame[0] READ 8 bytes
>   0000  A3 77 65 86 A3 77 65 86  -- -- -- -- -- -- -- --  |.we..we.        |

Hi,

This byte sequence looks like garbage. It should be idential to that of 
the host side. If this happens after a while if means that the OTG FIFO 
size is incorrectly set, see this printout:

 > usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
^^^ try having a look in the driver where this comes from.

Try setting 8Kbytes or 1KBytes.

--HPS