[EDIT]
I finally stumbled across
this post, which I believe addresses my problem.
[/EDIT]
Hey all. I did a forum and web search before posting here. I'm trying to upgrade the firmware on my NG board so that I don't have to push the button every time I load a sketch. I built the DAPA programmer listed on the main site, and followed directions in the forum thread linked from there (for using avrdude) that didn't work, so I tried to use the burnpara.bat file... unfortunately, I don't know exactly what all the parameters should be, and now I've bricked my arduino. Any help would be appreciated:
What should the lock bit etc be? Everywhere I look I only find examples for the ATMega8.
tools\avr\bin\uisp -dpart=ATmega168 -dprog=dapa -dlpt=0x378 --wr_lock=0xFF
tools\avr\bin\uisp -dpart=ATmega168 -dprog=dapa -dlpt=0x378 --wr_fuse_l=0xdf --wr_fuse_h=0xca
tools\avr\bin\uisp -dpart=ATmega168 -dprog=dapa -dlpt=0x378 --erase --upload --verify if=bootloader\ATMegaBOOT.hex
tools\avr\bin\uisp -dpart=ATmega168 -dprog=dapa -dlpt=0x378 --wr_lock=0xCF
C:\Documents and Settings\Administrator\Desktop\arduino-0009\bootloader>burnpara
.bat
C:\Documents and Settings\Administrator\Desktop\arduino-0009\bootloader>REM Befo
re running this for the first time, you'll need to install giveio.
C:\Documents and Settings\Administrator\Desktop\arduino-0009\bootloader>REM Unzi
p drivers\giveio.zip, then run ginstall.bat.
C:\Documents and Settings\Administrator\Desktop\arduino-0009\bootloader>cd ..
C:\Documents and Settings\Administrator\Desktop\arduino-0009>tools\avr\bin\uisp
-dpart=ATmega168 -dprog=dapa -dlpt=0x378 --wr_lock=0xFF
Atmel AVR ATmega168 is found.
Writing lock bits ...
Reinitializing device
Atmel AVR ATmega168 is found.
Lock Bits set to 0xff
C:\Documents and Settings\Administrator\Desktop\arduino-0009>tools\avr\bin\uisp
-dpart=ATmega168 -dprog=dapa -dlpt=0x378 --wr_fuse_l=0xdf --wr_fuse_h=0xca
Atmel AVR ATmega168 is found.
Fuse Low Byte set to 0xdf
Fuse High Byte set to 0xca
C:\Documents and Settings\Administrator\Desktop\arduino-0009>tools\avr\bin\uisp
-dpart=ATmega168 -dprog=dapa -dlpt=0x378 --erase --upload --verify if=bootloader
\ATMegaBOOT.hex
Atmel AVR ATmega168 is found.
Erasing device ...
Reinitializing device
Atmel AVR ATmega168 is found.
Uploading: flash
Verifying: flash
flash error at address 0x1e80: file=0xc6, mem=0xff
flash error at address 0x1e81: file=0xe6, mem=0xff
flash error at address 0x1e82: file=0xd0, mem=0xff
C:\Documents and Settings\Administrator\Desktop\arduino-0009>tools\avr\bin\uisp
-dpart=ATmega168 -dprog=dapa -dlpt=0x378 --wr_lock=0xCF
Atmel AVR ATmega168 is found.
Writing lock bits ...
Reinitializing device
Atmel AVR ATmega168 is found.
Lock Bits set to 0xcf
C:\Documents and Settings\Administrator\Desktop\arduino-0009>cd bootloader
C:\Documents and Settings\Administrator\Desktop\arduino-0009\bootloader>
Thanks,
Tim