debugging serial dongle problem

SpokePOV kit for bikes

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ahdavidson
 
Posts: 131
Joined: Wed Jun 03, 2009 9:59 am

debugging serial dongle problem

Post by ahdavidson »

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.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: debugging serial dongle problem

Post by adafruit »

the adapter may be pulling down the reset line. have you done the dongle tests in the software?

User avatar
ahdavidson
 
Posts: 131
Joined: Wed Jun 03, 2009 9:59 am

Re: debugging serial dongle problem

Post by ahdavidson »

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 2905 times
config.png
config.png (28.78 KiB) Viewed 2905 times

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: debugging serial dongle problem

Post by adafruit »

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
ahdavidson
 
Posts: 131
Joined: Wed Jun 03, 2009 9:59 am

Re: debugging serial dongle problem

Post by ahdavidson »

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.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: debugging serial dongle problem

Post by adafruit »

should be

User avatar
ahdavidson
 
Posts: 131
Joined: Wed Jun 03, 2009 9:59 am

Re: debugging serial dongle problem

Post by ahdavidson »

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 ?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: debugging serial dongle problem

Post by adafruit »

you could try opening it with like zterm or something

Locked
Please be positive and constructive with your questions and comments.

Return to “SpokePOV (discontinued)”