ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
4 июля
123557
cvv (23.06.2008 12:58, просмотров: 8096)
avrdude не может прошить фьюзы в AtMega48. Не могу понять что ему не так. 
# avrdude -p m48 -U hfuse:w:0xDC:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9205
avrdude: current erase-rewrite cycle count is -117834497 (if being tracked)
avrdude: reading input file "0xDC"
avrdude: writing hfuse (1 bytes):

Writing |                                                    | 0% 0.00s ***failed;
Writing | ################################################## | 100% 0.04s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xDC:
avrdude: load data hfuse data from input file 0xDC:
avrdude: input file 0xDC contains 1 bytes
avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0xdc != 0xdf
avrdude: verification error; content mismatch

avrdude: safemode: hfuse changed! Was dc, and is now df
Would you like this fuse to be changed back? [y/n] y
avrdude: and COULD NOT be changed
avrdude: safemode: Fuses not recovered, sorry

avrdude done.  Thank you.
wbr Vitaly