Questions tagged [avrdude]
Avrdude is an acronym for AVR Downloader/UploaDEr and is a free open source in-system programming software for Atmel AVR microcontroller.
160 questions
13 votes
3 answers
5k views
Why does compiler optimization flag cause function definitions other than main() to break program in AVR ATMega C code?
I am using avr-gcc and avrdude to write programs onto an ATMega8515 micro-controller. I have got the blinking LED program working without a hitch. However, when I started to use interrupts and ...
1 vote
1 answer
73 views
Cannot upload to Atmega328p twice in a row
I've successfully burned a bootloader to my Atmega328p via the SPI interface, and then used this CH340 and a level converter to successfully upload code to the chip. However, every time I upload code, ...
1 vote
0 answers
371 views
avrdude OS error: file not readable invalid argument
I decided to get into the world of "naked" microcontrollers (started with Arduino), found an ATtiny 85 among my parts and an USBasp and decided to first make a blink sketch. Did everything ...
1 vote
0 answers
84 views
Issues with AVRISP MKII programmer
I am trying to program ATtiny10 using AVRISP MKII programmer and AVRDUDESS, spend 2 days trying to flash it but had no luck. Now I came up with a few issues regarding AVRISP MKII programmer, which ...
0 votes
0 answers
94 views
AT90USB1286 bricks after disabling clock divider
I have an AT90USB1286 which is connected to a 16MHz external crystal oscillator. It is my understanding that by default from the factory the CKDIV fuse is enabled which makes the chip run at an ...
0 votes
2 answers
242 views
ATmega32u2 example circuit sanity check
I'm working on a project and have decided to make it with the ATmega32u2. In the process I am trying to make an ATmega32u2 breakout board which only has the required components to run the device (...
2 votes
2 answers
3k views
AVRDUDE verification error
I've been working with AVR microcontrollers (specifically with ATmega328p's) for a bit and I got an ATmega32u4 that I wanted to program it to be used as a USB peripheral. However there is one problem: ...
0 votes
1 answer
156 views
How does the ATMega32 know that the incoming SPI data signals are the program to be burnt?
From my understanding, in order to burn a C program to the ATMega32's flash memory, the program is first compiled and converted into a hex file which is then uploaded using a computer program such as ...
2 votes
2 answers
822 views
How to do a factory-reset on an AVR micro-controller?
I'm programming an ATmega32 chip, and have set some bits as 1 in some DDRs and PORTs. In case I forget what bits I had set to 1, is there a way to set all the register bits to a value(1 or 0) that was ...
1 vote
1 answer
222 views
Why does AVRDUDE require part ID as an input parameter when it detects the device signature by itself?
When I type the following in terminal avrdude -p m32 -c usbasp I get the following as output ...
0 votes
2 answers
575 views
External RC oscillator fuse programmed instead of external crystal fuse
Is there anyway to revive an Atmega8A? avrdude says avrdude: error: program enable: target doesn't answer. 1 ever since I ...
1 vote
1 answer
1k views
Clone ATtiny13A flash memory using USB ASP programmer
I have a working device with flashed ATtiny13A inserted in DIL8 socket. I am guessing that the uC does not have a locking bit set (since I was able to read it [?]). That is all I know at this point. I ...
0 votes
2 answers
355 views
Invert Avrdude signal for Reset pin
Good day all, I have a bit of a pickle on hand. I have a project where we would like to use ICSP to program an atmega328p. We can do this quite easily using Avrdude with a custom config file, however, ...
1 vote
1 answer
663 views
Can't connect to Atmega328p with avrdude
I'm trying to connect to a pretty old Atmega328p that was sitting on a solderless breadboard for years. I'm using a TinyUSB programmer that also powers the MCU. When I try to connect to it, I have the ...
3 votes
1 answer
538 views
Programming AT89S8252 with Avrdude
I've been using the below avrdude.conf segment for an AT89S8253 (https://www.edaboard.com/threads/avrdude-and-at89s8253-conf-file.76766/) as a starting point for an AT89S8252. I've struggled to find ...