Closed jmgurney closed 5 months ago
Thanks for reporting, @jmgurney. It will be the missing prog_modes
feature that's needed in newer AVRDUDE versions. Try
#------------------------------------------------------------
# ft232r-cts
#------------------------------------------------------------
programmer # ft232r-cts
id = "ft232r-cts";
desc = "FT232R Synchronous BitBang, CTS for RESET";
type = "ftdi_syncbb";
prog_modes = PM_TPI | PM_ISP;
connection_type = usb;
reset = 3; # CTS
sck = 0; # TxD
sdo = 2; # RTS
sdi = 1; # RxD
;
ahh, this also likely explains the other error that I was seeing when bisecting the error. I'd have expected an error message since this is a change in behavior in a point release, either that prog_modes is missing, or that programmer ft232r-cts not used because of it missing.
That's a fair point. With PR #1810 it should look like
$ avrdude -qq -cdryrun -pm328p
avrdude warning: programmer ft232r-cts fails to specify prog_modes = PM_...; [/home/srueger/.avrduderc:57]
Thanks, works great.
If I checkout v7.2 and build it on MacOSX, I can have the following in
~/.avrduderc
:and 7.2 sees it fine:
But if I do the same for 7.3, the programmer is not found:
and the programmer ft232r-cts is not seen in
-c?
for 7.3, but it is for 7.2.After a bit of digging:
"works" in that the programmer is seen, but it fails with:
It identifies commit 91ffab5fc6f22 as the bad one, but 91ffab5fc6f22 fails to compile:
so the breakage was introduced in commits 91ffab5fc6f2 and aaddbbf18731.