This topic is one of the most important for practical use, although I can't test it, because I don't have Atmel Studio.Is there an existing solution/example to be used with arduino IDE?Thanks!
I wanted to share an example from Atmel ASF that shows how to implement a USB host mass storage on Arduino Due with USB module.I have upload the .bin file in github for those interested to test it. If you want to move forward with this application, I'd recommend to install Atmel Studio 6 with ASF and build/compile the Arduino Due based example called "USB Host MSC FatFS example". I could write a sketch for Arduino IDE but you have to be patient. For this application you will need:- Arduino board- Flash memory card (FAT or FAT32)- A USB to mini-USB cable- Bossac.exe in you computer- Download my HOST_EXAMPLE21.bin file from githubThen, follow these steps:1. Download the file HOST_EXAMPLE21.bin from this link:https://github.com/downloads/Palliser/Arduino-DUE/HOST_EXAMPLE21.bin[font=Verdana]1.1. Download the file HOST_EXAMPLE21.bin attached to this post (EDITED: March-05-2014).[/font]2. Load HOST_EXAMPLE21.bin to Arduino Due using bossac.exe as follows:Notice that I am using port 23 because that is the port in my laptop where my Due is connected.3. After loading HOST_EXAMPLE21.bin in your Due, connect Due to a Flash Memory card (FAT/FAT32 are supported) using the USB-mini USB cable.4. Finally disconnect the memory stick from Due and read it in your computer. The example creates in your memory card (stick) a file "uhi_msc_test.txt" that contains the text: Arduino Due Rocks!If you want to create your own file and text you'll find the example in Atmel Studio 6 as follows:File->New->Example Project from ASF->[Under Kit] Arduino Due X->USB Host MSC FatFS example Regards!
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16