Questions tagged [avrdude]

AVRDUDE is used in development for Atmel AVR microcontrollers to access the contents of the ROM/EEPROM memories on the target platforms.

AVRDUDE is a set of tools to manipulate the memory on Atmel AVR microcontrollers. It's a commandline utility available for many POSIX-compatible operating systems and Windows.

It can be used to manipulate the

  • ROM
  • EEPROM

of AVRs. The following operations are supported:

  • download
  • upload
  • in-place manipulation
199 questions
23
votes
5 answers

AVRISP MKII doesn't work with AVRDUDE on Linux

The system sees something is plugged in when I plug and unplug it: bluehat@Matapan:/dev$ tail -f /var/log/syslog Mar 23 15:36:35 Matapan kernel: [156082.112874] usb 7-1: new full speed USB device using uhci_hcd and address 6 Mar 23 15:47:19 Matapan…
Katy Levinson
  • 777
  • 1
  • 6
  • 15
15
votes
8 answers

Mac + Uno + avrdude: stk500_recv(): programmer is not responding

I'm trying to upload .hex file to Arduino. I don't have any problems with uploading code through an IDE (like blink example or any other). The port and board are correct. So, the problem appears when I try to upload avrdude -pm328p -carduino…
Mikhail Chuprynski
  • 2,404
  • 2
  • 29
  • 42
11
votes
7 answers

ATMega328P "AVRDude: Could not find USBTiny Device (0x1781/0xc9f)"

Good afternoon, I recently assembled an ATMega328P based micro-controller PCB of my own design. I feel good about the circuit itself as I managed to upload the Arduino Blink sketch via the Sparkfun AVR Pocket Programmer. After uploading this sketch…
user3185748
  • 2,478
  • 8
  • 27
  • 43
8
votes
3 answers

AVRISPmkII connection status: Unknown status 0x00

Well.. I've been searching on the web in many corners.. but I could not find a solution to my problem. Last time I used my AVRISP2 it worked fine. Now I get the following message when I try to write my program on the uC: avrdude: stk500v2_command():…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
6
votes
2 answers

Using Arduino Libraries with AVR-G++

Is there a simple way to use libraries intended for the Arduino IDE with the C and assembly code I write for AVR-G++/AVR-GCC? I'm trying to use the Adafruit Wave Shield library, but simply including the header and cpp files don't do much good. Can I…
Anon
  • 5,103
  • 11
  • 45
  • 58
5
votes
2 answers

AVRDUDE command line can't connect to programmer for Leonardo

I am trying to connect to an Arduino Leonardo from the command line using: ./avrdude -patmega32u4 -C../etc/avrdude.conf -cavr109 -P/dev/cu.usbmodem1421 I get a series of the following errors: avrdude: butterfly_recv(): programmer is not…
Trevor Shaw
  • 123
  • 1
  • 10
4
votes
2 answers

AVR for Xcode 4?

Has anyone had success using xcode 4 as an IDE for AVR microcontrollers? Is it possible to have the same amount of integration as the plugin for eclipse?
Nathan
  • 835
  • 3
  • 11
  • 20
4
votes
2 answers

Arduino Programming Without Arduino Libraries - Atmel Studio

I would think this question has been asked thousands of times, I simply cannot find many resources on the subject. I would like to program my Arduino Uno (ATmega328P) using Atmel Studio and the C language, minus the Arduino Libraries. What I mean by…
Joshua Granger
  • 152
  • 1
  • 2
  • 10
3
votes
0 answers

How do I upload an object file generated by LLVM to Arduino?

I'm making a simple language for Arduino, and want to compile this with LLVM. I tried to generate LLVM IR (to understand what LLVM IR is generated from the Arduino code). I used this command: > clang -S -emit-llvm -Os -fno-exceptions…
3
votes
2 answers

Arduino IDE not able to Upload Sketch (Ubuntu 18.04 LTS)

I've recently switched to a Linux Machine and tried to set up my Arduino IDE for a little project. Unfortunatly I get an error message when I try to upload my sketch to the Arduino (Uno R3). User configuration file does not exist or is not a…
SF23
  • 174
  • 1
  • 12
3
votes
1 answer

Running avrdude commands as SCons targets

I want to be able to call avrdude from SCons as a target. For example, running scons erase-device should run the avrdude command for doing so. I'm attempting to do this by creating Builder objects that call avrdude and adding them to the…
Jesse DeGuire
  • 359
  • 3
  • 7
3
votes
1 answer

C executable to hex

I am using CLion as IDE. After building the output is an executable file example. What I would like to achieve is make .hex file from it and upload it to my AVR via avrdude. I read and tried some possible solutions here xxd -p example | tr -d '\n' >…
etilge
  • 85
  • 1
  • 9
3
votes
2 answers

avrdude and atmega48pa

Can i programm the atmega48pa with avrdude? I have problems with the signature ... % avrdude -pm48 -cavrisp2 -Pusb -V -U flash:w:main.hex avrdude: AVR device initialized and ready to accept instructions Reading |…
silvio
  • 2,174
  • 20
  • 36
3
votes
2 answers

how to make Mac detect AVR board using USBasp and burn program to it?

I am new to Embedded, starting with AVR programming using C. I am working on Mac OS 10.9.4, so far I am using avrdude and xCode as IDE. It works very well, for now I am testing my code using Proteus. But now I want to burn my .hex to AVR ATMega16…
Ishan Dhingra
  • 2,442
  • 5
  • 31
  • 42
3
votes
1 answer

Uploading Arduino hex file using avrdude

I need to use avrdude from a terminal to upload the compiled Arduino sketch (.hex file) to my Arduino Pro Mini 5V. I am programming the Pro Mini board with an FTDI 5V. When I plug in the board into my machine and run the avrdude command with the…
Darth.Vader
  • 5,079
  • 7
  • 50
  • 90
1
2 3
13 14