As we all know, programmer cables are no longer being made for purchase. The good news is that you can make your own programmer cable for only a few dollars in parts and a few minutes of your time!
!!!DISCLAIMER!!! Undertake the project at your own risk. I am not responsible for fried OSMs in the event something goes wrong. If you break it you get to keep both pieces! Additionally, I do not have an OSM2 to test this with yet, this tutorial has been made after reviewing the OSM2 pinout diagram. Again, undertake the project at your own risk!
- To make your own programmer cable, you will need the following:
- FTDI Breakout Board (USB to Serial), can be found for a couple bucks online
- Micro USB Cable, usaully can be obtained for free lying around the house
- Pliers/Wire Stripper, any tool, even scissors can be used to cut and strip wire
- Female Jumper Wire, sometimes included when you buy an FTDI Breakout Board but also can be bought for pennies
- Electrical Tape, used to insulate connections
- Recommended Items (Not necessary to make a working cable but looks nice):
- Heatshrink tubing, makes the end result neater and more secure
- Soldering Iron, offers perfect electrical connection, in a pinch you can twist the wires together and tape them
- Label Maker, used to label each cable
USB Cable on the left and FTDI Programmer on the right with jumper wires attached
The first step is to break out the wire snips and cut the USB cable in half. Strip away the top insulation to reveal the braided shielding.
Peel back the shielding to expose a foil like wrapper. This foil wrapper can also be pulled back and torn off. Twist the shielding into a single wire and strip the remaining 4 wires as pictured below. The string is for structural purposes and can be ignored.
Now it is time to find out which wire goes where. Here is a handy chart which shows you which wire from the USB cable correlates to which pin on the FTDI Breakout:
USB CABLE / FTDI BREAKOUT
CTS does not need to be connected.
It is now time to solder these for good. If you have heat shrink, now is a good time to slip a bit of heat shrink on each wire and a large one onto the USB cable. If you do not have a soldering iron, simply twist the wire pairs together and tape the connection securely. Be sure to eliminate the chances of shorts, which is why it is good practice to either tape or heat shrink wrap each individual wire connection.
Completed soldering with heat shrink ready to go
At this point the physical work is more or less complete and you should have a fully assembled programming cable:
I took the opportunity to label each individual jumper wire because I use my FTDI programmer for other purposes.
After this, drivers should be installed as normal and you can begin using the programmer cable!