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
1
vote
0 answers

How to setup two different led delays for a specific sequence?

I am working on a program that is suppose to create a certain blink sequence on my arduino board (atmega328p). The pattern that I am trying to create is, ON for 1/2 second OFF for 1/2 second ON for 1/2 second Off for one full second Repeat…
VAM7965
  • 41
  • 3
1
vote
1 answer

How to solve this error "avrdude: error reading signature data, rc=-67"?

I am using Arduino Uno WiFi. At first, the sketches were successfully uploading on the board. Then, I started getting the following error without changing anything in the code: Is it a hardware problem, or the board is broken? Any Help?
1
vote
0 answers

Deploying program from Atmel Studio or Avr dude to Atmel "XMEGA-A3BU Xplained"

Im attempting for the last 3-4 days to connect the Atmel dev board to the computer in order to either load the .elf or hex file to the bootloader in order to turn on the LED based for an assignment. Im following instructions based on the online…
cyber101
  • 2,822
  • 14
  • 50
  • 93
1
vote
2 answers

How to replace the bootloader of an ATMEGA88

I have a board with an ATMEGA88 chip which has a bootloader at address 0x1800 and a firmware at address 0x0000. Both have access to USB. The bootloader can write a new firmware but now I need to write a new bootloader. Sure, this is no problem when…
kayahr
  • 20,913
  • 29
  • 99
  • 147
1
vote
1 answer

Arduino IDE is able to use avrdude to flash hex file, but command line on ubuntu is unable to

Good day all, I have an arduino pro micro (Chinese knock off version) with which I am able to flash to with the arduino IDE but I am unable to recreate the same effect with avrdude in the terminal on Ubuntu 16.04 This is what I have observed from…
Philip Wee
  • 113
  • 7
1
vote
0 answers

AVRDude on Raspberry Pi programming ATTiny1634

I am using AVRDude 6.3 on a Raspberry Pi Zero to program an ATTiny1634. The microcontroller is soldered to a breakout board I made myself. It simply exposes the pins of the chip to pin headers which is sitting on a breadboard. I have connected the…
1
vote
3 answers

How to upload a hex file into an Arduino Leonardo using avrdude from the command line?

I don't like programming using the setup and loop style of the Arduino IDE. I like to use avr-gcc and avrdude directly. I have done it before with Arduino Uno (ATmega328P) with no problems, but I can't figure out how to do it with Leonardo…
Ernest Dujo
  • 61
  • 3
  • 11
1
vote
2 answers

Qprocess and avrdude

i'm trying to create a simple QT program that allows me to launch avrdude without using command line operations. I saw that with Qprocess it's easy to launch any kind of program and I tried succesfully with simple programs like Explorer Word and…
1
vote
1 answer

AVR SPI programming issue

I'm trying to program an ATtiny13A with avrdude, using an Olimex AVR-ISP500 programmer, through the 6-pin ICSP connector. However, I can't get it to communicate with my MCU. The user guide tells to use -cstk500v2, here is the log with this option:…
1
vote
0 answers

Upload hex using USB CDC from microcontroller as host

So has anyone done this? I'd like to store a hex file on an SD card and just blast it to any boards I have with the catarina bootloader on them when I connect to my uploader device. This seems to be the correct protocol to talk to the catarina…
cb88
  • 447
  • 3
  • 18
1
vote
2 answers

Arduino lock bits avrdude

I am interested in locking my sketch of arduino of atmega328 to make it undownloadable. Is there some way to enable lock bits by compiling the sketch into Hex and then uploading it with avrdude ? Thank you
George Alto
  • 11
  • 1
  • 2
1
vote
1 answer

Flash .Hex File To Arduino Via Terminal Without AVRDUDE

If I connect an Arduino board via USB and open the terminal (OS X/Unix) and type in echo something > /dev/tty.usbmodem1411, it would send something to the board through that port. That's pretty cool, but what if I want to flash an entire .hex file?…
crait
  • 156
  • 1
  • 4
  • 15
1
vote
1 answer

AVRDude Error while working on Eclipse

I've been working on a project with ATMega32 on Eclipse, and everything was working fine, and suddenly, when I tried to build my project to download the project into the MCU, I got the following error: AVRDude Error Could not understand the output…
Sameh NAGI
  • 43
  • 2
  • 7
1
vote
1 answer

Arduino Clone CH340g osx issue (driver installed and apparently working)

I'd like to mention that the device I'm talking about in this question works fine using avrdude on a linux machine, the issue appears to be with the OSX driver for the CH340g I've installed the latest CH34xx driver from www.wch.cn The device…
Ollie Hirst
  • 592
  • 2
  • 6
  • 14
1
vote
1 answer

Android upload sketches to Arduino using AVRDUDE through bluetooth

I would like to use a bluetooth serial link on my Android device to upload .hex files to my arduino UNO board. I successufully load arduino sketches from Android using AVRDude command: /myFolders/avrdude -settings -serialPort -configuration…
Francesco
  • 964
  • 2
  • 17
  • 41