Rip, bs2
philski
Posts: 11
Greetings.
I pulled my robot based around a BS2 out of storage yesterday. I tried hooking it up to the computer, to no avail. I checked my (homemade) cable, it checked out OK. I was poking around the forums and found a post by Dave Andrae...
Mr. Dave Andreae (Parallax) had posted in another thread:
> There are some voltages that you can measure to see if your stamps are damaged.
> Sout = -5v
> Sin = -10v
> Res = +5v
> Vdd = +5v
Alas, only my Vdd pin had a voltage, the rest were dead. Is there no hope?
Philip
I pulled my robot based around a BS2 out of storage yesterday. I tried hooking it up to the computer, to no avail. I checked my (homemade) cable, it checked out OK. I was poking around the forums and found a post by Dave Andrae...
Mr. Dave Andreae (Parallax) had posted in another thread:
> There are some voltages that you can measure to see if your stamps are damaged.
> Sout = -5v
> Sin = -10v
> Res = +5v
> Vdd = +5v
Alas, only my Vdd pin had a voltage, the rest were dead. Is there no hope?
Philip
Comments
Oh, and 'RES' is driven from your PC's 'DTR' signal, so that has to be connected too.
And I believe your PC must have its serial port open, as well.
Sout: -8.79
Sin: -8.59
Res: 5.05
Vdd: 5.06
On Comm1, Device Type: blank, Version: blank, Loopback: no, Echo: no.
any ideas?
Philip
It sounds either like a bad serial cable, or a serial cable plugged in to the wrong place.
Except -- your voltages are there.· It could be a 'null-modem' cable -- though you should STILL get 'loopback' then.
Do you have a good battery?
I re-wired it all. Found out there was a broken wire.
On Comm1, Device Type: blank, Version: blank, Loopback: >yes<, Echo: >yes<.
I try to download a program (the included file sleep.bs2) I hit run and get an error message "no basic stamps found."
Phil
Post Edited (philski) : 6/11/2005 9:11:59 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://ca.geocities.com/steve.brady@rogers.com/index.html
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
I generally hook up the serial cable before powering on the stamp, normally, is that incorrect?
I just tried powering on the stamp before attaching the serial cable. Same behavoir. Loopback yes, echo yes, no stamp recognition.
Phil
When you constructed the cable, did you make it straight-through, or did you construct a null modem type cable with Tx and Rx reversed? The former is what you want, and the latter will cause nothing but trouble.
Regards,
Bruce Bates
Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://ca.geocities.com/steve.brady@rogers.com/index.html
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
On the BS2 end, I did it as per the manual. pin 2 to pin 1 on the BS2, pin 3 to pin 2 on the BS2, pin 4 to capacitor to pin 3 on the BS2. Pin 5 to pin 4 on the BS2. Capacitor across pins 3 and 4. 0.1uF ceramic capacitors. Pins 6 and 7 on the cable are tied together.
The software says "Loopback: yes" "Echo: yes" so I presume my BS2/computer interface is built properly.
thanks,
Phil
·· Is this being connected directly to a Serial Port, or is it going through a USB adapter?· Also, is it a Desktop or Laptop computer?· And finally, did you try fresh batteries anyway?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
direct to on-motherboard serial port.
Battery was charged yesterday, used for maybe 15-20 minutes testing serial connections with the BS2. I will top it off overnight for good measure.
Thanks.
Phil.
If you don't, are you attaching your battery voltage to Vdd? Or to Vin like you are supposed to?
Attaching a 6-volt, or 9-volt battery to Vdd may kill the BS2. Direct battery connection needs to go to Vin, which feeds an on-BS2 regulator.
Otherwise, it sounds like you now have everything right. I would ohm-out the cable at this point (put an ohm-meter on the two pin-1's, to verify all wires go thtough). The Echo test would definitely pass with a null-modem cable, I'm not sure about the loopback test.
Cable is straight through and works fine (pin1 to pin1, pin2 to pin2, ... pin9 to pin9, already tested with an ohm-meter)
I've had this stamp for 6 years, havent used it in 3 years. I've built projects with it in the past.
I'm not sure what to do at this point. My cable looks ok, the battery is OK and connected properly, the BS2 is getting the appropriate voltages from the battery and the serial cable on the appropriate pins, etc.
Thanks
Phil
If the Stamp is being held in continuous RESET (Stamp pin 22 _held_ LOW), you may get symptoms like you have. Both the LOOPBACK and ECHO tests are done from the PC end, and are purely "mechanical" tests. The identification of the type of Stamp requires the cooperation and response of the Stamp itself, elicited by prompting from the PC side. If it's being __held_ in continuous RESET, it will be unable to respond.
Regards,
Bruce Bates
The only things I have hooked up to the stamp are the battery and the serial connection.
I realise that the loopback and echo tests are purely mechanical tests, testing the physical connection. Is there anything else I can do to verify the integrity of my stamp?
thanks
Phil
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
[noparse][[/noparse]url]Http://www.parallax.com[noparse][[/noparse]/url]
Post Edited (Dave Andreae (Parallax)) : 6/12/2005 3:02:18 PM GMT
Just out of sheer curiosity, and for my own information, is this FIFO "problem" actually a Windows 98 issue, or is it a laptop issue; more specifically a Toshiba Laptop issue? I had always related it as a potential "cure" for problems on laptops.
OTOH, there's certainly no reason why one shouldn't try it, resetting it back to its original setting if it doesn't provide the desired result. Just for the record, I run Windows 98SE and I've never experienced the problem.
Regards,
Bruce Bates
Phil
Phil said:
····· XP, service pack 2.
····· Phil,
····· I suggest contacting Parallax's tech support at 1-888-997-67,·It·seems·we have covered all aspects here in the forum.
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
[noparse][[/noparse]url]Http://www.parallax.com[noparse][[/noparse]/url]
Post Edited (Dave Andreae (Parallax)) : 6/13/2005 12:13:55 AM GMT
Philip Hahn