Mass Storage on ASF4

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

         Hello. I'm using 'SAM V71 Xplained Ultra' board with ASF. I have an issue with USB Host driver and MSC (Mass Storage Class). The "USB Host MSC FatFS" example on ASF3 works fine with an USB flash drive. But when I run the example with the same name on ASF4, it fails to work as well as the "USB Host MSC Tester" example. Also an USB card reader works fine on ASF4.

         Generally, the ASF4 USB Host driver is functional. For example, the "USB HID Mouse" example works well with a mouse in place of the flash drive. The problem is with MSC Host.

         Debugging shows me that my flash drive is enumerated and installed, but not enabled. Exactly, when the host sends its first SCSI command (INQUIRY), it does not receive any response from the device and waits forever.

         Finally, I had tested 2 flash drives and 2 card readers. Both drives do not work on ASF4. Both readers work fine on ASF4.

         Anyone had the same problem? What is the difference between a flash drive and a card reader in terms of MSC?  Timings?

Last Edited: Tue. Aug 4, 2020 - 04:22 AM