Arduino Due and read/write files on USB key


Is there a library to read/write files on a USB key connected on the native usb port (using in the same time the usb programming port to power arduino)?

I need a low cost solution to learn to students in only few hours to write data coming from sensors on a storage support (idealy on a USB key instead of a SD card).

Arduino Due + USB stick would be less expensive than an Ethernet Arduino which has a SD-support capability (or Arduino Uno + a shield with SD-support capability) + SD card + USB adapter to get file on the computer.

Any other ideas?

Best regards,

HI, On Avrstudio 6.0 of atmel you can find some example of usb mass storage on ARDUINO DUE See the last ASF of Atmel. I don't know more infos. Davide