I can't see my STAMP!?
Bullwinkle
Posts: 101
Today I sat down to do some experimenting, but I could not update the compiled program. After stuffing around for a while in Linux I plugged it back into my wife's Windows laptop, where it had been working also.
But it doesn't work there either!? I deinstalled and reinstalled the software and the USB<->serial driver. When I run the BASIC Stamp Editor and select "Identify" it just sits there with COM4 displayed and an hourglass but no identification of my BS2.
My kit is a Stampworks development board. I have it connected via a USB cable.
Any ideas on what I can try? I am getting seriously worried my BS2 is dead! :-(
BTW - It is seriously hot here today (39C outside) 26C inside. Does heat effect these things?
Steve
But it doesn't work there either!? I deinstalled and reinstalled the software and the USB<->serial driver. When I run the BASIC Stamp Editor and select "Identify" it just sits there with COM4 displayed and an hourglass but no identification of my BS2.
My kit is a Stampworks development board. I have it connected via a USB cable.
Any ideas on what I can try? I am getting seriously worried my BS2 is dead! :-(
BTW - It is seriously hot here today (39C outside) 26C inside. Does heat effect these things?
Steve
Comments
·· You said when you run Identify you get an hourglass?· That sounds like the software has locked up trying to access the COM Port.· Do you have a serial connection you could try to double-check communication?· Or even another BASIC Stamp Module?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Are you running HotSync or anything like that in the background on your computer? If so, shut it down, and then retry programming the Stamp.
Regards,
Bruce Bates
·
If you click on the link listed below and open the Windows XP PDF file and then scroll down to the "Trouble Shooting" section, this should fix the communication issue.··
·
Regards,
·
Dave
·
http://www.parallax.com/detail.asp?product_id=800-00030
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
I have tried seeing in Linux can see anything coming out of the USB serial port a few times. Every now and then I see partial debug messages but it is surrounded by gibberish. I am pretty sure I have the comms parameters set correctly (9600bps 8 data 1 stop bit no parity).
It is cool this morning so it's not an overheating problem. I am starting to think my stamp may be dead, or the serial interface is fried.
Steve
Could that be, at least part of, the problem? How can I tell what is using COM3? The only other device plugged into the laptop is a mouse. It has no "real" serial ports, and only 2 USB sockets.
If all else fails I will try connecting it to one of my daughters' desktop computers. They both have real serial ports, so I can isolate whether the problem is with the STAMP or the USB<->serial software.
Why Linux should simultaneously have a problem talking to the STAMP is another mystery. But I will get it "talking" to Windows first, then adventure back into less charted territory.
Assuming I can get it working at all...
I deinstalled the USB<->serial driver, noted that COM4 ( and strangly COM3 also ) had vanished. Reboot.
Plug in USB cable to Stampworks, "Found new hardware" - directed it to the Parallax USB driver. So far so good.
BUT THEN IT GETS WIERD!
The "Found new hardware" wizard pops up again, It is not happy with my selection of the Parallax USB driver. If I let it select a driver automatically it installs a Microsoft Serial Mouse driver, which immediately grabs COM3!
So, went into SYSTEM control panel, device manager, found the Microsft Serial Mouse - uninstall!
As a test I fired up hyperterminal, COM3 9600bps 8 data 1 stop no parity, and BINGO - they are my DEBUG messages displayed perfectly. Hooray!!!! [noparse]:)[/noparse]
At least I know my BS2 is working OK!
HOWEVER, I *still* cannot get the Stamp Editor to identify (CTRL-I) the stamp. I just get an hourglass that does not go away!
I've gotta be close. WTF is going on????
Also, whenever I unplug and plug the USB cable - the damned Microsoft Serial Mouse drivers pops up again and grabs COM3!
http://www.parallax.com/dl/docs/prod/ftdi/USB-VCP-Install-WinXP-v1.1.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
The documentation says to copy the driver to your harddrive then plus in the USB cable, then talk to the "Found New Hardware" wizard, but tell it you have the driver in this directory here.
I've done all that - still the Stamp editor is upset. Is there a registry setting that is perhaps up the spout?
I made another discovery regarding the Microsft Serial Mouse too. If my STAMP is off when I plug it into the laptop, it doesn't think it's a mouse. Wierd...
The solution was to nuke the register entries for Parallax and below in the HKEY_CURRENT_USER bit of the registry. I must have somehow been buggered.
Thanks for all you help guys
Anyway the stty settings that enable a Linux computer to talk to a BS2 ( via a USB<->serial port) are:
/bin/stty -F /dev/ttyUSB0 ospeed 9600 ispeed 9600 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
Maybe this will help another brave Linux-STAMP user out some time.
Now, where was I ? ...