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
2
votes
1 answer

Android USB Host API taking away ttyACM file

I have a custom build of AOSP (based on kitkat 4.4). I am controlling an arduino board via Android's USB Host API. I also am running a kernel that supports the CDC-ACM module. I want to be able to flash new hex files onto the board. I have seen…
scheibk
  • 1,370
  • 3
  • 10
  • 19
2
votes
2 answers

How to grab output of terminal when issuing commands to use in a program?

I am writing an avrdude helper program that facilitates calling a few command-line arguments. When issuing avrdude commands in the console a series of output results will be displayed on the screen. Is there anyway to grab that output and display it…
sherrellbc
  • 4,650
  • 9
  • 48
  • 77
2
votes
3 answers

AVR - Can't add Programmer on Eclipse

I want to use Eclipse to develop code I will be uploading to my Atmega 2560 microcontroller. I could easily use the Arduino IDE to do this, but in my opinion, developing on Eclipse is a whole lot easier. So, I followed this guide. I get to the step…
jmera
  • 644
  • 4
  • 15
2
votes
0 answers

Replacing arduino's default IDE with KDevelop

I find KDevelop a very good IDE overall and I already have a good experience using it for cross-compiling and debugging software for ARM9 CPUs running embedded Linux. Now that I got some Arduino boards for smaller projects, I found them a very nice…
Claudio
  • 2,191
  • 24
  • 49
2
votes
0 answers

"Not a typewriter" AVRDude error on Android

I have received a file descriptor for a USB device from an Android app (using getFileDescriptor()), sent it via JNI in native code and received it in a child process (AVRDude) via a Unix socket and tried to use for uploading. So I'm getting a "Not…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
2
votes
1 answer

How do i erase everything but EEPROM with avrdude?

I have 2 main files. One writes to EEPROM, other reads from EEPROM. I want to do the following: Flash main.hex (the one which writes onto EEPROM) Erase everything but the contents of EEPROM Flash main.hex (the one which reads from EEPROM) I am…
ctrl-shift-esc
  • 876
  • 1
  • 9
  • 19
2
votes
2 answers

Perl system() EXE Permissions?

I'm kinda new to running Perl on windows, and I'm having some problems with the system command while trying to run avrdude.exe to upload a HEX file to a Atmel Microcontroller. These are the Perl commands I am using to execute the command: $AVR_CMD…
SuperTron
  • 4,203
  • 6
  • 35
  • 62
1
vote
0 answers

How to fix Avrdude error when uploading to Nano

I get this error: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync:…
1
vote
1 answer

Failing to access AVR ATTiny13A with very slow clock (128kHz/128 or 128kHz/256) (avrdude: error: program enable: target doesn't answer)

I am trying to program an AVR ATTiny13A using a USBasp adapter (guloprog) and avrdude. Uploading the program and running it works fine the first time for a fresh ATTiny13A device, but re-uploading again fails. avrdude cannot see/access the device at…
Johannes Overmann
  • 4,914
  • 22
  • 38
1
vote
1 answer

Beyond Linux From Scratch: avrdude was compiled without usb support

Out of interest and learning purposes I have built Linux from scratch (LFS+BLFS, both version 10.0) according to the descriptions on www.linuxfromscratch.org. In general the OS can boot and I can basically work with it. There are a few things which…
1
vote
1 answer

How to check if firmware has already been uploaded to a Arduino Leonardo, without the bootloader?

I work with a significant amount of Arduinos (about 2000 a batch), and they all need firmware loaded on them via usb. I've already written programs to speed up this process, but I can't find a way to stop the program from rewriting the firmware to…
Eric Hedengren
  • 455
  • 1
  • 5
  • 19
1
vote
1 answer

Arduino takes too long to upload, avrdude: ser_drain() error (macOS Big Sur)

I'm having trouble uploading basic sample sketches to my arduino Lilypad. It takes a really long time to upload (1-3 minutes) after compiling. The IDE shows that the sketch has been uploaded, however, the console shows nothing. Everytime I plug in…
mosmos
  • 13
  • 1
  • 6
1
vote
1 answer

Why I cannot run shell commands via PS gui in Python?

I am trying to run the avrdude commands in the terminal via the python's gui (PySimple)... it does not return me any error, however, it does not work either. So here are the questions: why does it not work? Either, if I want to run the script-the…
1
vote
2 answers

My Interrupt is not updating my value to my main, how should i set up my Interrupt?

Im trying to build a program that has a scannerlight with at least 5 leds and one button connected to an external interrupt pin. A single button press (and release) to start the scanner light. Pressing (and releasing) stops the scanner light again…
Guess
  • 13
  • 2
1
vote
0 answers

problems with redirecting stdout with execl

I originally wrote a little tiny c# server that ran commands on my Linux. The app captured stdout of the command just fine and send them back to the client. Then my c# environment on the Linux box became problematic. So I decided to rewrite…
moonless
  • 23
  • 5
1 2
3
13 14