Shop OBEX P1 Docs P2 Docs Learn Events
Vdrive and BS2 trouble — Parallax Forums

Vdrive and BS2 trouble

grigiogrigio Posts: 13
edited 2007-06-20 05:06 in BASIC Stamp
HI to you! I'm trying to log my data collected with BS2 on a vinculum drive (in UART mode), but if I write this code:

tx con 0 'tx pin
rx con 1 'rx pin
ow con $09 'open file
wr con $08 'write file
sp con $20 'space
ret con $0D 'return

SEROUT tx,baud,[noparse][[/noparse]ow,sp,"myfile.txt",ret]
SERIN rx,baud,[noparse][[/noparse]WAIT (">")]

nothing happens. I think it's why there is no connection between BS" and Vdrive also if leds on vdrive and flash disk too are on.
Somewhere on the web I read that to avoid control of RTS and CTS pin one can connect RTS and CTS together, is it correct?
I try also to speak with Vdrive using a terminal emulator software via rs232 with same result!
Someone could help me?
Thanks Paolo

Comments

  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2007-06-19 15:18
    Hi grigio, the Vdrive has been discussed on several· threads, here are two that deal with the BS2, one has a link to a small evaluation terminal specifically for the Vdrive

    http://forums.parallax.com/showthread.php?p=637301
    http://forums.parallax.com/showthread.php?p=644902

    These are the connections I used successfully

    Pin 8 (R#)·····Blue........not connected
    Pin 6 (CTS#) Green......connected to Vss
    Pin 5 (TXD)·· Yellow.....connect to Stamp Stamp serin
    Pin 4 (RXD)·· Orange....connect to Stamp Stamp serout
    Pin 3 (5V0)··· Red........connect to Vdd
    Pin 2 (RTS#)· Brown.....not connected
    Pin 1 (GND)··· Black......connect to Vss

    Jeff T.

    ·
  • grigiogrigio Posts: 13
    edited 2007-06-20 05:06
    Thank you Jeff I'll try and then I'll post my result
    ·
Sign In or Register to comment.