$avrdude メモ

$avrdude -P /dev/ttyUSB0 -b 19200 -c avrisp -p m328p 
$avrdude -P /dev/ttyUSB0 -b 19200 -c avrisp -p m328p -v -e -U lfuse:w:0xe2:m  

/etc/avrdude.conf

programmer
  id="ftdi";
  desc = "FT232R Synchronous BitBang";
  #type = "ft245r";
  type = "ftdi_syncbb";
  miso = 3;  # CTS X3(1)
  sck = 5;  # DSR X3(2)
  mosi = 6;  # DCD X3(3)
  reset = 7;  # RI X3(4)
;
sudo avrdude -c ftdi -p m328p  -P ft0 -b 4800
$sudo avrdude -b 19200 -c ftdi  -p m328p -P ft0 -v -e -U lfuse:w:0xff:m 
$sudo avrdude -c ftdi -p m328p  -P ft0 -b 19200 -F -v -e -U flash:w:/usr/share/arduino/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex
http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p

コメントを残す

作者にコメントします。

掲載には承認判定があります。