Programming file transfer through USB

Discussion in 'Embedded Systems and Microcontrollers' started by sigh88, Jun 1, 2009.

  1. sigh88

    Thread Starter New Member

    May 20, 2009

    The general idea for a project I have is to program a USB device to send a file, once it has been plugged in.

    I have a few questions about how to get started.

    Would I need to use the USB mass storage class and implement the SCSI transparent command set? Or would I just use Bulk transfer?
    What would it look like from the computer side? Do I need to write a driver? Where would the file go?
    How would I put a file in my flash? Is there a file format I have to follow? Do I need a filesystem?

    I think I'm making this more complicated than necessary. If someone could tell me the pieces I need to do this and lead me in the direction to get started, I would really appreciate it.