YouTube magic that brings views, likes and suibscribers
Get Free YouTube Subscribers, Views and Likes

Write .HEX file to Arduino Uno using the AVRDUDE command②

Follow
Devoutaman515

ノーマルなAuduino Uno使用Arduino ISPでは無いです
avrdydeコマンドを使ってArduino Unoに.hexファイルの書き込みが出来た。

0:00 LED Blink ・・・・ 0:50 Start writing .hex file
============================================
$ cd ~/Arduino/SSD1306_IC2_OLED
~/Arduino/SSD1306_IC2_OLED$ avrdude c arduino p m328p P /dev/ttyACM0 U flash:w:SSD1306_IC2_OLED.ino.standard.hex

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e950f (probably m328p)
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: reading input file "SSD1306_IC2_OLED.ino.standard.hex"
avrdude: input file SSD1306_IC2_OLED.ino.standard.hex auto detected as Intel Hex
avrdude: writing flash (20986 bytes):

Writing | ################################################## | 100% 3.36s

avrdude: 20986 bytes of flash written
avrdude: verifying flash memory against SSD1306_IC2_OLED.ino.standard.hex:
avrdude: load data flash data from input file SSD1306_IC2_OLED.ino.standard.hex:
avrdude: input file SSD1306_IC2_OLED.ino.standard.hex auto detected as Intel Hex
avrdude: input file SSD1306_IC2_OLED.ino.standard.hex contains 20986 bytes
avrdude: reading onchip flash data:

Reading | ################################################## | 100% 2.69s

avrdude: verifying ...
avrdude: 20986 bytes of flash verified

avrdude: safemode: Fuses OK (E:00, H:00, L:00)

avrdude done. Thank you.

============================
OS Xubuntu22.04LTS
Arduino IDE 1.8.19 (Linux)
avrdude version 6.3

posted by mercifulgrace5l