Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

USB mass storage problem

$
0
0

Hi,

     I'm working in a project that should realize a usb mass storage device usingOMAPL138 usb2.0 module. I've designed two  kind of board with the same schematic but different PCB. One of them provides 20MHz clock to OMAPL138, and the other one provides 40MHz. The former works well whether writing or reading a file from the mass storage, but the latter can only read files.

    I  used CPU for transforming but  CPPI DMA, and found that every time the PC send a packet of data larger than 512 bytes( the FIFO size), the CPU can only get 512 bytes from the FIFO, then no interrupt occurred. Dose it mean i have to use CPPI DMA when the packet size may be larger than the FIFO size? And what confused is why one of my board with the same schematic and programming(of course the usb2.0 controller was configured for different clock frequency) can works well.

Thanks,

Huang.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>