Vinculum Vdrive2


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    12

    Default WRF command

    WRF is reading a long word of 32 bits, starting with MSB first. So if the first 3 bytes are zero, you must read in a zero. You can't take a short cut and just send $15.

  2. #2
    Join Date
    Nov 2007
    Location
    South-West of Australia. A small town called Denmark. 'Where the forest meets the sea.'
    Posts
    136

    Default Vdrive2

    Thanks,

    I'd not seen that the VDrive2 was looking for a LONG.

    Regards Bill Legge

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

    Default

    This also works
    Code:
    SEROUT2 VRXD, 188,["WRF 24",13]
    The above prepares the VDIP for 24 characters. The next command would be something like this
    Code:
    SEROUT2 VRXD, 188,["X",DEC2 HH,DEC2 MM,DEC2 SS,_
        DEC2 ND,DEC2 NM,DEC3 NMD,DEC3 WD,DEC2 WM,DEC3 WMD,13,10]

    And the VDIP is not looking for a LONG as in PBP LONG. The VDIP just needs to know how many characters it is expected to write.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Nov 2008
    Posts
    12

    Default WRF command

    Thank you, thats good to know, I'm making too much work out of it.

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

    Default

    Quote Originally Posted by botsmaker View Post
    Thank you, thats good to know, I'm making too much work out of it.
    Thank BrianT. I got started with the VDIP using his code that is posted in the code example section.

    The data sheet is very poor or misleading. I would not have gotten very far with the data sheet alone.
    Dave
    Always wear safety glasses while programming.

  6. #6
    pop6335's Avatar
    pop6335 Guest

    Default how to read back return value from command DSN

    DSN is to monitor disk serial number

    can i know how the return value can be readen from 16f688 and doing a comparison ?

    i am using c language writing the software

    is they any sample i can refer?

Similar Threads

  1. VDIP1 (Vinculum - FTDI) problems
    By BrianT in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 20th August 2013, 14:51
  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. Vinculum and CP2102
    By WEspezial in forum Forum Requests
    Replies: 0
    Last Post: - 22nd June 2009, 09:00
  4. Vinculum VNC1L Vdrive2 module problems
    By the_virus in forum Serial
    Replies: 9
    Last Post: - 21st July 2008, 08:01
  5. help me to read data from vdrive2
    By prameela in forum General
    Replies: 7
    Last Post: - 19th March 2008, 10:20

Members who have read this thread : 0

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

Posting Permissions

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