Shop OBEX P1 Docs P2 Docs Learn Events
Cannot identify my BS2 — Parallax Forums

Cannot identify my BS2

AtommasterAtommaster Posts: 8
edited 2006-04-28 16:13 in BASIC Stamp
wel like the title tels us: i cannot connect to my BS2.

i know there already allot of topics about this problem, but i think i’ve read all of them. Unfortunally i've not got the possibility to get the Basic stamp editor to identify my BS2. mad.gif
I've got an Basic stamp 2 chip on a REV B boebot. The primary controller is the USB port (intergraded USB <--> serial converter). the battery's i use are alkaline 1.5v (4x) to give the boebot 6v idea.gif . i also tried with a 9v battery (same result)

The thinks that i have already tried:
- Normal way: connect with the USB port and put the switch to 1 or 2.
- Fifo buffers disabled
- latency set from 16 to 1
- Check batteries over and over
- created a serial connection
result: Loopback and echo are successful but the device type is not indicated.

Does anyone has a good idea what i’ve forgotten???

Please excuse my lack of english.

Comments

  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-04-27 17:07
    Are you using a Belkin to convert DB9 <-> USB?

    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-04-27 17:11
    Loopback verifies that pin 6 is tied to pin 7.
    Echo verifies that the TX/RX circuitry on the BS2 is being reached.

    These are both very 'low level' tests. It's still possible that your USB converter is not
    properly implementing the "RTS" line, which resets the BS2 in preparation for programming.
    Or that it's not timing it the way the PC is telling it to.

    Note that very few USB adapters for "PDA"'s properly implement these 'handshake' signals.
    USB to serial adapters that are known to do this properly are the FTDI, the Keyspan, and the BAFO.
    People have had lots of trouble with Belkins.
  • AtommasterAtommaster Posts: 8
    edited 2006-04-27 17:17
    ic but:

    i'm using the "onboard" USB connection that is on de REV b board. unfortunaly there is no serial connection on the board. zo i creaded one that i found on this forum BS2.gif. this connection is directly connected to the COM port on the computer

    Post Edited (Atommaster) : 4/27/2006 5:22:11 PM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-04-27 17:19
    allanlane5 said...(trimmed)
    These are both very 'low level' tests. It's still possible that your USB converter is not
    properly implementing the "RTS" line, which resets the BS2 in preparation for programming.
    Or that it's not timing it the way the PC is telling it to.
    Allan,

    ·· Correction, the DTR line is what is used to reset the BASIC Stamp.· RTS is pin 7 which is used in the loopback test.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-04-27 19:36
    Wow, definitely not my day. Chris is absolutely correct, it IS the DTR line that resets the BS2.
  • AtommasterAtommaster Posts: 8
    edited 2006-04-28 11:17
    i'm sorry to be bold but i still cant find the problem :S
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-04-28 11:50
    Atommaster -

    What kind of computer are you using, and which operating system?

    Is it fair to presume that you have never been able to program a PBASIC Stamp with your present set up?

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
  • AtommasterAtommaster Posts: 8
    edited 2006-04-28 13:33
    Bruce Bates, thanks for responding.

    I'm using a Windows XP corp pc (main pc).
    I made a fiew tests and tried it also on my laptop wich in running Windows Xp x64 (USB only)

    And becouse i am aware of some Windows NT to serial securety problems (i assume accualy) i alsow connected the setup to VMware wich what running Windows ME.

    But al the results are the same. sad.gif and u are richt i never had the posibility to program the pbasic 2.5 stamp


    Main PC
    AMD Athlon 2800+
    512 mb dualed

    Laptop
    AMD Turion 1800+
    512 mb single

    Post Edited (Atommaster) : 4/28/2006 1:37:27 PM GMT
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-04-28 13:49
    To summarize:

    It sounds like you have a USB-BOE bot, correct? Did you install the FTDI drivers BEFORE plugging in the USB port? Some USB devices (and I believe the FTDI interface on the USB-BOE is one) require the drivers to be loaded before the device is actually plugged in.

    You did install the drivers, right?
  • AtommasterAtommaster Posts: 8
    edited 2006-04-28 14:00
    Yes i have a USB- BOE bot.


    i din't install the FTDI drivers before puggin in the USB port. i'll try that now.

    how ever i tried to make the serial connection already with no succes. (shown above)
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-04-28 14:06
    Just as a note you won't be able to get any communication until the FTDI VCP Drivers have been installed and assigned a COM Port number.· See the installation guides at the bottom of the following page for your board.

    http://www.parallax.com/detail.asp?product_id=28850

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • AtommasterAtommaster Posts: 8
    edited 2006-04-28 14:31
    Well for the record the pc always assigned a COM port number.


    Thinks that i've tried:

    Installed the drivers before inserting the USB port
    Follow the steps at http://www.parallax.com/detail.asp?product_id=28850
    Installed the drivers at http://www.parallax.com/detail.asp?product_id=28850
    Installed the drivers from http://www.ftdichip.com/Drivers/VCP.htm

    still no succes sad.gif
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-04-28 14:34
    Please contact Tech Support directly to have the unit sent in for testing.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • AtommasterAtommaster Posts: 8
    edited 2006-04-28 14:39
    Ok, thx for the help so far
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-04-28 14:57
    Yes, I believe the 'native' Windows USB drivers will in fact install something for any USB to Serial device. However, they won't be the RIGHT drivers for the FTDI device, so while Windows will be happy, you still won't get any device communication.

    I've run into this with my favorite USB to Serial device, the Keyspan 19, as well. Only AFTER you install the correct drivers, with the actual USB device NOT PLUGGED IN to the USB port, will the correct drivers be found by Windows when you DO plug in the device.
  • AtommasterAtommaster Posts: 8
    edited 2006-04-28 16:13
    Thanks for checking but i've installed the drivers acording to the manual shown on http://www.parallax.com/detail.asp?product_id=28850

    and after i uninstalled the drivers, i have installed again the drivers manualy befor connecting the USB port
Sign In or Register to comment.