SAMD21 USB MSC Device + SD Card

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I am trying to implement the USB MSC Device stack  + SD Card on a SAMD21J17A board so that when the board with the 2GB microSD is connected to a PC (Host) using a USB Cable, I can directly access the files on the SD card.

I started with the USB MSC Device example and made some clock and pin changes.

When I run the program, the USB attaches to the host and the device is also displayed in the Device Manager under Universal Serial Bus Controllers as a Mass Storage Device.

But it takes a very long time to show up in available drives and gives the error "Please insert disc" when opened.

 

Any help is appreciated. Thank you.

 

 

Last Edited: Fri. Nov 10, 2017 - 03:11 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Duplicate: http://www.avrfreaks.net/comment...

 

Probably better asking in the Cortex-M forums ...