[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTDI plus Atmel AVR programming

From: Joerg Wunsch
Subject: Re: FTDI plus Atmel AVR programming
Date: Tue, 10 Jan 2023 23:00:01 +0100

As Didrik Madheden wrote:

> Yes, this is supported, but you need to add a programmer definition to
> tell avrdude which pin is used for what. You should be able to use
> this programmer in two different modes, but each mode has advantages
> and disadvantages. Serbb, which is very slow. Or ft245r/ftdi_syncbb
> mode, which is using hardware support in FTDI for bitbanging.

> type = ft245r;

I don't think you can name the programmer type "ft245r". You have to
name it "ftdi_syncbb".

> Add this to avrdude.conf

Preferrably to ~/.avrduderc (the personal config file).

${prefix}/etc/avrdude.conf will be overwritten by new releases.

> miso = 4;
> mosi = 6;

Note that AVRDUDE 7.1 (just released) changed these names to "sdi" and
"sdo", respectively. The old names are still recognized as a fallback

> gates = 3;

"gates" is not a known keyword.

So, the corrected entry is:

  id = "APU_2";
  desc = "http://kmpu.ru/other/ft232rl_usb-programmator-avr/index.html";;
  type = ftdi_syncbb;
  sdi = 6;   # DCD
  sck = 5;   # DSR
  sdo = 3;   # CTS
  reset = 7; # RI

Note that this is *almost* the same as the existing "arduino-ft232r"
programmer entry, except that the author of the above web page (for
whatever reason) swapped the SDI and SDO lines.

cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

Never trust an operating system you don't have sources for. ;-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]