So the other day I broke the USB connector off my board. Plenty of ways to fix this, but going forward I am going to start putting programming headers onto the boards I use and plug in an FTDI programmer to do the business. If you take a look at the picture above, you will see how I solved the problem in the short term, just cut a USB cable and wired it directly to the CH340 serial chip.
This is where I ran into trouble 🙂 you would think that red and black would be Vcc and Gnd, but no, this cable is not wired up to the USB standard at all. Red is D-, Black is D+, yellow is Gnd and White is Vcc. I was scratching my head for a while after I first wired it up and it was not working, then proceeded to buzz out each wire with the continuity meter.
Put the correct wires in the correct place and BOOM, i was able to program the micro. More to come on this board soon,
2 thoughts on “Standards”
FTDI is great. We use them by the pound at work, translating everything to everything else.
Yeah I am going to start to break out the progamming headers to pins and then use a ftdi programmer. I have one here, i was just lazy.