HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

avrdude — Driver program for Atmel AVR microcontrollers programming. More information: <https://www.nongnu.org

Submitted by: @import:tldr-pages··
0
Viewed 0 times
atmelcommandavrdudeavrcliprogramdriverfor

Problem

How to use the avrdude command: Driver program for Atmel AVR microcontrollers programming. More information: <https://www.nongnu.org/avrdude/user-manual/avrdude_3.html#Option-Descriptions>.

Solution

avrdude — Driver program for Atmel AVR microcontrollers programming. More information: <https://www.nongnu.org/avrdude/user-manual/avrdude_3.html#Option-Descriptions>.

[r]ead the flash ROM of a AVR microcontroller with a specific [p]art ID:
avrdude -p {{part_no}} -c {{programmer_id}} -U flash:r:{{file.hex}}:i


[w]rite to the flash ROM AVR microcontroller:
avrdude -p {{part_no}} -c {{programmer}} -U flash:w:{{file.hex}}


List available AVR devices:
avrdude -p \?


List available AVR programmers:
avrdude -c \?

Code Snippets

[r]ead the flash ROM of a AVR microcontroller with a specific [p]art ID

avrdude -p {{part_no}} -c {{programmer_id}} -U flash:r:{{file.hex}}:i

[w]rite to the flash ROM AVR microcontroller

avrdude -p {{part_no}} -c {{programmer}} -U flash:w:{{file.hex}}

List available AVR devices

avrdude -p \?

List available AVR programmers

avrdude -c \?

Context

tldr-pages: common/avrdude

Revisions (0)

No revisions yet.