Vinculum VNC1L Vdrive2 module problems


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2008
    Posts
    4

    Default Vinculum VNC1L Vdrive2 module problems

    Hello everyone! I have a problem with Vdrive2 module...When I send the short command set (SCS) $10 or 0x10 (I've tried both of them) to set the module in SCS mode I always receive the message "Bad Command". The module is working corectly when I test synchronization (I send and receive "e" messages). The firmware on Vdrive2 is 02.08 Vdapf, I'm using an USB stick A-data of 2 GB.
    Does anyone knows what is the problem?Please help me, it's urgent...Thanks!

    PS: I can set the module succesfulyy in short command mode by sending "SCS" command but if I try e.g the DIR command =in SCS mode with 0x01(or $01)...the module returns BC (Bad Command).+ I have to set the VDRIVE2 in SCS mode from ECS (default mode)by sending the command in short format ($10 or 0x10).
    Last edited by the_virus; - 18th July 2008 at 14:19.

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

    Default

    Take a look at this:
    http://www.picbasic.co.uk/forum/showthread.php?t=7700
    I think it is the same firmware, I get confused with FTDI's numbers and such. Just about as bad as their documentation.
    Dave
    Always wear safety glasses while programming.

  3. #3
    skimask's Avatar
    skimask Guest

    Talking

    Quote Originally Posted by mackrackit View Post
    Hey Dave, you must have missed the part about it being URGENT!!!
    With something this important, who has time to read! Give me the answer NOW

    Signed...
    The_Anti_Virus

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

    Default

    Quote Originally Posted by skimask View Post
    Hey Dave, you must have missed the part about it being URGENT!!!
    With something this important, who has time to read! Give me the answer NOW

    Signed...
    The_Anti_Virus
    Who has time to read or post the problem code?
    My crystal ball is a little fuzzy today, so I did not want to venture that it might be a syntax problem or the lack of a carriage return or ...

    Signed...
    The_Anti_Virus
    I like your new signature !
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jul 2008
    Posts
    4

    Default

    Quote Originally Posted by mackrackit View Post
    Take a look at this:
    http://www.picbasic.co.uk/forum/showthread.php?t=7700
    I think it is the same firmware, I get confused with FTDI's numbers and such. Just about as bad as their documentation.
    I've read the documentation from http://www.picbasic.co.uk/forum/showthread.php?t=7700 before posting here a new thread...I've verified the problems with RTS and CTS but there are all correctly set and I send a CR after each command ...the module it's communicating with the USB stick...because the led of the USB stick it's blinking when I run the code, and as I post previously a simply test of sending a CR and verifying the answer(D:\) confirm that the USB stick it's present and the synchronization messages are working too (I've tried also command in ECS mode and it's working) . I don't know why I cannot set the module in short command mode (SCS) and always returns Bad Command. I will appreciate if anyone has any ideas what I have to do or what it's the problem with the module. Thanks!

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

    Default

    Again, with out seeing your code it makes it difficult to find the problem.

    Here is a couple of things to look for ( I have not used the short set, and I do not have time to set one up at the moment).

    Code:
    SEROUT2 VinRXD,8588,["OPR ",X1,".DAT",13]
    The above is ECS format to open a file with the *.DAT extension. X1 is a variable from an array with different file names.

    I would guess the same code in SCS format would look like
    Code:
    SEROUT2 VinRXD,8588,[0E,20,X1,".DAT",0D]
    One of the confusing things from the data sheet. The DS says "." is a space. Using ECS the "." is "," as in my above code. So I am not sure if there is a comma between 0E and 20 or just a space.

    Another thing, are you using ASCll or binary values?

    If you can get it to work in ECS, why do you want SCS?
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Jul 2008
    Posts
    4

    Default

    I'm using Ascii values in ECS mode (it's working, as I said) and I'm have to use Binary values to set from ECS mode in SCS mode, and then I have to send commands in SCS mode. I can't post the code because the project is too big (C/C++ project-I'm working with an Embedded 386SX CPU ISA Half Size SBC Series).I was thinking that someone has encountered a bug about SCS mode...
    Last edited by the_virus; - 21st July 2008 at 06:40.

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

    Default

    Good luck, I can not help with C, most of us here use PIC BASIC. Guess that is why this forum is named MELabs PICBASIC Forums .

    I will suggest contacting FTDI, their support is pretty good.
    Dave
    Always wear safety glasses while programming.

  9. #9
    Join Date
    Jul 2008
    Posts
    4

    Default

    Ok..thanks! (I've write here because it's the only forum where someone writes about Vdrive2)

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

    Default

    Quote Originally Posted by the_virus View Post
    Ok..thanks! (I've write here because it's the only forum where someone writes about Vdrive2)
    That is interesting. I thought they were more popular.

    I have a project coming up were I will be using a VDIP1. When I get started on it I will give shorts a try (still do not see the advantage) and post what happens here.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. VDIP1 (Vinculum - FTDI) problems
    By BrianT in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 20th August 2013, 13:51
  2. How to drive the Vinculum VDIP1 in UART mode
    By BrianT in forum Code Examples
    Replies: 41
    Last Post: - 23rd May 2013, 12:34
  3. Vinculum Vdrive2
    By enigma in forum USB
    Replies: 15
    Last Post: - 8th May 2012, 01:51
  4. Version Control
    By btaylor in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 16th October 2011, 17:12
  5. Replies: 1
    Last Post: - 27th July 2008, 06:14

Members who have read this thread : 1

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