I'm trying to use avrdude to write the lock bits and fuses on a 328P with a 
JTAG ICE mkii. Here is the command:

"C:\Program Files\arduino-0017\hardware/tools/avr/bin/avrdude" "-CC:\Program 
Files\arduino-0017\hardware/tools/avr/etc/avrdude.conf" -v -v -v -v -pm328p 
-cjtag2isp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDA:m 
-Ulfuse:w:0xFF:m

It tries to write the the lock bit but fails the read back verification.

According to the avrdude doc "Only the memory programming functionality of the 
JTAG ICE is supported by AVRDUDE".
I have a few questions regarding this:

1. Is this limitation for the mkii as well?
2. Since the JTAG ICE mkii is capable of programming the lock bits and fuses (I 
can do it with AVR Studio), why isn't this functionality supported in avrdude?


_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to