PDA

View Full Version : Cannot identify my BS2



Atommaster
04-28-2006, 12:04 AM
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. http://forums.parallax.com/images/smilies/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 http://forums.parallax.com/images/smilies/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.

Ryan Clarke
04-28-2006, 12:07 AM
Are you using a Belkin to convert DB9 <-> USB?

Ryan

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

RClarke@Parallax.com (mailto:RClarke@Parallax.com)

allanlane5
04-28-2006, 12:11 AM
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.

Atommaster
04-28-2006, 12:17 AM
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 http://home.kabelfoon.nl/~janklop/Belangrijk/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 Savage
04-28-2006, 12:19 AM
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 (mailto:csavage@parallax.com)

allanlane5
04-28-2006, 02:36 AM
Wow, definitely not my day. Chris is absolutely correct, it IS the DTR line that resets the BS2.

Atommaster
04-28-2006, 06:17 PM
i'm sorry to be bold but i still cant find the problem :S

Bruce Bates
04-28-2006, 06:50 PM
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 -->

Atommaster
04-28-2006, 08:33 PM
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. http://forums.parallax.com/images/smilies/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

allanlane5
04-28-2006, 08:49 PM
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?

Atommaster
04-28-2006, 09:00 PM
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 Savage
04-28-2006, 09:06 PM
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 (mailto:csavage@parallax.com)

Atommaster
04-28-2006, 09:31 PM
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 http://forums.parallax.com/images/smilies/sad.gif

Chris Savage
04-28-2006, 09:34 PM
Please contact Tech Support directly to have the unit sent in for testing.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com (mailto:csavage@parallax.com)

Atommaster
04-28-2006, 09:39 PM
Ok, thx for the help so far

allanlane5
04-28-2006, 09:57 PM
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.

Atommaster
04-28-2006, 11:13 PM
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