1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-06-29 00:25:28 +03:00

atusb/fw/Makefile: lock fuse refuses 0xef; set it to 0x2f to pass verification

This commit is contained in:
Werner Almesberger 2011-03-09 03:11:15 -03:00
parent b8fc1a7f54
commit b5fd6e3132

View File

@ -122,13 +122,15 @@ upload: $(NAME).bin boot.hex
# lfuse: external clock, slow start-up
# hfuse: 4 kB boot loader, reset into boot loader
# lock: allow everything but SPM to the boot loader
# Note: when trying to program 0xef, we get back 0x2f, failing
# verification. So we just program 0x2f.
prog:
ssh $(HOST) avrdude -F -p $(CHIP) -c nanonote_atusb -e \
-U flash:w:boot.hex:i \
-U lfuse:w:0x60:m \
-U hfuse:w:0xde:m \
-U lock:w:0xef:m
-U lock:w:0x2f:m
# -U flash:w:$(NAME).bin:r \