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

AVRDUDE does not write flash

I'm having a problem with AVRDUDE. It does not even attempt to write the hex file to the AVR. In WinAVR there is no problem. (I can't use WinAVR, because I've got only the hex file.) L:\>avrdude -c SAJAT -p t2313 -P COM1 -U…
0
votes
1 answer

Problems with the AVR-ISP-MKII under ubuntu

I'm hoping for a bit of help. I'm trying to get an AVR-ISP-MKII working under Ubuntu 13.04 with avrdude. I have followed a post on here with a similar problem and that seems to have moved me on a little. The post is this one. So far I have :- 1.…
robsbots
  • 1
  • 1
0
votes
0 answers

How to do all the programming within a single folder in AVRDUDE?

I have this code #!/bin/bash MEEP="$(pwd)" cd $MEEP $MEEP/avrdude -C $MEEP/avrdude.conf -patmega32u4 -cstk500v2 -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0xcb:m -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m $MEEP/avrdude -C $MEEP/avrdude.conf -patmega32u4…
0
votes
3 answers

ATXmega change fuse

I have an ATXMEGAA3BU processor and I use a CrossPack on my MacOS. I would like to use my old USBASP pragrammer which is "configured" to programm the CPU through the PDI interface - that is not a problem. The problem is that I do not know how to…
kamh
  • 65
  • 8
0
votes
1 answer

new ATMEGA1281 and avrdude

I'm experiencing sometimes problems when programming my new ATMEGA1281. It is suposed to be the same as my old one, the only difference I guess is the serial number: ATMEGA1281 16AU 1104 vs ATMEGA1281 16AU 1304 I'm used to program the ATMEGA1281…
JokiRuiz
  • 311
  • 3
  • 12
0
votes
1 answer

Programming bootloader section of flash with avrdude is slow

When programming the bootloader section of flash memory in a ATmega 8-bit processor, specifically the ATmega128, AVRdude is rather slow. All I want to write is the bootloader section of memory, which is in the upper addresses of flash memory. …
BMiner
  • 16,669
  • 12
  • 53
  • 53
0
votes
1 answer

Mega Arduino 2560 and Eclipse

I have an Arduino Mega 2560. I want to make it communicate with Eclipse in order set a program on it. I have managed to work with Arduino Uno and Arduino Pro Mini until now. With Arduino Mega 2560, though, I get the error shown on the photo below.…
kyrpav
  • 756
  • 1
  • 13
  • 43
0
votes
1 answer

Can't compile multiple files for Arduino

I'm having an issue with compiling code for Arduino if the code is in multiple files. What I have been doing in the past is have a script concatenate the files in another directory and make the project there. I would like to be able to compile…
Brian
  • 444
  • 1
  • 4
  • 16
0
votes
1 answer

Initialise Stack pointer on ATtiny2313

I am programming an ATtiny2313 using avrdude and a makefile. I believe the stack pointer is not properly initialised, since when I call a function, the program appears to freeze. I found the following assembly code: .include "tn2313def.inc" ldi r16,…
0
votes
2 answers

Xmega-A1 Xplained doesn't respond after disabling JTAG fuse

I have an XMEGA-A1 Xplained and a JTAG ICE mkII. I just tried to use avrdude on Linux. The first thing I did was to try to set the JTAG fuse off to use PDI (since the Hardware User's Guide said JTAG and PDI can't be used together - section 9.3), but…
Inductiveload
  • 6,094
  • 4
  • 29
  • 55
0
votes
1 answer

avrdude xmega256a3 can't program usersig?

I use avrdude on osx to do development for an xmega256a3. It's wonderful, it lets me flash my target just fine. However, when I try to use it to program the usersig block, it doesn't work so well. I was initially excited by some early success with…
Travis Griggs
  • 21,522
  • 19
  • 91
  • 167
0
votes
1 answer

Issue with getting started with Arduino mega

I've just got my first brand new Arduino mega 2560 board. I've downloaded Arduino 1.0.1 software. When I first plugged in the board, it failed to detect the device. So I opened device manager and pointed to the "...\arduino-1.0.1\drivers" folder…
Anubis
  • 6,995
  • 14
  • 56
  • 87
0
votes
2 answers

Using Eclipse with AVRDude

I am trying to program my Arduino through Eclipse (because Eclipse is the easiest IDE for beginners), but apparently, when I go to update my programmer in Eclipse for AVRDude, it shows that the configuration file is not found. Additionally, it also…
Elias Wu
  • 71
  • 7
-1
votes
0 answers

Getting 'make: *** [main.o] Error -1073741502' while compiling C/C++ code. How to troubleshoot and fix this issue?

I am writing this AVR code on eclipse. To test if everything is fine as this is my first time downloading avr on eclipse. #define F_CPU 8000000UL #include #include int main() { while(1) { } } And I got this…
-1
votes
2 answers

Is bool data type supported in embedded C?

The wrote the following code for avr MCU and I compiled and uploaded the code with Arduino IDE, I did not get any error and the code works but I remembered C program does not support bool data type. Will this code still be compiled with avr-gcc on…