Replies: 2 comments
-
I do that my programmer is usbasp mega2560: avrdude -p atmega2560 -P usb -c usbasp -e -V -u -U lock:w:0xFF:m -U efuse:w:0xFC:m -U hfuse:w:0xD0:m -U lfuse:w:0xFF:m I did as stated above, but 16u2 starts in DFU mode and I cannot load the online configurator. The atmega2560 and atmega16u2 hex files are in this directory |
Beta Was this translation helpful? Give feedback.
-
Could someone help me how to install OpenDeck on Arduino Mega2560 with Windows 10? |
Beta Was this translation helpful? Give feedback.
-
C:\Users\New User>avrdude -p atmega2560 -P usb -c usbasp -e -V -u -U lock:w:0xFF:m -U efuse:w:0xFC:m -U hfuse:w:0xD0:m -U lfuse:w:0xFF:m
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: erasing chip
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "0xFF"
avrdude: writing lock (1 bytes):
Writing | | 0% 0.00s ***failed;
Writing | ################################################## | 100% 0.06s
avrdude: 1 bytes of lock written
avrdude: reading input file "0xFC"
avrdude: writing efuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of efuse written
avrdude: reading input file "0xD0"
avrdude: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of hfuse written
avrdude: reading input file "0xFF"
avrdude: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of lfuse written
avrdude done. Thank you.
C:\Users\New User>avrdude -p atmega2560 -P usb -c usbasp -U flash:w:mega2560.hex
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "mega2560.hex"
avrdude: error opening mega2560.hex: No such file or directory
avrdude: can't determine file format for mega2560.hex, specify explicitly
avrdude: read from file 'mega2560.hex' failed
avrdude: safemode: Fuses OK (E:FC, H:D0, L:FF)
avrdude done. Thank you.
C:\Users\New User>avrdude -p atmega2560 -P usb -c usbasp -V -u -U lock:w:0xEF:m
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: reading input file "0xEF"
avrdude: writing lock (1 bytes):
Writing | | 0% 0.00s ***failed;
Writing | ################################################## | 100% 0.06s
avrdude: 1 bytes of lock written
avrdude done. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions