debugging serial dongle problem

SpokePOV kit for bikes

Moderators: adafruit_support_bill, adafruit

debugging serial dongle problem

Postby ahdavidson » Sun Sep 27, 2009 10:21 pm

I have a Serial SpokePOV dongle on which I suspect I have soldered something incorrectly. Debugging advice appreciated...

Without the dongle connected to the SpokePOV (just assembled, road bike config with two batteries, no images loaded by me), it initializes fine when I put the batteries in (all LEDS fire in the test sequence). If I wiggle a magnet at the sensor, the LEDs start doing their dance, although I haven't yet mounted it on a wheel to verify the default image.

If I plug the dongle into the SpokePOV but not into the computer, same thing -- all ok.

If, however, I also plug the dongle into the computer (iMac with the USB/serial adapter from adafruit) and reset the SpokePOV by removing and reinserting a battery, then nothing -- all LEDs dark, no startup sequence, niente. I believe the USB/serial adapter is OK, because I have used it succesfully before on this computer with a MiniPOV.

So I suspect that I have a bad soldering job on the DB-9 connector on the dongle, but I have reheated all the joints and they look OK to me.

Is my analysis correct; if so, any suggestions?

Thanks.
.andy
User avatar
ahdavidson
 
Posts: 130
Joined: Wed Jun 03, 2009 8:59 am
Location: Seattle, WA

Re: debugging serial dongle problem

Postby adafruit » Mon Sep 28, 2009 12:42 am

the adapter may be pulling down the reset line. have you done the dongle tests in the software?
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: debugging serial dongle problem

Postby ahdavidson » Mon Sep 28, 2009 1:13 am

Yes. Test Port simply reports that it failed to open the port. (I even put the Comm Delay up to 10,000.) That's what led me to back up and just test the hardware first and I observed what I wrote in the previous post.

Btw, I have the adapter plugged directly in to a USB port, not a hub.

Also, when it is plugged in and playing dead, if I disconnect the dongle from the computer, the board does the startup pattern, as if a hard reset...
Attachments
testfail.png
testfail.png (11.66 KiB) Viewed 1990 times
config.png
config.png (28.78 KiB) Viewed 1990 times
.andy
User avatar
ahdavidson
 
Posts: 130
Joined: Wed Jun 03, 2009 8:59 am
Location: Seattle, WA

Re: debugging serial dongle problem

Postby adafruit » Mon Sep 28, 2009 8:49 am

thats something else, if you cant open the port at all you have a driver problem or need to run as root or something
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: debugging serial dongle problem

Postby ahdavidson » Mon Sep 28, 2009 1:03 pm

With the USB/serial adapter from you, is the driver you mention on this page still the right one, as far as you know, for MacOS X 10.5.x ?

I haven't yet upgraded to Snow Leopard.
.andy
User avatar
ahdavidson
 
Posts: 130
Joined: Wed Jun 03, 2009 8:59 am
Location: Seattle, WA


Re: debugging serial dongle problem

Postby ahdavidson » Mon Sep 28, 2009 3:58 pm

I was afraid you'd say that. Rats...

Anyway to get more detailed diagnostics out of the serial port test? Would it help me to know exactly why it couldn't communicate ?
.andy
User avatar
ahdavidson
 
Posts: 130
Joined: Wed Jun 03, 2009 8:59 am
Location: Seattle, WA

Re: debugging serial dongle problem

Postby adafruit » Wed Sep 30, 2009 10:43 am

you could try opening it with like zterm or something
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to SpokePOV

Who is online

Users browsing this forum: No registered users and 0 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]