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
3answers
9k views

avrdude: ser_open(): can't open device “/dev/ttyUSB0/”: Not a directory

Recently I have been trying to learn how to program Arduino in Code::Blocks. I used the AVR project wizard to create my project. The program compiles flawlessly into a .hex file that I want to upload ...
1
vote
1answer
1k views

Burning arduino bootloader with avrdude and AVR dragon on ATmega32U4 failing

I am attempting to burn a bootloader on a ATmega32U4 aka. Arduino Micro which is not succeeding. I am using a AVR Dragon with ISP interface. ...
0
votes
1answer
774 views

XMega not responding PDI/avrdude

I am trying to get started with xmega and have a ATxmega32A4U on a breakout board with 4 100nF caps for decoupling and a Zeptoprog programmer connected to the 2 PDI pins, ground and Vcc I'm not ...
-1
votes
1answer
1k views

atmega32 is working OK but atmega32A is NOT!

I have a board which there is an LCD on it and I want to show some lines in the LCD. I have a broken-pin Atmega32 which the broken pins didn't used for LCD, I have written a simple code which just ...
0
votes
1answer
3k views

avrdude: ser_open(): can't open device “usb”: The system cannot find the file specified

I'm using an AVRISP mkII programmer to flash an Atmega 328p MCU. Not an Arduino, this is my design. I'm using avrdude which came with WinAVR. I don't have Atmel studio installed, and I'm using Windows ...
0
votes
1answer
473 views

Can't read/write to/from the atmega328p

I cant communicate with the Atmega328p. I've flashed fuses low: 0x59, high: 0xD9 and changed wiring. Now I've connected 16Mhz crystal to the XTAL1, XTAL2 pins, and 2x22pF to the crystal. But I can't ...
0
votes
2answers
380 views

Bitbang ATMega-328PU with CT210x using avrdude

I have made a breadboard-arduino with an ATMega-328PU and the standard components taking help from Building an Arduino on a Breadboard. I interfaced the CT2102 Breakout Board with this assembly: <...
2
votes
1answer
479 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
1answer
666 views

Can avrdude address individual usbtiny programmers?

I'm envisioning a panel programming jig. In my mind, it consists of a Raspberry Pi, a powered USB hub, and a collection of usbtiny clones each connected to a pogo jig and a target on a panel. The ...
1
vote
1answer
1k views

ATmega328P not responding

All of the sudden my ATmega328P stopped responding to flash commands with avrdude. Here is the output of the attempt: ...
1
vote
1answer
102 views

Read strings from ATmega or Arduino

I have found out that one can disassemble an ATmega with objdump or avrdude. And if the LB1 and LB2 bits are set low it would be much harder. So if these bits are set high or just reading the flash is ...
2
votes
1answer
1k views

AVRdude: AVR Part “ATmega16A” not found

I'm trying to write my first program to ATmega16A but I have an error: avrdude: AVR Part "atmega16a" not found. But actually I've changed the chip with a similar ATmega16A and I'm sure that the ...
4
votes
1answer
973 views

AVR Flash Writing Error

Got a very strange error while trying to write to ATmega128. Below are the results for 3 cases (using different software but the same USBASP programmer and the same HEX file) Case 1 : AVRDUDESS 2.3: ...
0
votes
0answers
241 views

Why am I getting verification errors with avrude?

I am constantly getting verification errors with avrdude and atmega168. I googled a lot, but everyone is getting them at first byte, whereas I am getting them at random bytes: ...
4
votes
4answers
21k 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 ...
0
votes
1answer
1k views

Can't upload program to ATmega16

I have the same exact problem as in this question, except that I have an ATmega16 microcontroller. But the answer on that question doesn't solve my problem. ie: The command: ...
2
votes
1answer
161 views

avr-gcc _delay_ms timings are off; ISP to blame?

I just built an AVRISP with an old Arduino Nano (ATmega328p), and I tried to flash a simple blink program onto an ATmega328 (non-picopower). The first time I flashed the program, everything worked out ...
1
vote
1answer
2k views

Do I need to install Bootloader on my new AtMega32? Can I do it with USBasp?

I had a Sparkfun Redboard for some time and I liked playing with it, blinking LEDs and writing to an LCD and such. Now I want to design my own similar development board for similar set of applications....
1
vote
1answer
996 views

AVR ISP-Programing LEDs SCK

I'm using a Attiny45 microcontroller and USBtinyISP as my programer, and this is the first time I need to hook stuff up (in this case just LEDs, but eventually I'll want to conect a raspberry pi) to ...
1
vote
3answers
924 views

AVRDUDE with buring settings of AVR Studio

I make my own electronic boards often with an Atmel ATmega328P. I used AVR Studio for programming. Now I tried to make the same settings with avrdude and it looks, that they are not really compatibale....
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
2k views

Unable to program ATmega168: bad AVRISPmkII connection status: MOSI fail

I’m trying to program an ATmega168 using an AVRISPmkii via the 6-pin ICSP on a board I “designed” (my first). I have VCC connected to a PSU and the AVRISPmkii connected to the ICSP header. The ...
0
votes
1answer
218 views

Fixing ATtiny45 Clocksource

I accidently changed my ATtiny45 clock source to 128khz . After that I can't program it . I tried avrdude in terminal mode but it doesn't work . ...
2
votes
1answer
8k views

arduino burning bootloader. avrdude issues

When I try to burn a bootloader to my atmega328 the arduino IDE gives me an error: avrdude: usbdev_open(): did not find any USB device "usb" When I burn a ...
0
votes
1answer
402 views

ATtiny2313 accidental wrong fuse settings with crystal

I wanted to add external 12.000 MHz crystal to ATtiny2313. I connected it (both crystal pins to ground using 0.1μF capacitor) and flashed fuse bits. ...
5
votes
1answer
7k views

Is there a way to preserve EEPROM contents in AVR Atmega when burning a new firmware to flash with avrdude?

I'm finishing an application which will use some non-volatile parameters stored on an AVR Atmega644P EEPROM. The initial EEPROM values were generated using the EEMEM attribute (like described on this ...
0
votes
3answers
634 views

attiny44a 12 MHz external crystal

I am having this configuration set in my arduino uno: Programming ATtiny84 / ATTiny44 with Arduino Uno I have even uploaded the blink LED program(using arduino sketchbook) and it works great at 8 ...
1
vote
1answer
5k views

Fuse configuration AVR dude for external 12MHZ crystal in Atmega 168

I have 2 microcontrollers (Atmega 168PA-PU). So far I have run the following program in one of them (say mc1). Now when I run the same code in the other one it gives erroneous results. Someone ...
-1
votes
1answer
216 views

Before AVRDude? [closed]

I was just wondering and decided to have a look but I couldn't find anything... What was the process that you had to do or tools you had to use before AVRDude came about, because from what I can tell ...
4
votes
2answers
9k views

Programming a ATmega328P on a breadboard - programmer cannot connect

What I am trying to do is program the ATmega328P on a breadboard. I have followed the schematic by which the Duemilanove board was wired to no avail. I have a SparkFun AVR Pocket Programmer that ...
0
votes
1answer
111 views

Connecting Atmel AVRISP to JTAGICE header

I have an AVR board with 10-pin JTAGICE header and a 6-pin ISP. Can I somehow connect the ISP to program this board without having JTAG functionality?
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
0answers
511 views

Arduino Atmega8noxtal on breadborad uploading sketch not in sync error

I have built Arduino with Atmega8A PU on Vero board. My problem is first when I Upload the firmware with my parallel port programmer into ATmega8 chip and then I try to upload sketch of arduino blink ...
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 ...
1
vote
1answer
3k views

High-voltage programming of ATTiny13 with AVRISPmkII and avrdude?

I am in the process of learning on how to program ATTiny13-20pu, and am reading this post: http://www.vk2zay.net/article/211 (archived: http://www.webcitation.org/6Imwjmidx ), which explains how to do ...
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 ...
1
vote
0answers
586 views

ArduinoISP not responding

So I'm trying to upload sketches to an ATmega328 chip via my Arduino as an ISP. I've successfully been able to burn the bootloader, but when I try to upload sketches, I'm presented with this error. <...
3
votes
1answer
4k views

AVRDUDE: Write EEPROM bytes without file

Is it possible to write EEPROM bytes via AVRDUDE and an AVRISP mkII directly from the command line without needing an EEPROM file read from another chip? Kind of like how you can specify the fuse ...
1
vote
0answers
2k views

Can AVR ISP mkII programmer be used in Mac OS?

I'm trying to program an ATmega644A. It works fine from Linux, but when I try the same project with the same programmer, an Olimex AVR ISP mkII, I get the following error: ...
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 ...
3
votes
1answer
322 views

LED remains off on ATmega16

I wrote this simple program: #include <avr/io.h> int main(void) { DDRA = 0xff; PORTA = 0xff; while(1) { } } When I program it to my brand new ...
1
vote
1answer
1k views

Adding the AVR Dragon's HVPP to the Arduino IDE

I would like to teach my Arduino IDE to use my AVR Dragon's HVPP (High Voltage Parallel Programming) interface to upload compiled sketches to my boards (an ATMega1284P-PU in this case, supported by <...
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 (...
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 ...
2
votes
2answers
7k views

avrdude error - stk500_getsync(): not in sync: resp=0xff

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 ...
4
votes
4answers
7k views

Why does my AVRISP MKII Programmer not work?

I am using Ubuntu and I am trying to upload a hex file (called src.hex) to my ATtiny85 with my AVRISP MKII programmer with avrdude. But I get a strange error. I run ...
0
votes
0answers
45 views

avrdude - Set programmer's path [duplicate]

I am trying to upload a hex file to my ATtiny85 with my AVR ISP MKII programmer. But avrdude says it cannot find my programmer. How can I find where my (USB) ...
3
votes
1answer
2k views

Error while uploading hex file to AVR uC

I am trying to upload a hex file to an ATtiny85 from Ubuntu by running these commands: ...
3
votes
1answer
2k views

Fuse Bit settings in ATmega128 Micro controller

I am working with ATmega128 board. The datasheet states ATmega128 is by default shipped in ATmega103 compatibility mode In ATmega103 mode, the MCU both serial communications cannot be used and ...
8
votes
4answers
19k views

How do I upload a hex file firmware to a target board without using the arduino IDE?

Is there a way for me to create an installer that runs a shell script to upload a firmware update to an arduino that doesn't involve using the IDE? I have a thing that I make that sometimes needs a ...