USB to USB flash Drive File Copier


Closed Thread
Results 1 to 40 of 223

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    You have to tell the VDIP what to do at all times. It will read the files but then you have to have someway to "remember" what the file name and extension is if you want to do anything with it.

    So that is why I used an array. The app I was doing all of the files were DAT so I did not have to worry about that part of it.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    I've finally bought a max232 but i cannot find any schematic to connect it to the vdip and and also its connection to the computer. do you have any schematics that you can share with me? even just pin connections will do..

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Google must have been down for awhile when you tried to find the info. It is working now though. Here is one of the things that came up.
    Look at post #34
    http://www.todopic.com.ar/foros/inde...topic=24289.20

    And the data sheets for almost any part can be found on google too.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    Ive finally connected it into the computer's serial port and the vdip2 responded very well. i can already issue copy commands and the files were indeed copied from the source disk to the target disk. the problem is when i try to enter a sub directory, it only prints $00 $00 $00 $00... have you encountered this? I really need to view the files in the sub folders for file browsing.

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Cool!!! You are making progress.

    I did not play with sub directories much, I was just writing file to the root directory. But I do remember trying it.

    Are you using the Extended Command Set with your firmware?

    Looking at the
    Vinculum Firmware User Manual
    Version: 2.3
    Issue Date: 2007-12-03

    On page 30 section 6.2.1 Directory (DIR)
    This statement is made:
    Note that if the specified file is a directory, a size of zero will be displayed rather than a listing of the files in that directory.
    So maybe you are there and do not know it???
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    I should thank you because you shared your knowledge with me that's why my project is developing. However, knowing the note from the firmware really hurt my feelings. how will i ever manipulate the file names for the file transfer if i cannot view them? Ive read in one of their manuals that the vdip can go down to 16 sud directories, how can they say that if they would only print zeroes?

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by newbie View Post
    However, knowing the note from the firmware really hurt my feelings.
    Are you saying that I hurt your feelings?
    I only ran across that note about five minutes before I posted it after looking through the manual for clues to your problem.

    If I knew how to do what you are wanting I would gladly tell you how.

    After you receive the zeros, what happens if you send another DIR command?

    The manufacturer also has tech support if all else fails.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 14:43
  2. How to drive the Vinculum VDIP1 in UART mode
    By BrianT in forum Code Examples
    Replies: 41
    Last Post: - 23rd May 2013, 13:34
  3. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 21:17
  4. USB-FTDI[UM232R] with PIC16f877a
    By bjox in forum USB
    Replies: 1
    Last Post: - 23rd February 2008, 23:40
  5. PICs and USB Flash Drives
    By The Master in forum USB
    Replies: 2
    Last Post: - 23rd October 2007, 11:23

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts