Have used the FTDI232 usb programmer for ages to poke code into the pro mini's.
2 Days ago, wouldn't work. No com port showing up for the FTDI.
Tried Zadig, nothing worked.
Read around on the web and found reference to FTDI VCP drivers.
Downloaded and installed as per the setup instructions ....fine. ..... but checking Device Manager, unit shows as FT232R USB UART.....no work with Arduino.
Further checks found it was necessary to right click on this entry and update driver with "have disk" and point to another download from the same FTDI site ( 2.12.36.4 ) under the 64 bit heading.
So anyone unaware , that's it.
USB TTL programmer odd happening
- Flynn
- Posts: 92
- Joined: 17 Feb 2018, 14:48
Re: USB TTL programmer odd happening
The lack of enumeration is usually down to the libusbK driver being selected for the device instead of the WinUSB v6.1 driver, however you stated you had tried zadig and it didn't work..... Glad you got it sorted.
You only ever need two tools....WD40 and duct tape.
If it doesn't move when it should use the WD40 and if it moves and it shouldn't use the tape.
If it doesn't move when it should use the WD40 and if it moves and it shouldn't use the tape.
- Phil_G
- Posts: 783
- Joined: 15 Feb 2018, 23:32
- Contact:
Re: USB TTL programmer odd happening
I dont know if its still the case with later Windoze versions, probably not but USB drivers used to be on a 'per physical port' basis and you could be caught out by plugging your adapter into a different USB port than last time. Irrelevant if your MB ports all come off one internal hub.
Another thing that's caught me out several times is 'charge only' usb cables that look identical but dont have data connections!
Another thing that's caught me out several times is 'charge only' usb cables that look identical but dont have data connections!
- Mike_K
- Posts: 763
- Joined: 16 Feb 2018, 06:35
- Location: Hertfordshire
Re: USB TTL programmer odd happening
The FTDI chips have been amongst the most "cloned" chips in China, most adapters you buy from eBay or AliExpress have cloned FTDI and their reliability is not good. If yours has a cloned FTDI chip it has done well to last as long as it has.
I recommend abandoning programming Arduino with a serial adapter via the bootloader and using an ICSP - "in circuit serial programmer", they are often also called ISP (in-circuit being abbreviated to just "I"). I would have recommended a USBasp a few years back, but getting the drivers to work is so hit-and-miss that I wouldn't recommend them anymore. I now exclusively use an icsp made from an Arduino Nano called an "Arduino as ISP". It is so easy to make I'm surprised more don't use them. The details are on the Arduino site:
https://docs.arduino.cc/built-in-exampl ... rduinoISP/
Instead of using a Uno, I've made all of mine using a Nano with the "6-pin lead" made from two servo leads/plugs glued together with Cyano. You need a Nano with the header pins NOT soldered (they often get supplied with the headers already soldered).
I have not soldered the leads into the normal D11, D12, D13, 5V or GND pins, but used the Nano ISP header as it has duplicates of those connections. The only one not connected to the normal pins is the target RESET pin that is connected to D2 pin (the official instructions has it connected to D10, but I altered one line of the code to be D2 as the D2 pin is closer to the other connections I'm using to keep the wiring tidier). You can program the Nano either via its USB connector or if you already have an ICSP programmer, you can program it by temporarily using a 6-pin header in the icsp connections.
When glueing the plugs together you must get them the correct way around!
Then I heat-shrink the Arduino Nano
Connecting the ISP to an Arduino Uno and Nano is easy via their 6-pin (3x2) ISP header. Unfortunately most Pro Mini don't have an ISP header, so you need to connect directly to D11, D12, D13, 5V, GND and RESET pins on the Pro Mini. If you are making your own ISP you can make one with custom leads, D11, D12 and D13 are next to each other so a servo plug will directly fit to them and Vcc, RESET and GND are together, so another servo plug can directly connect to them, just ensure you get the servo plug the correct way around as it is easy to reverse the plug and reverse the polarity on a Pro Mini (don't ask how I know). The two servo plugs for the Pro Mini obviously are not glued together, but mark them carefully so you know which way around to connect them.
I recommend abandoning programming Arduino with a serial adapter via the bootloader and using an ICSP - "in circuit serial programmer", they are often also called ISP (in-circuit being abbreviated to just "I"). I would have recommended a USBasp a few years back, but getting the drivers to work is so hit-and-miss that I wouldn't recommend them anymore. I now exclusively use an icsp made from an Arduino Nano called an "Arduino as ISP". It is so easy to make I'm surprised more don't use them. The details are on the Arduino site:
https://docs.arduino.cc/built-in-exampl ... rduinoISP/
Instead of using a Uno, I've made all of mine using a Nano with the "6-pin lead" made from two servo leads/plugs glued together with Cyano. You need a Nano with the header pins NOT soldered (they often get supplied with the headers already soldered).
I have not soldered the leads into the normal D11, D12, D13, 5V or GND pins, but used the Nano ISP header as it has duplicates of those connections. The only one not connected to the normal pins is the target RESET pin that is connected to D2 pin (the official instructions has it connected to D10, but I altered one line of the code to be D2 as the D2 pin is closer to the other connections I'm using to keep the wiring tidier). You can program the Nano either via its USB connector or if you already have an ICSP programmer, you can program it by temporarily using a 6-pin header in the icsp connections.
When glueing the plugs together you must get them the correct way around!
Then I heat-shrink the Arduino Nano
Connecting the ISP to an Arduino Uno and Nano is easy via their 6-pin (3x2) ISP header. Unfortunately most Pro Mini don't have an ISP header, so you need to connect directly to D11, D12, D13, 5V, GND and RESET pins on the Pro Mini. If you are making your own ISP you can make one with custom leads, D11, D12 and D13 are next to each other so a servo plug will directly fit to them and Vcc, RESET and GND are together, so another servo plug can directly connect to them, just ensure you get the servo plug the correct way around as it is easy to reverse the plug and reverse the polarity on a Pro Mini (don't ask how I know). The two servo plugs for the Pro Mini obviously are not glued together, but mark them carefully so you know which way around to connect them.
- Phil_G
- Posts: 783
- Joined: 15 Feb 2018, 23:32
- Contact:
Re: USB TTL programmer odd happening
...or... a Promini adapter:Mike_K wrote: ↑31 Oct 2024, 20:22...Unfortunately most Pro Mini don't have an ISP header, so you need to connect directly to D11, D12, D13, 5V, GND and RESET pins on the Pro Mini. If you are making your own ISP you can make one with custom leads, D11, D12 and D13 are next to each other so a servo plug will directly fit to them and Vcc, RESET and GND are together, so another servo plug can directly connect to them, just ensure you get the servo plug the correct way around as it is easy to reverse the plug and reverse the polarity on a Pro Mini (don't ask how I know). The two servo plugs for the Pro Mini obviously are not glued together, but mark them carefully so you know which way around to connect them.
viewtopic.php?p=5124#p5124
-
- Posts: 349
- Joined: 19 Jun 2019, 04:09
Re: USB TTL programmer odd happening
The point was, nothing that I am aware of, hardware etc.had changed over the last 5 years and suddenly, no go.
As I showed, installed the setup file from VCP at FTDI and then did the right click "have disk" and added the extra file, all works again, same hardware.
All this about clone being ratshit , doesn,t hold water as I'm back to my same 5 year old hardware once again.
Can only assume either FTDI are up to their old tricks again or Windows channged something unbeknowns to me.
Anyhow, that's the fix as I outlined, if you want to use it.
As I showed, installed the setup file from VCP at FTDI and then did the right click "have disk" and added the extra file, all works again, same hardware.
All this about clone being ratshit , doesn,t hold water as I'm back to my same 5 year old hardware once again.
Can only assume either FTDI are up to their old tricks again or Windows channged something unbeknowns to me.
Anyhow, that's the fix as I outlined, if you want to use it.
- Phil_G
- Posts: 783
- Joined: 15 Feb 2018, 23:32
- Contact:
Re: USB TTL programmer odd happening
I've been meaning to try an "Arduino as ISP" programmer but its never been a priority as my usbasps are no trouble, so having decided not to go sloping today, I wired one up and of course it works fine. As I was doing 'plug 2' (pos, mosi, gnd) I thought I'd swap the red & white in the servo plug and on the Nano connections, to make it more logical - so red & black were pos & neg on the ICSP header and white was mosi. Then I noticed that I think Mike did the same!
This is only about colours, electrically the connections are exactly the same either way.
Another potential 'gotcha' is correctly selecting the programmer as "Arduino as ISP" and not "Arduino ISP"
As with a usbasp, use "Upload Using Programmer" not "Upload".
If anyone is struggling with usbasps and Zadig, this is a perfect alternative, thanks Mike
.
This is only about colours, electrically the connections are exactly the same either way.
Another potential 'gotcha' is correctly selecting the programmer as "Arduino as ISP" and not "Arduino ISP"

As with a usbasp, use "Upload Using Programmer" not "Upload".
If anyone is struggling with usbasps and Zadig, this is a perfect alternative, thanks Mike
.
- Mike_K
- Posts: 763
- Joined: 16 Feb 2018, 06:35
- Location: Hertfordshire
Re: USB TTL programmer odd happening
Yes Phil, I do swap the servo wires so red is +5V and the white is MOSI, but explaining that in my instructions was too difficult, so I didn't. Trust you to have noticed!
By default, it only runs at 19200 baud which has the advantage that it will talk to a "fresh" chip from the factory (running at 1MHz), but you can uncomment out faster speeds if you are programming ones where the fuses have already been set for 16MHz. And it works for ATtiny85 just as well as 328P.
- Phil_G
- Posts: 783
- Joined: 15 Feb 2018, 23:32
- Contact:
Re: USB TTL programmer odd happening
I noticed uploading was slower than a usbasp. I've not looked at the sketch but I thought it read the targets fuses and set its speed accordingly?
Anywho, for anyone struggling with Zadig, this works a treat, in fact I think it would be worthwhile if you split it from this thread and posted it as a separate project Mike?
Anywho, for anyone struggling with Zadig, this works a treat, in fact I think it would be worthwhile if you split it from this thread and posted it as a separate project Mike?
- Phil_G
- Posts: 783
- Joined: 15 Feb 2018, 23:32
- Contact: