As "Michael Jonas" <[EMAIL PROTECTED]> wrote:

>As the original script I am trying to write the lock byte first. The
>connection to the programmer and to the board seems to work ok, but
>somehow I am unable to write the lock byte.

>/usr/local/bin/avrdude -v -p m8 -b 115200 -P usb -c avrispmkII -U
>lock:w:0xff:m

You cannot write a lock byte to 0xff, you can only clear bits in
the lock byte by writing.  The way back is *only* possible by
a chip erase.  As a chip erase is implied by specifying a -U
flash:w option, you probably don't need to do anything here.
-- 

J"org Wunsch                                           Unix support engineer
[EMAIL PROTECTED]        http://www.interface-systems.de/~j/


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

Reply via email to