Now here we can see all the steps required to burn a ATMega328P (on Windows platforms).
The first thing to do is to mount a virgin ATMega328P.
Go to "Start" -> "Run" -> write "cmd" and press the "OK" button.
Using the command line you have to go to the extracted "avrdude-serjtag" path.
In our case the path is :
So we have to write the commands :
cd d: cd "d:\avrdude-serjtag\binary\"
- Writing fuse bits without lock (lock is a pin where you can block/unblock burning operation from, and we unlock it):
avrdude -c diecimila -P ft0 -p m328p -t -B 4800 erase w efuse 0 0x05 w hfuse 0 0xda w lfuse 0 0xff quit
- Fast reading test:
avrdude -c diecimila -P ft0 -p m328p -t quit
- Burn the bootloader by command line mode ( without "-t" option):
avrdude -c diecimila -P ft0 -p m328p -U flash:w:ATmegaBOOT_168_atmega328.hex
- Writing Lock-Bit (we lock it):
avrdude -c diecimila -P ft0 -p m328p -t w lock 0 0x0f quit
If you want a preview of a successful job, take a look at the video.
Now you are ready to burn your ATMEGA chips on your own !