Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

Filter by
Sorted by
Tagged with
2
votes
1answer
7k views

AVRDUDE throws “target doesn't answer.” with USBASP and ATMEGA48PA

So far, I could reprogram a circuit with an ATMEGA48PA without problem. Until I got (after apparently was programed successfully): ...
-4
votes
5answers
2k views

The output voltage of my atmega16 is zero?

I'm write a simple program with winavr: ...
3
votes
5answers
6k views

Arduino Mega 2560 stuck at uploading

I have two Arduino Mega 2560 boards, both gives errors when trying to upload sketches (I bought the second board thinking its a fault with the first one, but same thing happen with the new board). ...
0
votes
2answers
4k views

Always getting ser_recv() on upload

I am new to microcontrollers (not electronics) and build a Shrimp except using CP2102 I am using a FT232RL UART. I am not using DTR connection for auto-reset, because it is not connected on my cable. ...
5
votes
2answers
6k views

avrdude -B 3 parameter

I'm new to AVR programming, I got this atmega8A chip and I use avrdude with a USBasp that I made myself, for programming it. For some reason the chip won't answer if I don't use the ...
5
votes
2answers
2k views

Does Arduino need the bootloader if programmed with programmer?

I am trying to program a few Atmega328 (not Atmega328p) with an ICSP. These are TQFP. What I am trying to do is to upload the program to a fresh chip without having to first load the bootloader. I ...
3
votes
4answers
20k views

ATmega 8: target doesn't answer 1

I am trying to connect my atmel atmega8 with usbasp (V0.2) to my PC. I follow this tutorial to connect my atmega to usbasp. I have a 6-pins connector: ...
3
votes
1answer
3k views

Setting up an external clock source on an ATmega8

I am attempting to set up V-USB on my ATmega8-16PU (datasheet), and could use some help hooking up an external crystal clock source to it. I have tried to understand the datasheet to the best of my ...
8
votes
3answers
1k views

Can a hobbyist ARM setup be as simple as this AVR one?

I like how simple an Atmel AVR setup can be for hobbyist assembly language programming. For example: Put a plain ATmega DIP chip {A} on a breadboard Connect 6 pins to a USB programmer {B} connected ...
5
votes
4answers
6k views

Programming an ATtiny 85 with Arduino

I followed this tutorial and got the following error when trying to compile upload the attiny85 sketch: avrdude: usbdev_open(): did not find any USB device "usb" ...
4
votes
1answer
9k views

Arduino's “Upload Using Programmer” for ATmega328 (not ATmega328P)

I am using the the Atmega328 (not the Atmega328P that is standard with Arduino) on a breadboard version of the Arduino. I am able to get the bootloader on the Atmega328 using these instructions. In ...
5
votes
1answer
3k views

Failing to write ATMega16U4 fuses with avrdude

I'm trying to set the fuses on an ATMega16U4 with avrdude. The first problem I encountered is that avrdude version 5.11.1 does not seem to support ATMega16U4. Someone mentioned on avrfreaks that you ...
2
votes
2answers
5k views

Atmega328p, avrdude and setup

I'm starting to learn how to program micro controllers. This is my current setup. When I'm trying to flash a Hello World program with AVRDude I'm getting the following message: ...
2
votes
1answer
3k views

Is it possible to use openocd to program an atmega using an AVR ISP (mk2)?

I have an ATMega2560 on a custom board which I want to program with my AVRISP mkii. I have successfully programmed it using the Arduino IDE, and also over the commandline using avrdude. Is there a ...
1
vote
3answers
5k views

Changed fuses on ATtiny85, now Invalid Device Signature

I changed the clock fuse bits on my ATtiny85. Now I can't flash anything to it or even change the fuse back. I get the error: ...
7
votes
1answer
12k views

Backup AVR with avrdude

I'm heavily experimenting with ATtiny AVR's and I can't afford to buy a new AVR for every experiment, so I thought up a backup script. The idea is that I can bring my AVR back to factory defaults ...
6
votes
3answers
4k views

Setting pin to high in function instead of main, not full voltage output?

I have a function which turns on a LED by setting PB1 to HIGH. The light from the LED is barely visible. If I set PB1 to HIGH in my main function the light from the LED is as bright as it should be. ...
0
votes
1answer
2k views

Arduino Blink example does not run after upload from eclipse

I just started with my first Arduino project. I am trying out the Blink example. I have set up eclipse for arduino 1.0 and the code compiles without errors (both lib project and blink project). I used ...
0
votes
1answer
374 views

ICSP on an AVR with broken CLKI returns 0x00's

For fun, I have been working on a development board for the Atmel ATmega128RFA1, similar to the official board and the sparkfun one. Mostly I'm doing it because it's fun – I'm a software guy. I ...
3
votes
1answer
1k views

programmer is not responding with stacked shields

I keep getting the following error when trying to upload my code with the Arduino IDE: avrdude: stk500_recv(): programmer is not responding I stacked the ...
4
votes
4answers
7k views

AVR Atmega32 flash verification error

I just got an Atmega32A chip and I've been trying to program it with a usbasp for quite a few hours. I can change the fuses and write the program, but verification fails. I'm getting this message ...
6
votes
3answers
3k views

Bit bang ATmega328 with Arduino bootloader using AVRDUDE

I have an Arduino Uno development board with a blank ATmega328 chip (no Arduino bootloader. The chip that came with the unit is soldered in a separate stand-alone project so that I can use the Arduino ...
0
votes
2answers
2k views

What possible ways can I upload sketches to Arduiono Mega chips?

I have been updating the embedded code on a set of Arduino Mega chips. I have been performing the upload via USB. Unfortunately, this is extremely unreliable. I get an error along the lines of ...
1
vote
3answers
3k views

Suggestions for rescue of an ATmega328P

I have an ATmega328P that seems to be fried. It was in an Arduino board (Freakduino-chibi, specifically) and working when it suddenly stopped responding at all. Investigation showed that the fault ...
0
votes
1answer
990 views

AVRDUDE throws errors when attempting ISP with AVR Dragon

I've got an Arduino board that I'm trying to program via ISP with an AVR Dragon. I think I've got it all cabled up right (I made my own ISP cable by cutting up an old floppy ribbon cable), but when I ...
4
votes
1answer
3k views

Arduino Diecimila (ATMEGA168) + JTAG ICE MKII Hell..Did I Fry the Chip?

Two weeks ago, I pulled out my AVR JTAG ICE MKII and successfully burned a few C programs to my Arduino through AVRStudio 4 SP3. Everything was working very well. Life caught up to me and I did not ...
4
votes
1answer
796 views

AVRDude not reading fuses in Eclipse with USB attached STK600

I can successfully burn programs using my USB connected STK600 through Eclipse/AVRDude. From the command line, I can read fuses (using: ...
22
votes
4answers
2k views

Why do we need hardware programmers?

I use a Boarduino and a 30-row bread board to program my ATtiny. I load a not too complicated sketch called ArduinoISP (included by default now in the Arduino IDE), and suddenly I have a working ...
1
vote
3answers
1k views

Which programmers work with the Atmel Raven boards?

This post answers the question of if it possible to program an Atmel AVR Raven board with avrdude or not. Yes, it is possible. My question is which programmers will work with the Atmel Raven + ...
1
vote
1answer
3k views

avrdude and atmega48pa

Can i programm the atmega48pa with avrdude? I have problems with the signature ... ...
2
votes
1answer
2k views

ATMega644PA possibly bricked by setting fuses with avrdude

I have been programming an ATMega644PA with avr-gcc and avrdude on linux for a little while with no problems. Well until I decided to change some fuses. I had been using the option for avrdude ...
4
votes
3answers
3k views

Using Arduino to program Amtel AVRs via ICSP header

I have an Arduino (NG) board with an ATMEGA168 AVR micro. The board has a 6 pin ICSP header. Here is what I propose to do, please tell me if it is possible: Remove current ATMEGA168 IC Replace with a ...
8
votes
5answers
4k views

Firsthand experience with Linux AVR IDE

I am looking for some input into getting a good integrated development environment set up for AVR programming under Linux (Assembly and C). My studies gave me some limited practical experience with ...
2
votes
1answer
1k views

Lilypad upload error

I'm trying to get the Lilypad working on my machine but i get the following error. I had a Google for it but everything keeps pointing to a problem with the board. I swapped it out and tried another ...
8
votes
1answer
4k views

Upload to an Arduino from the command line

If I have a sketch compiled to hex, is it be possible to upload this sketch to an Arduino board using avrdude directly from command line? Pekkaa figured out that arduino ide executes the following ...