Questions tagged [avrdude]

Programming utility for AVR micro-controllers.

40 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
957 views

Unable to upload sketch using Platformio (but Arduino IDE works)

I am using an Arduino Nano (Clone) which I was programming with the Arduino IDE (Version 1.8.5 on Mac OS X 10.10.5). Using the Arduino IDE I need to re-plug the Nano before uploading, but after doing ...
3
votes
0answers
231 views

error with avrdude command line using arduino as isp (i think)

I am trying to upload a .hex file to my attiny85v-10pu and using my arduino as a isp (i think thats the right term) but it come up with this error. ser_open(): can't open device "lpt1": The system ...
2
votes
0answers
82 views

Can't reprogram Arduino on protoboard (perfboard), but could program the same circuit on breadboard

So I have a circuit that works well when it's on a breadboard and without removing any pins I'm able to upload sketches, but for some reason when I transition it to a protoboard I can no longer upload ...
2
votes
0answers
609 views

Arduino nano stk500_getsync() attempt 1 of 10: not in sync: resp=0xe1

I have been building a project using an arduino nano clone. It uses the CH340 chip. It worked perfectly, and a week later it now doesnt. When I want to upload code in arduino IDE I get the error ...
2
votes
0answers
302 views

Software flashing attiny167 from RPi with avrdude

I am trying to flash a program onto an attiny167 (already bootloaded with the micronucleus bootloader) with a Raspberry Pi via avrdude and USB. Background I have 50 Raspberry Pi 3B's connected to an ...
2
votes
0answers
202 views

Why does avrdude error appear when interfacing GLCD with arduino uno in ubuntu

I want to interface a GLCD with arduino uno. The GLCD is JHD12864E. The connections are as shown in this image I downloaded the OpenGLCD library and uploaded HelloWorld program from it. I got ...
2
votes
0answers
1k views

Cannot program Mega2560 using Atmel Studio 6.2 and avrdude

So I will admit that I am a noob to Arduino. I have some experience programming microcontrollers, and that was back in the day (about 4 years ago - such as the Freescale 68HC12) so up until this point ...
2
votes
0answers
262 views

Eclipse AVR for arduino not uploading

I recently read this post about setting up Eclipse for Arduino. I Build the test project with no erros, but when I go to upload my test project it just hangs at 5%, with no error messages. If I ...
1
vote
0answers
115 views

How to access native USB port of Arduino Due on Synology NAS?

I would like to flash my Arduino Due from my Synology DS218+ NAS which runs on an Intel 64bit Linux-derivate platform. Previously, I was able to flash a Mega 2560 from this NAS via avrdude and ...
1
vote
0answers
230 views

It is possible to revive my Arduino Leonardo (mini beetle) board?

I have this board: It has the atmega32u4 chip. I have updated its code several times, and used it without issues for several months. Today, while updating (using Arduino IDE) it started to throw ...
1
vote
0answers
70 views

Arduino UNO R3 clone acting as Arduino Nano

I just got a bunch of Arduino Uno R3 (ATmega328P + CH340).In arduino IDE when i'm selecting board as Arduino UNO then i'am getting this error avrdude: Version 6.3-20171130 Copyright (c) 2000-...
1
vote
0answers
435 views

how to fix USBASP Unknown USB Device (device descriptor request failed) - Win 10?

I just recently purchased Usbasp from Ali Express, when i'm connecting it to the windows 10 desktop in device manager its Unknown USB Device (device descriptor request failed). How to fix this error? ...
1
vote
0answers
240 views

Arduino UNO bricked?

How can I figure out, if an Arduino UNO is defect? Have on, which I can't upload sketches to. It's not working on Windows, even on Linux. Everytime the following warning appears: avrdude: stk500_cmd(...
1
vote
0answers
100 views

Programming ATMEGA328p via AVR Pocket Programmer

I have a ATMEGA328p on a breadboard with the following connections to the 2x3 ICSP connector and its connected to AVR Pocket Programmer. While running AVRDUDE utility, i get the following error, ...
1
vote
0answers
422 views

Will avrdude overwrite the bootloader on my Nano?

I bought an arduino nano (knockoff from Elegoo) and according to the Amazon description it comes with a bootloader. From what I've read, this means that programming can occur over the usb connection ...
1
vote
0answers
104 views

Bootloader fails when two Arduinos are connected over serial port

I’d like to connect two Arduinos over serial port so that they can communicate with each other. Initially, I put all necessary code onto one device and now connected another via serial port. As soon ...
1
vote
0answers
668 views

Cannot upload sketches, and loopback test fails, but bootloader is intact and correct

I was using an Arduino Uno for a project, when suddenly it stopped allowing me to upload sketches. I kept getting the error message: avrdude: stk500_recv(): programmer is not responding avrdude: ...
1
vote
0answers
73 views

AVR dude not working in javaFX

I am working on an Project in which i have to upload hex file from java to arduino uno i wrote the code in java its working but only when i call it in main method. But when i call it when button is ...
1
vote
0answers
104 views

Can't program Atmega644p over ISP

I am using the Arbotix-M (Atmega644p). I am trying to program it using an ISP from Pololu. Until yesterday, everything seemed to be working okay and we were able to upload to it without problems. ...
1
vote
0answers
582 views

Using arduino IDE with USBasp

I'm trying to upload a Blink example from Arduino IDE to an atmega8a via USBasp. I have edited the boards.txt file with the specifications of the atmega8a, and I am using the "Upload with programmer" ...
0
votes
1answer
25 views

Nano Every clone with ATMega4808 not recognized

I've bought an Arduino Nano Every clone/compatible (not a standard Nano V3) that uses an ATMega4808 instead of the ATMega4809 the official Nano Every uses. This rather insignificant change of chip is ...
0
votes
0answers
32 views

arduino atmega32u4 beetle extract hex code

I made a program using the Arduino Atmega32U4. As a security issue, I tried to extract the hex code because I wanted to know if this program was duplicated. avrdude -C"\avrdude.conf" -v -V -...
0
votes
0answers
37 views

Arduino Nano as ISP programmer and Serial monitor

Is it possible to use an Arduino Nano or comparable as a programmer and simultaneously use it as a serial adapter? Meaning that I would be able to flash another µC (e.g. an ATmega644PA) using avrdude ...
0
votes
0answers
73 views

Batch programming AVR chips via ICSP with an esp8266

I had an interesting idea recently, but don't have all the knowledge needed to make it work. I know that several people have made Arduino programmers with an esp8266, allowing them to program the ...
0
votes
0answers
24 views

Arduino code uploads fine, however avrdude output is not able to read / verify memory

Purchased some clone Arduino nanos a while ago and finally got to working with them. Of the 3 i worked with, 2 of them upload and verify fine. The third is able to upload (code functions properly), ...
0
votes
0answers
65 views

How to burn a bootloader to non-bootloaded(clean crystal) ATMEGA328P-PU with USBASP programmer via Avrdudess?

I'm trying to burn bootloader to my clean crystals, atmega328p-pu.For this I use the 16MHZ crystal with two ceramic capacitors and USBASP programmer, on Windows 10 Pro. As program for burning I tried: ...
0
votes
0answers
57 views

Monitor serial0 while code is being uploaded

I'm trying to upload the sketch on a Mega 2560 via the serial port 0 using another microcontroller. To better undestand the process, I decided to first observe what avrdude is doing while it is ...
0
votes
1answer
385 views

Uploading Firmware to Atmega1284p using ESP8266 with AVRISP as programmer

I am trying to flash a new Firmware to my Ender 3 Pro. I am using the ESP8266 as an ISP via AVRISP over Wifi. I have a 10mF capacitor between the ground and reset of the ESP8266 I followed this ...
0
votes
0answers
46 views

What would cause fuses to be writeable but bootloader not to be writeable?

I am trying to burn a bootloader onto an ATmega328P-AN using an Microcenter knock-off Arduino Uno R3 as my ISP for several days with no luck. The farthest I've gotten is writing and reading a few ...
0
votes
0answers
768 views

Arduino not responding to macbook pro

When I try to upload my code onto the Arduino it just gives me the error message: "avrdude: ser_open(): can't open device "/dev/cu.usbmodem14201": No such file or directory Problem uploading to board. ...
0
votes
0answers
155 views

Avrdude & micro clone

I am trying to program a Pro Micro clone (black PCB, 5v), using this command avrdude.exe -p atmega32u4 -c avr109 -U flash:w:pro_micro_ISP_B6_10.hex:i -P COM3 but this is the (obviously incorrect) ...
0
votes
0answers
820 views

avrdude sometimes fails to read flash after uploading

I'm experimenting a strange problem. when uploading code to my custom designed arduino (it's based on the CH340 usb to ttl) uploads the firmware without problems but most of the times fails to read ...
0
votes
0answers
758 views

Programming with Atmel ICE from Arduino IDE unbearably slow

I am using the Atmel ICE programmer to program an ATTiny84. Doing that from the Arduino IDE takes more than 10 seconds. Calling avrdude from the shell is 5x faster. How can I speed up Arduino IDE's ...
0
votes
1answer
334 views

Board and library updates required caused an error

I compiled my code several times today, I would quit and restart randomly through the day. each time I started I get a error box board and libraries need updates. I did an AVR board up date, then ...
-1
votes
1answer
121 views

Arduino Mega upload issue

I have made my own version of an Arduino Mega and I am encountering some issues. Whenever I try to upload any sketch to the Mega, I get the following error message: avrdude: stk500v2 ReceiveMessage():...
-1
votes
1answer
397 views

I cannot upload any code to my arduino uno

I am using ardunio uno on a windows 10 machine. I have never been able to upload any code whatsoever. Every time i get different errors, sometimes it's about com port, sometimes about memory, baud ...
-1
votes
1answer
299 views

Atmega328P and Arduino Studio and Pololu AVR - not working

I have standalone ATMega328p and I'm using external 16MHz oscillator, I hooked up and I triple checked my connections for Pololu AVR programmer and I make sure that I select a proper programmer \ ...
-1
votes
1answer
202 views

My Arduino UNO turns LED ON forever when I connect it to my Laptop

My Arduino UNO Board keeps the LED light turned on forever whenever I connect it to my PC. And, when I try to upload even a sample sketch, it says avrdude: stk500_recv(): programmer is not responding. ...
-1
votes
1answer
2k views

Error uploading to ATtiny

I followed Great Scott's video on YouTube for uploading to an ATtiny85. When I tried I got the following error messages: Arduino: 1.6.7 (Windows Vista), Board: "ATtiny85 (internal 8 MHz clock)&...
-1
votes
1answer
923 views

Error uploading on Arduino Mega 2560

I'm completely new to Arduino, I bought a Rampos 1.4 and an Arduino Mega 2560 to build a Prusa Mendel 3D printer. But when I connect the Arduino via USB to my computer, open the software and click to ...