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
0 votes
0 answers
19 views

Programming with AVRDUDESS without response

I am trying to program an ATmega64 which has a bootloader on it but the RS485 transceiver has been designed with the D, !RE, and Tx pins shorted to GND so it can never respond. AVRDUDESS never ...
  • 1
0 votes
2 answers
87 views

External RC oscillator fuse programmed instead of external crystal fuse

Is there anyway to revive an Atmega8A? avrdude says avrdude: error: program enable: target doesn't answer. 1 ever since I ...
  • 928
0 votes
1 answer
146 views

Clone ATtiny13A flash memory using USB ASP programmer

I hope you are having a great day. May I kindly ask for a word of advice from the veterans in this field of Atmel micro-controllers? I am a novice getting into knowing things by hands on training ... ...
0 votes
2 answers
99 views

Invert Avrdude signal for Reset pin

Good day all, I have a bit of a pickle on hand. I have a project where we would like to use ICSP to program an atmega328p. We can do this quite easily using Avrdude with a custom config file, however, ...
  • 137
1 vote
1 answer
159 views

Can't connect to Atmega328p with avrdude

I'm trying to connect to a pretty old Atmega328p that was sitting on a solderless breadboard for years. I'm using a TinyUSB programmer that also powers the MCU. When I try to connect to it, I have the ...
1 vote
1 answer
107 views

Programming AT89S8252 with Avrdude

I've been using the below avrdude.conf segment for an AT89S8253 (https://www.edaboard.com/threads/avrdude-and-at89s8253-conf-file.76766/) as a starting point for an AT89S8252. I've struggled to find ...
0 votes
1 answer
266 views

Wrong device signature for ATmega32A-PU while burning MightyCore bootloader

I'm trying to install the MightyCore bootloader into an ATmega32A-PU chip but I'm getting the following error when I press the "Burn bootloader" button on Arduino IDE: ...
1 vote
1 answer
53 views

FT230XS is not in sync when trying to burn bootloader

I want to use FT230XS IC to translate UART to USB, as a cheaper alternative to FT232RL, which I use for years now. The MCU I use is an Atmega328p-au (so the same configuration as an arduino), and I ...
2 votes
1 answer
66 views

Unusually long programming times with ATmega328p

I'm programming an ATmega328p using avrdude, and with a program size of 3074B, I am experiencing approximately 13 seconds of programming time. This is painfully slow when developing with the ...
  • 235
0 votes
2 answers
275 views

How do I get started in C using avr-gcc on the mega2560 [closed]

I've program the arduino using tools before (on windows) and using C++ but never with c++ without tools nor done it on linux I have a (at)mega2560 and want to do a simple blink program like the below <...
2 votes
1 answer
148 views

Can't program ATmega with ICSP on custom pcb

I'm fairly new to PCB design, and I've been trying to program the microcontrollers on the board I designed with no luck. The board uses an ATmega32u4 and an ATmega328P. I've been trying to program ...
1 vote
0 answers
145 views

ATmega328P presumably dead after probable SPI short circuit

I am trying to use an ATmega328P to interface an SPI device (RFM95W radio module). This worked pretty well (I could measure the correct signals on SCK, MISO, MOSI and CS), but after some programming ...
1 vote
1 answer
160 views

Attiny13 affects USBtiny programmer logic voltage levels

I wanted to port a simple program from an Attiny85 to the cheaper Attiny13. To make sure everything would work properly I started trying to upload a simple blink program to the MCU but could not get ...
  • 163
0 votes
0 answers
102 views

Bricked Mega2560 - avrdude gets only zeroes

On a Creality CR-X 3D printer (mainboard based on Atmel Mega2560-16u), an upgrade of the firmware had first failed before end when uploaded by Cura slicer via USB. After the fail, the printer became ...
  • 101
0 votes
0 answers
324 views

Atmega328p FT232RL invalid device identifier

I have this little guy and I want to read it's code, edit it and rewrite This guy fortunately ready and as far as I found out equipped with Atmega328p and FT232RL I have: Centos 8, Arduino IDE, ...
  • 101
1 vote
2 answers
268 views

Programming my ATmega8 board using Arduino IDE

I made a board with an ATmega8A (SMD-TQFP package). I installed the minicore library in the Arduino IDE. Now I'm able to flash the hex file using Atmel Studio 7 and able to read serial well. But my ...
0 votes
1 answer
307 views

Avrdude Does not Read What it Wrote Correctly

Question I am getting back into Atmel AVR programming after nearly a decade off. To this end, I am trying to get the usual blinken lights demo working. Unfortunately this does not function, though ...
1 vote
2 answers
303 views

ATTiny1616 writing the SUT fuse in SYSCFG1 with AVRDude Command Line

I want to write the SUT fuse in SYSCFG1 to be 0x0 for 0ms startup time as per page 40 of the datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny1616-3216-DataSheet-DS40001997C.pdf I am ...
  • 131
1 vote
1 answer
245 views

AVR ATtiny1634 - Programming Issue

I've have already used Arduino as ISP Programmer to load codes to Atmel chips like ATmega328p and ATmega8 quite a few times without any problem. On my last project though, I decided to use an Atmel ...
  • 35
1 vote
2 answers
406 views

ATMEL STUDIO: avrdude.exe: ser_open(): can't open device

I just followed all the instructions to set up Atmel Studio on a new computer for the ATmega2560. Bare in mind that I have already had Atmel Studio installed on another computer where it worked fine, ...
0 votes
0 answers
99 views

atmega328p is not detecting on USBasp programmer after verify 0 error?

I was trying to burn my atmega328p board which is designed for some wireless application. The ICs atmega328p, esp8266 12f, and ADM7171 are using the same Vcc. Here the Power supply is connected to ...
  • 15
0 votes
1 answer
154 views

(Noob question) Placing parts of a byte in different (parts of) registers

Background: I'm trying to get a gLCD working with an Atmega328p. I got it to work quite easily, but there was one catch: the library that I found, used portB for the datapins. This was unacceptable, ...
  • 485
0 votes
2 answers
1k views

atmega328pb mcu gets bricked after uploading bootloader

i have a strange problem, maybe this post will be long, but i try to give all the details: i’ve designed a pcb with smd components, around the atmega328pb mcu. it uses an external 16mhz clock and has ...
  • 15
0 votes
1 answer
145 views

What could cause a microcontroller on a board not to accept programming?

EDIT: To summarise - when I take the microcontroller off the board, it works. But when I leave it on the board and try to program it, I cannot. I have designed a PCB and had it fabricated. This PCB ...
  • 1,179
0 votes
1 answer
237 views

Failing to Program AT90CAN128

I've made a custom board with an AT90CAN128, and I can't get my USBTinyISP to connect to it. I've verified the programmer is good, as it connects to a 328p and a AT90CAN128 on a dev board fine. I ...
  • 187
2 votes
2 answers
8k views

How can I program an Atmega32u4 over USB with this schematic?

This is my first time trying to program an Atmega32u4. I made a PCB with the following schematic: Now I've soldered all the parts onto the PCB, and I've plugged a micro usb cable from my computer ...
2 votes
1 answer
1k views

Bricked ATMEGA328PB by setting low fuse to 0xF5 - How to recover?

While programming an ATMEGA328PB via ISP, I wanted to set the efuse to 0xF5. By accident, I didn't write the efuse but the lfuse instead. Since then, I cannot communicate with the chip via ISP ...
  • 121
0 votes
1 answer
141 views

How do you add an onboard ISP for an ATTiny85?

I've taken a liking to building circuits around the ATTiny. Typically I add 6 headers and use an AVR programmer or an Arduino to program the ATTiny in circuit. I'm trying to figure out how move that ...
4 votes
3 answers
103k views

AVRDUDE does not recognize USBasp device

I'm am having issues with my USBasp programmer (Windows 10). I installed the WinUSB driver using zadig 2.4. When I run AVR dude with the following parameters ...
  • 491
0 votes
0 answers
130 views

AVR ATmega328 low fuse wrtiten and issue

I am using an Arduino Uno as the hardware programmer together with avrdude as the software programmer for flashing an Atmega328. I have noticed PB0 was set to ...
  • 928
6 votes
2 answers
924 views

LED- Resistor, does the position matter? [duplicate]

I was reading the MAKE AVR programming. One of the chapters suggests to solder resistor to the cathode side of an LED. But in our uni labs it's said to connect the resistor "before" the LED; that is ...
  • 97
0 votes
1 answer
169 views

Can't upload sketch to my custom designed arduino Uno

I'm having problems uploading sketches to my custom arduino uno design. I have a ttl to usb based on the ch340 and at the same time I have a RS485 transcriber both conected to the atmega328 serial ...
  • 471
0 votes
1 answer
180 views

Have I bricked my ATMEGA3328p by setting

I was playing around with setting the "system clock prescalar" (CLKPR). I'm now in a situation where I can see that the clock is 244.9KHz, using my logic analyser and the "Clock output on PORTB0" ...
  • 984
0 votes
1 answer
132 views

AVR programming

This question might be asked somewhere, if so all references would be appreciated. Hello, I have programmed Atmel chip Atmega32U4 through USB. It is possible because it supports USB programming. I ...
-2 votes
1 answer
234 views

What command is sent from AVRDUDE to an AVR programmer for programming ATmega8

I have implemented an IoT ATMEL AVR Programmer based on protocol stk500, and I successfully connect with it wirelessly and program any ATMEL AVR Programmer through Arduino IDE, My Question is: I need ...
0 votes
2 answers
831 views

avrdude problem with sck , how to recover locked avr with external clock fuse bit

I wrote this code: ...
  • 125
4 votes
1 answer
448 views

ATMega328P Programs at 2V but not at 1.8V

I'm perplexed by this one: I'm trying to run my ATMega328P at 1.8V. The voltage at the chip (pin 4 and 21) sits at 1.82V (BK Precision Multimeter). When using the AVRISP mkII, the programmer LED ...
  • 51
1 vote
2 answers
5k views

Configure avrdude for programming with a ft232r cable

I bought a ftdi cable with the following pins. Vcc GND RX TX RTS CTS It's possible to use this device to upload code to an ATmega328p using the avrdude utility? When I run this line on linux ...
  • 31
1 vote
1 answer
230 views

Arduino Nano ISP turns into the target program (as well as target MCU)

I'm trying to use a Nano V3 clone as an ISP to program atmega328p's because I have not dedicated programmer yet. As part of troubleshooting I'm just trying to program another breakout board with ISP ...
0 votes
2 answers
4k views

usbasp with avrdude: error: program enable: target doesn't answer. 1

I purchased a "usbasp" programmer from AliExpress for use with my ATtiny84A AVR devices. This has the text "USBASP V2.0 LC Technology" screenprinted on the top of the PCB, and it looks very much like ...
  • 101
0 votes
1 answer
224 views

error programing atmega32 lock bits

I am trying to use lock bits for protection on atmega32.I am not being able to write lock bits to it its giving me verification error while doing it.Can you tell me correct way to do this? This is ...
-4 votes
2 answers
101 views

i have a problem with my school project?

i'm working on a school project "Android control a robot car via Bluetooth" with temperature sensor "LM35" , gas detector "MQ-2" ,motor drive IC "l293D" and Bluetooth module "HC-05" using atmega 32 . ...
0 votes
0 answers
1k views

What does avrdude "programmer is out of sync" mean?

Lately, I've been getting a lot of "programmer is out of sync" messages while uploading to a microcontroller (ATMega328p). I am very clueless here as the uploading ...
  • 107
1 vote
1 answer
2k views

Atmel Studio 7 Custom Build Tool Output

I've recently switched over to Atmel Studio 7 (AS7) for one of my AVR projects and after a bit of fiddling around have worked out how to get the "Custom Programming Tool" to correctly upload compiled ...
-1 votes
1 answer
734 views

Unable to ISP program my ATtiny85 with Atmel ICE [closed]

I'm trying to program my ATtiny85 with Atmel ICE but I get this error: avrdude: stk500v2_command(): unknown status 0xcc avrdude: initialization failed, rc=-1 Double check connections ...
  • 53
2 votes
1 answer
748 views

avrdude - how to only write to device?

I've been using the avrdude for quite some time to burn my atmega mcu's. The read / write operations are fast if the code is ...
  • 431
1 vote
0 answers
262 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
1 answer
251 views

ATmega328P firmware flashing interrupted - is it fixable?

I am working on some PCB with an ATmega328P on it. I use a Pogo connector because we have to program and test the PCB outside. I program with usbTiny, (...
-3 votes
2 answers
259 views

i'm using atmega32 to do an automatic railway gate project i wrote the code ,but i have a problem with it that it doesn't give me the required output? [closed]

I've a school project "automatic railway system ", i wrote the code but it works only on protues . when i burn it on the kit it doesn't work . what is the wrong with this code ?? "my project idea ...
1 vote
0 answers
728 views

atmega328p not responding to avrdude

I have this prototype pcb with an atmel avr atmega328p on it and it doesn't respond correctly to my AVRISP Mk2. From what i can tell the signature is wrong for that part. Here is the output from ...
  • 111