Shop OBEX P1 Docs P2 Docs Learn Events
write to usb drive — Parallax Forums

write to usb drive

knownboyofnoknownboyofno Posts: 2
edited 2005-07-11 13:13 in BASIC Stamp
I am new at programming and I neeed some help here. I was wondering is it possible for a stamp to write a file to a usb drive? If possible, can u tell me what command, program, etc. is needed to do so. Thank you in advance for the help.

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2005-01-30 02:24
    No, USB has 'master' and 'Slave' devices. A BS2 with USB interface on a BOE board is a 'Slave' device. It does not have the memory space to be a 'master' device. A USB drive is also a 'slave' device. Therefore, a BS2 cannot write to a USB Drive, since a 'slave' device cannot talk directly to another 'slave' device.
  • JonbJonb Posts: 146
    edited 2005-01-30 02:24
    It might be possible, but usually USB requires drivers and some sort of operating system. Its not an easy project.
  • knownboyofnoknownboyofno Posts: 2
    edited 2005-01-30 03:08
    Couldn't I add a device to do that would act as a master? So that through the stamp I could use that to write to the usb drive?
  • Jim McCorisonJim McCorison Posts: 359
    edited 2005-01-30 17:12
    You might want to read the thread http://forums.parallax.com/showthread.php?p=523778 for background and information on this topic.
  • allanlane5allanlane5 Posts: 3,815
    edited 2005-01-31 14:45
    Yes, you can add a device to a BS2 so the BS2 can talk through that device to a USB drive.
    Since the BS2 is a USB 'slave', and the USB drive is a 'slave', you need a 'master' device.
    The cheapest, most cost-effective, and well-supported USB 'Master' device is a windows PC.

    So, user your Windows PC as the device. Problem solved.
  • christo1423christo1423 Posts: 19
    edited 2005-07-11 13:13
    Take a look at USBWIZ it may be the solution.
Sign In or Register to comment.