Burning The Bootloader Without AVR-Writer
Burning The Bootloader Without AVR-Writer
html
2008.07.27 05:48(JST)
Japanese English
1 of 6 8/4/2023, 9:52 AM
Ardu no D ec m la / Burn ng the Bootloader w thout AVR-Wr ter https://make.kosakalab.com/ardu no/bootloader/ ndex_en.html
3. Downloading
i. "avrdude-serjtag" FTDI BitBang AVR-Writer
serjtag-0.3.zip mirror site
serjtag-0.3.tar.gz mirror site
ii. serjtag-0.3.zip original site (http://suz-avr.sblo.jp/archives/20070621-1.html)
serjtag-0.3.tar.gz original site (http://suz-avr.sblo.jp/archives/20070621-1.html)
iii. configure-file for avrdude-serjtag
avrdude.conf (Update: included chip-parameter of ATmega328P,168P and 88P)
iv. "avrdude-GUI (yuki-lab.jp Version)" GUI wrapper for avrdude
avrdude-GUI-1.0.5.zip mirror site
avrdude-GUI-1.0.5.zip original site (http://yuki-lab.jp/hw/avrdude-GUI/index.html)
v. avrdude-GUI (yuki-lab.jp Version) require Microsoft .NET Framework 2.0.
When .NET Framework 2.0 is not installed. Download it from here (Microsoft .NET Framework 2.0 download page) and install it.
4. Installing
i. avrdude-serjtag
Exract serjtag-03.zip.
Copy "avrdude-serjtag" folder into the "C:\Program Files" folder.
ii. avrdude.conf
Copy(overwrite) "avrdude.conf" into the "C:\Program Files\avrdude-serjtag\binary" folder.
This modified "avrdude.conf" has setting-scripts of "FTDI BitBang AVR-Writer" for Diecimila below.
#arduino diecimila
programmer
id="diecimila";
desc = "FT232R Synchronous BitBang";
type = ft245r;
miso = 3; # CTS X3(1)
sck = 5; # DSR X3(2)
mosi = 6; # DCD X3(3)
reset = 7; # RI X3(4)
;
5. Setting
Open the "C:\Program Files\avrdude-GUI-1.0.5" folder. And double click the "avrdude-GUI.exe" to run it.
2 of 6 8/4/2023, 9:52 AM
Ardu no D ec m la / Burn ng the Bootloader w thout AVR-Wr ter https://make.kosakalab.com/ardu no/bootloader/ ndex_en.html
6. Testing
i. Wiring
Connect the pins of X3 and the pins of ICSP by wires. Please see the photograph below. (click to enlarge)
3 of 6 8/4/2023, 9:52 AM
Ardu no D ec m la / Burn ng the Bootloader w thout AVR-Wr ter https://make.kosakalab.com/ardu no/bootloader/ ndex_en.html
another wiring
ii. Connect Diecimila and a PC by a USB cable.
iii. Run the avrdude-GUI.
iv. Read the Fuse-bits.
Click on the [Read] button of Fuse area.
4 of 6 8/4/2023, 9:52 AM
Ardu no D ec m la / Burn ng the Bootloader w thout AVR-Wr ter https://make.kosakalab.com/ardu no/bootloader/ ndex_en.html
iv. Burning
Click on the [Erase Write Verify] button of Flash area.
Wait until this working will be finished.
8. Confirming.
Disconnect USB-cable form the Dicimila.
Remove the wires of ICSP and X3.
Connect a USB cable to Diecimila again.
Push the reset button of Diecimila.
Start Arudino-IDE
Upload sample sketch "Blink".
And it will be run.
5 of 6 8/4/2023, 9:52 AM
Ardu no D ec m la / Burn ng the Bootloader w thout AVR-Wr ter https://make.kosakalab.com/ardu no/bootloader/ ndex_en.html
We can use Dicimila as an universal AVR-Writer if we use avrdude-serjtag,avrdude-GUI and the ICSP cable such as the photograph below.
(click to enlarge)
Thanks
Very thanks Mr.Suz who developed BitBang Mode AVR-Writer software "avrdude-serjtag", and Mr.Yuki who developed GUI-wrapper of
avrdude.exe.
Links
avrdude on FT245R/FT232R by Suz AVR-Research --> (Translation to English by Google)
avrdude on FT245R/FT232R(Linux) by Suz AVR-Research -->(Translation to English by Google)
FTDI Drivers for avrdude in Linux by Coffeebot Labs
avrdude-GUI (yuki-lab.jp Version) --> (Translation to English by Google)
BitBang Mode AVR-Writer on Mac --> (Translation to English by Google)
[Another Hack] Arduino meets Processing via WiFi. How to make cheap WiFi environment for Arduino by FON's router.
[Return]
6 of 6 8/4/2023, 9:52 AM