Quickstart board (Rev. A) - Damaged USB connector
wmosscrop
Posts: 409
in Propeller 1
Well, I managed to break one of the internal pins (apparently one of the data pins) on the USB connector. Merry Christmas to me
I broke it in a way that apparently caused it to short to either +5V or ground within the connector, possibly damaging the FTDI chip or other circuitry. I've removed the offending pin but still have an issue.
I (of course) can no longer program the board via USB. I can program it via pins 30 & 31 (RS-232 to serial adapter circuit)--but only if power is supplied to the USB port.
This is a bit of a pain since this board is on my robot, so I have to connect and disconnect 2 connectors every time I want to reprogram the robot. Not to mention that sometimes disconnecting the USB plug causes a reset, so I generally have to store the new program to EEPROM rather than just RAM.
In the documentation for the board (Rev. A) it states "The USB circuitry, including U3 and U4, is powered from the USB bus, so when there is no USB connection present, the unpowered buffer's inputs float, leaving P30 available for other uses". Rev. B boards also do the same for P31.
So somehow I've damaged the board in a way that USB power is (apparently) required for pin 30 (and maybe 31) to work.
I'm not sure if the USB plug will take many more connect-and-disconnect cycles, so I have an idea to wire up a USB plug with just ground and 5V and power it from the robot's onboard power supply, leaving it connected all of the time.
I'm assuming that this won't cause any issues, but if anyone knows of a reason not to try this, please let me know.
And yes, I'm cheap, I know I could just replace the board.
Thanks,
Walter
I broke it in a way that apparently caused it to short to either +5V or ground within the connector, possibly damaging the FTDI chip or other circuitry. I've removed the offending pin but still have an issue.
I (of course) can no longer program the board via USB. I can program it via pins 30 & 31 (RS-232 to serial adapter circuit)--but only if power is supplied to the USB port.
This is a bit of a pain since this board is on my robot, so I have to connect and disconnect 2 connectors every time I want to reprogram the robot. Not to mention that sometimes disconnecting the USB plug causes a reset, so I generally have to store the new program to EEPROM rather than just RAM.
In the documentation for the board (Rev. A) it states "The USB circuitry, including U3 and U4, is powered from the USB bus, so when there is no USB connection present, the unpowered buffer's inputs float, leaving P30 available for other uses". Rev. B boards also do the same for P31.
So somehow I've damaged the board in a way that USB power is (apparently) required for pin 30 (and maybe 31) to work.
I'm not sure if the USB plug will take many more connect-and-disconnect cycles, so I have an idea to wire up a USB plug with just ground and 5V and power it from the robot's onboard power supply, leaving it connected all of the time.
I'm assuming that this won't cause any issues, but if anyone knows of a reason not to try this, please let me know.
And yes, I'm cheap, I know I could just replace the board.
Thanks,
Walter
Comments
And I have 3 boards. One is fried.
Not surprising. The surprise is that only one board is fried. Pin 39 is the +3.3V connection to the board and you are putting 4.8 to 6V in depending on the type of battery. The +Vin should be connected to pin 40 (Vin), the input to the on board 3.3V regulator.
I first tried modifying a micro USB connector. That didn't work.
Well I am surprised they're not toast. If your 6V battery pack is connected directly to pins 38 & 39 of the 40 pin header as you posted the propeller chip is running on 6 volts. Is it a miracle or could it be connected somewhere else?
Ken Gracey
I could mistaken about how I numbered the pins. With the pin header at the top I'm using the two pins on the right.
That sounds right. I should probably order a label that clears it up for me.
I'll still order a label because it is tedious to have to use a piece of wire whenever I want to identify a pin.
I've attached the Brother label file to this post.
https://www.parallax.com/product/120-00003
My idea (to power the USB port) works fine.
kwinn -
Your idea to wire up a connector (for a prop plug) is close to what I implemented. For some reason the prop plug won't work with my fix, but the RS-232 to serial adapter works.
Duane -
Thanks for the kind offer, but I have an acceptable workaround (at least until I break something else...) I thought about replacing the connector myself but I know better than to try to fix something this small.
Ken -
Thank you also for your very kind offer, but I will pass. I do appreciate Parallax standing behind their products. The issue (with the broken connector) was entirely my fault. The board still works for my needs; in fact, it's now easier to program via the header instead of the USB port. If it does fail in the future I have no issues with purchasing another board.
My lesson learned is to mount boards so that the connectors can be mated properly, not at an angle, and not under physical stress.
Thanks,
Walter