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

Having problem to install avrdude on macOS Terminal

First of all, I have trouble installing avrdude via Homebrew because of some network problems. So I download it manually from its website. However, after I unarchive the avrdude-7.0.tar.gz file I just downloaded, I can find no bin directory there.…
user19681631
-1
votes
2 answers

Cannot see Arduino port up after uploading AVR program

I'm trying to learn how to do AVR programming with my Arduino using AVR libraries. I was able to successfully upload this blink program to my Arduino Micro using the Arduino IDE: #include #include #define MS_DELAY…
Microbob
  • 672
  • 5
  • 20
-1
votes
1 answer

C Blink and Interrupt project

I am stuck and do not know where to start. Modify the sample code you were given to make it function just like the assembly code written previously. The LED on B0 should flash continuously. Whenever you press the switch, the other 3 LEDs shoul d…
-1
votes
1 answer

AVRDUDE slow upload on atmega32

I'm using eclipse software and when I want to upload my code to the MCU(atmega32) with a clock of 16MHZ the avrdude takes longer than it should, however the program runs as it should but the only problem is the avrdude uploading time. the following…
-1
votes
1 answer

Did set fuses incorrect: 328p is expecting a oscillator now - how to reset?

I had some circuit boards made for a universal sensor. Basically it is a 328p on a standalone basis with some sensors. Well, they all work, I was able to write the bootloader using an arduino uno, but with two 328p I did not pay attention. I…
Marc
  • 117
  • 1
  • 6
-1
votes
1 answer

Libuse for communication through C232HM

I have a problem with communication with Atmega644P. I am using C232HM Cable and avrdude. Unfortunately, every attempt of communication ends with the following comment from the command prompt: avrdude: Error: no libftdi or libusb support. Install…
Szeryf
  • 1
-1
votes
1 answer

Ardunio ESP8266 board creating hex file

I am using Arduino IDE 1.6.9 and board manager as "Node MCU 0.9 (ESP-12 Module). When I compile the program using the verify button. It creates a .bin file and my expectation is a .hex file. I went through earlier posts and all suggested me to look…
Simbu
  • 766
  • 1
  • 12
  • 37
-1
votes
3 answers

BootLoader and Application memory size in AVR

I searched a lot a bout this question and I did not find any clear answer yet. As you know, AVR microcontrollers e.g. Atmega128 have a Flash memory which can be divided into Bootloader and Application memory. I've adjusted the parameters of each one…
M A
  • 15
  • 3
-1
votes
1 answer

how to control servo motor using embedded c using simple code?

i'm working on a school project "automatic railway system" my project suppose to close the gate when the train coming to the station with a buzzer on with 90 sec count down display on 7-seg. and a led flashing. after the train leaving the station,…
Sara Gero
  • 1
  • 2
-1
votes
1 answer

Can't program Arduino 328P after first time use of ICSP Sparkfun AVR Pocket Programmer

I needed to change my Brown Out Voltage to 4.3V from the Arduino default. I purchased from Sparkfun the AVR Pocket Programmer and connected as instructed. I have an Arduino 328P with CC3000 wifi shield. All worked perfectly before ICSP fuse change.…
DPGUITARMAN
  • 161
  • 1
  • 2
  • 12
-1
votes
1 answer

Servos not running properly on AVR

I'm not gonna waste your time, and just post the code along with the explanation #define F_CPU 8000000UL #include #include #include int main(void){ sei(); //Enable interrupts DDRB = (1 <<…
Shahe Ansar
  • 314
  • 2
  • 12
-1
votes
1 answer

Can't flash with avrisp mkII in avrdude Version 6.0.1

I have had problems with this programming board. It is set up correctly seems to be an AVRISP MKII. I received the following error messages upon flashing with avrdude: (trusty)chandran@localhost:~$ avrdude -c avrispmkii -p t85 -vv avrdude: Version…
-1
votes
1 answer

avrdude unable to write hex to attiny45

I'm using mac/avrcrosspack. this should write hexfile to the chip: avrdude -c avrisp -p t45 -P /dev/tty.usbmodem411 -e -b 19200 –U flash:w:gp2.hex:i but it only reads the contents of the chip and happily ends: avrdude: AVR device initialized and…
-2
votes
1 answer

How can I make a .o file to .elf file?

I have a file named lab7.c and when I compile to make it a .o file everything is fine. However then I go to make it a .elf file with avr-gcc -mmcu=atmega324a -o lab7.elf lab7.o I get the error message of lab7.o:(.data+0x8): undefined…
P. Blang
  • 1
  • 4
-3
votes
2 answers

Store pointer to const into vector of structs

I have an issue doing the following: Class "A": const uint8_t arr1[] = {0x00, 0x00, 0x03, 0x00, ...}; const uint8_t arr2[] = {0xA1, 0x00, 0xFF, 0x00, ...}; struct s1 { String name; uint8_t const * arr; }; …
Sergio
  • 5
  • 5
1 2 3
13
14