New (and simpler) version of BOB-SCAP (01-02 2015 French Elektor)
This is a simpler version of BOB-SCAP, backup AVR programmer. There is no added hardware, the signals are reversed by software.
Since SCAP was directly connected to a physical serial port, in order to make BOB-SCAP work it was necessary to add a 74(LS)04 to reverse the signals between the BOB-FT232R and the AVR programmer socket.
In the meantime, I built another AVR programmer interfaced with a BOB-FT232R and in reading avrdude.conf file, I realized that it was actually possible to reverse the signals in the software, thereby eliminating the need of adding hardware.
Consequently, BOB-FT232R in itself can be a simple backup AVR programmer.
The only difference is then found in the avrdude.conf file.
For the hardware reversed signals, BOB-SCAP definition in avrdude.conf was actually the same as SCAP:
# --------------------------------------------------------------------------------
# BOB - Serial Cheap AVR Programmer (BOB-SCAP)
# reset=rts sck=dtr mosi=txd miso=dcd
programmer
id = "bob-scap";
desc = "BOB - Serial Cheap AVR Programmer, reset=rts sck=dtr mosi=txd miso=dcd";
type = serbb;
reset = 7;
sck = 4;
mosi = 3;
miso = 1;
;
# --------------------------------------------------------------------------------
For the programmer I am proposing now, named BOB-INVERSE-SCAP, the definition in avrdude.conf is as follow (note the tilde in front of each signal, except ret that is not used anyway):
# --------------------------------------------------------------------------------
# BOB INVERSE - Serial Cheap AVR Programmer (BOB-INVERSE-SCAP)
# reset=rts sck=~dtr mosi=~txd miso=~dcd
programmer
id = "bob-inverse-scap";
desc = "BOB Inverse Serial Cheap AVR Programmer, reset=rts sck=~dtr mosi=~txd miso=~dcd";
type = serbb;
reset = 7;
sck = ~4;
mosi = ~3;
miso = ~1;
;
# --------------------------------------------------------------------------------
The way of using BOB-INVERSE-SCAP with avrdude is exactly the same as using BOB-SCAP and is described in the article.Build This Project
Bring this design to life with the Elektor PCB Service, powered by Eurocircuits. Upload the project files and order professionally manufactured PCBs or assembled boards through a proven European production platform.
Supporting KiCad, Eagle, Gerber, and ODB++ formats, the service is suitable for everything from prototypes and validation builds to series production and volume manufacturing.
Made in Europe. Fast. Reliable. Professional.

Aggiornamenti dell'autore