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
2
votes
1answer
273 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 ...
0
votes
0answers
32 views

Programming an ATmega644 with 32.768 kHz external clock and USBTinyISP

I accidentally changed the fuse bits on my ATmega644PA chip so that it is expecting a 32.768 kHz signal in the XTAL1/XTAL2 inputs. I am using the a USBTiny programmer (the Sparkfun AVR Pocket ...
2
votes
1answer
473 views

Cannot program ATTiny85 fused for 32 kHz

Now, I know what you're thinking. I've been thinking it all night too. Yes, I know that with the tiny fused for a 32 kHz crystal that I'll need the SPI clock to be 8 kHz or less. Even that, however, ...
1
vote
2answers
27k 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 ...
0
votes
0answers
32 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 ...
-1
votes
1answer
320 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 ...
0
votes
1answer
142 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, ...
0
votes
1answer
2k 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 ...
0
votes
2answers
136 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 ...
0
votes
1answer
123 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 ...
2
votes
3answers
8k views

Blinking LED with ATMega8 won't blink

As I'm a complete novice, I thought I'd start with something really simple: making a led blink. According to several websites, this is something everyone should be able to do... Hmmm... In my case, ...
0
votes
1answer
68 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 ...
2
votes
1answer
289 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 ...
0
votes
2answers
1k views

Can't write lock bits on ATMega328p-pu

I'm trying to set the lock bits on my ATMega328p-pu, using an Arduino UNO as an ISP. this is what happens: ...
2
votes
2answers
587 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 ...
0
votes
1answer
64 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 ...
0
votes
0answers
58 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 ...
0
votes
0answers
176 views

Update Mega328 Transistor Tester with Arduino Uno micro controller

I'm trying to update Mega328 Transistor Tester with Arduino Uno micro controller. Here is my Uno and Mega328 connection and Avrdude setting, including particular error: avrdude.exe: verification ...
6
votes
2answers
705 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 ...
0
votes
1answer
333 views

ATtiny13A cannot be programmed anymore with Arduino as ISP at 500 Hz

My ATtiny13A fuses are set to use the internal 128 kHz clock without clock divided by 8. I found online an ArduinoISP sketch that allows me to program it with that clock speed. But then I uploaded ...
0
votes
1answer
57 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 ...
0
votes
1answer
86 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" ...
6
votes
3answers
4k views

Setting pin to high in function instead of main, not full voltage output?

I have a function which turns on a LED by setting PB1 to HIGH. The light from the LED is barely visible. If I set PB1 to HIGH in my main function the light from the LED is as bright as it should be. ...
0
votes
1answer
93 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
1answer
117 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 ...
3
votes
5answers
6k views

Arduino Mega 2560 stuck at uploading

I have two Arduino Mega 2560 boards, both gives errors when trying to upload sketches (I bought the second board thinking its a fault with the first one, but same thing happen with the new board). ...
2
votes
1answer
4k views

How does avrdude with AVR-ISP-MKII respond when no target board is connected?

How does avrdude with AVR-ISP-MK2 respond when no target board is connected? I'm trying to troubleshoot my set-up, and would like to know if the problem lies between the laptop and programmer or ...
6
votes
7answers
24k views

avrdude error - stk500_paged_write() protocol error

I am using my Arduino Uno as a programmer to program my ATtiny85. I uploaded the ArduinoISP sketch to my Uno. I double checked my wiring, did some googling, but I still can't figure out why I get this ...
0
votes
2answers
3k 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 ...
1
vote
1answer
170 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 ...
6
votes
3answers
3k views

Bit bang ATmega328 with Arduino bootloader using AVRDUDE

I have an Arduino Uno development board with a blank ATmega328 chip (no Arduino bootloader. The chip that came with the unit is soldered in a separate stand-alone project so that I can use the Arduino ...
0
votes
1answer
139 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
2answers
95 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
1answer
990 views

AVRDUDE throws errors when attempting ISP with AVR Dragon

I've got an Arduino board that I'm trying to program via ISP with an AVR Dragon. I think I've got it all cabled up right (I made my own ISP cable by cutting up an old floppy ribbon cable), but when I ...
0
votes
0answers
959 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 ...
2
votes
1answer
222 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, (...
1
vote
1answer
1k 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 ...
2
votes
1answer
308 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 ...
4
votes
2answers
11k views

Burn Micronucleus bootloader to use ATtiny85 via USB (AVRDUDE)

I am working on an ATtiny85 USB development board, and I need to flash the Micronucleus bootloader on it. I have heard that this bootloader allows the ATtiny85 to be programmed via USB from the ...
1
vote
0answers
206 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 ...
-3
votes
2answers
193 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
0answers
484 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 ...
2
votes
6answers
14k views

AVRISP mkII not reading device signature

I recently bought a dozen ATtiny85 MCUs and I was trying to test one simply by putting a blink program on it via the Arduino IDE with and AVRISP mkii (Arduino 1.0.5, Ubuntu 13.04). I kept getting an ...
3
votes
2answers
10k views

Problem programming ATTiny85 “Invalid device signature.”

I am trying to program ATTin85 using Arduino I used the hardware support file from "High-Low Tech" here http://hlt.media.mit.edu/?p=1695 With this schematic: After downloading the ArduinoISP sketch ...
6
votes
1answer
4k views

Programming an ATmega1284p with Arduino IDE and internal RC Oscillator?

I'd like to program an ATmega1284p with my AVR Dragon and the Arduino IDE. So far I have installed mighty1284p (http://maniacbug.wordpress.com/2011/11/27/arduino-on-atmega1284p-4/), after writing my (...
4
votes
4answers
20k views

How can I tell that USBasp is working?

I have the USBasp programer and I'm trying to burn bootloader on Atmega328 so that it can be used as a replacement chip in Arduino board (replacement chips with the bootloader installed are quite ...
2
votes
2answers
2k views

Arduino as AVR Programmer with Avrdude

My objective is to program a single ATmega328P sitting on a breadboard. Due to my location and cash at hand I cannot acquire a AVR ICSP programmer so instead (through research) I found I can use a ...
0
votes
1answer
155 views

ATmega1284 behaving erratically

My ATmega1284 MCU appears to behave strangely in a number of ways. I know, I'm nuts, but here it goes... I'm using a usbtiny AVR pocket programmer with avrdude on Ubuntu Linux 15.10. I am wondering if ...
4
votes
4answers
7k views

AVR Atmega32 flash verification error

I just got an Atmega32A chip and I've been trying to program it with a usbasp for quite a few hours. I can change the fuses and write the program, but verification fails. I'm getting this message ...