Hendri's Notes

Author Topic: Hendri's Notes  (Read 5031 times)

admin

  • Administrator
  • Newbie
  • *****
  • Posts: 37
    • View Profile
Hendri's Notes
« on: March 21, 2016, 08:31:14 pm »
Code to read ATmega328p-pu with AVRDUDE in linux using the uno as arduino ISP as programmer.
Code: [Select]
avrdude -p m328p -P /dev/ttyACM0 -c STK500v1 -U flash:r:hendri.hex:r -b 19200
And this is to write the file back to a chip.
Code: [Select]
avrdude -p m328p -P /dev/ttyACM0 -c STK500v1 -U flash:w:hendri.hex:r -b 19200
« Last Edit: March 21, 2016, 08:38:21 pm by admin »