Last active
December 23, 2020 12:49
-
-
Save colesnicov/e1a49409d92ae013a6b2bcf6580ccaea to your computer and use it in GitHub Desktop.
How to program AVR devices. Terminal commands...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Priklad: avrdude -v -p<MCU> -c<PROGRAMMER> -P<PORT> -b<BITRATE> -Uflash:w:<FILE>:i | |
Priklad pro programovani ATMEGA328P s pomoci arduino jako ISP programator. | |
MCU=atmega328p | |
PROGRAMMER=STK500v1 (aka arduino as ISP) | |
PORT=/dev/ttyUSB0 | |
BITRATE=19200 | |
avrdude -v -patmega328p -cstk500v1 -P/dev/ttyUSB0 -b19200 -Uflash:w:<file.hex>:i | |
Pouziti USBISP programatoru: | |
Priklad: avrdude -v -p<MCU> -c<PROGRAMMER> -P<PORT> -Uflash:w:<FILE>:i | |
MCU-atmega328p | |
PROGRAMMER=usbasp | |
POSR=/dev/usbasp | |
avrdude -v -patmega328p -cusbasp -P/dev/usbasp -Uflash:w:/tmp/arduino_build_508229/Blink.ino.hex:i | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment