Projects Related to Accessing Files from USB Mass Storage Device on ATSAMD21J18A

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

Hi,

 

I am trying to run a sample application on ATSAM21DJ18A. The sample application tries to access a file present in a USB Host Mass storage device connected to ATSAM21DJ18A kit.

I have taken the source code from an example project available in the internet. (Link: http://www.atmel.com/images/atme...)

 

However I have not tasted success while trying to implement this project at my end. I found that f_mount call returns FR_OK where as f_read call always returns FR_NOT_READY. I am new to ATSAMD21J18A. Can someone help me out with figuring out what the issue actually is ?

 

I am using ATMELSTUDIO 7.0 for implementaion.

 

Many Thanks

Saketh

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

 

I have an update, the above issue is resolved. There was a mismatch in the clock settings between the example project i have quoted and the actual project I am working on.

 

Now I am able to read a file present in the USB Mass storage Device. 

 

Thanks to all those who tried to solve this

 

Regards,

Saketh

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am trying to use ATMEL START to generate project for Keil compiler.

Trying was successfull.

I need USB HOST MSC for SAMD21G18A.

I am wondering when ATMEL will release this in ATMEL START.

 

enore grattoni