Questions tagged [arduinoisp]

36 questions
14
votes
4 answers

When using Arduino Uno as ISP does "Yikes! Invalid device signature" mean a bad connection, bad config, or bad version of avrdude?

I'm using an Arduino UNO to program a pre-compiled hex image to an ATTINY45, using the avrdude in the Arduino IDE directory, on Windows 7. The Uno has the ISP sketch loaded from the examples directory and that works- the heartbeat LED pulses…
Yary
  • 361
  • 1
  • 2
  • 7
9
votes
1 answer

Problem programming Mini Pro via Arduino as ISP

I just picked up a pair of Arduino Mini Pro 5v clone boards (Inland, sold at Microcenter, currently $4 USD) and I wanted to use my Uno as an ISP like I've done with ATmega328 and ATtiny85 chips before. I've programmed the Uno with the instructions…
Dennis Munsie
  • 286
  • 2
  • 9
6
votes
4 answers

Can the Arduino Uno become an AVR programmer and use the ICSP header to program the target board

The Arduino Uno has an ICSP header that I imagine is for programming the board using a separate ICSP programmer. That is, its ICSP header turn the board into a target. Can one use that same ICSP to program other boards, turning the Arduino Uno…
Ricardo
  • 3,390
  • 2
  • 26
  • 55
4
votes
1 answer

How to burn the bootloader and upload sketches on ATmega328P U (specifically this model)?

Recently I started to learn embedded electronics and C/C++ and for a couple of days I tried and I am still trying to burn a new ATMega328P U bought from Aliexpress. From what I know new ATMega328P's come with bootloader included, but after I wired…
3
votes
2 answers

Using Arduino as ISP to burn sketch directly to ATmega328 without first installing a bootloader on the ATmega328

Is it possible to take a bare ATmega328 chip, and with an Arduino as ISP, burn a sketch directly to the chip (e.g. not needing a bootloader), or is the bootloader required to run Arduino sketches? I want to embed the ATmega328 into a different…
AndrewP
  • 133
  • 1
  • 6
3
votes
1 answer

Issues graduating to AVR-C

I'm trying to make the transition from coding in the Arduino language to AVR-C, but I'm having some issues with my microcontrollers. I don't have an ISP, so I'm using one of my Arduino UNOs with the ArduinoISP sketch. The problem is that when I try…
Isak
  • 39
  • 1
2
votes
1 answer

Arduino as ISP - program is being uploaded on Arduino, not breadboard

I am following this tutorial, and have wired Arduino using this diagram: This is what it looks like: These options are selected in Arduino IDE: This is the program I'm uploading: // the setup function runs once when you press reset or power the…
Tomáš Zato
  • 340
  • 5
  • 17
2
votes
1 answer

Suddently, "avrdude: Device signature = 0x000000" with ArduinoISP. Is my chip dead?

I have some boards with the atmega32u4 that they were working perfectly before. I'm using an unnoficial UNO board to program them via ICSP. To power the uC I'm using two lithium batteries and a step-down converter to drop it to 5 V. This started…
Jorge Gonçalves
  • 103
  • 1
  • 2
  • 8
2
votes
2 answers

'OUTPUT' was not declared in this scope - ATtiny85 with Arduino Uno r3 as ISP

I'm trying to follow this this tutorial to program an ATtiny85 micro-controller using my Arduino Uno r3 as the ISP. I am up to the final step on the tutorial, but get an error when attempting to compile my sketch: 'OUTPUT' was not declared in this…
Isaac
  • 21
  • 1
  • 4
2
votes
1 answer

How do I use ATTiny pin 5 (RESET) as a digital output?

I am using an Arduino Uno as ISP (Using the standard ArduinoISP sketch) to program an ATTiny13A through the Arduino IDE. (I also have a USBtinyISP 2.0 and a USBASP 2.0, but can't reliably get either to program this chip with any sketch.) I want to…
Marsh
  • 288
  • 2
  • 5
  • 13
2
votes
1 answer

Amforth on Arduino UNO

I'm having trouble with flashing amforth on my Arduino UNO. I'm using an Arduino as ISP to write amforth. Here's what I do: Upload the code on the Arduino programmer and set Baudrate to 19200 Wire the Arduinos this way -> Wiring Run avrdude -P…
magicleon94
  • 147
  • 5
2
votes
0 answers

Reprogramming a specific slave from the master ATTiny 85 (connected to IDE)?

Given that every ATTiny connected already has a bootloader (micronucleus) installed, here's my theoretical chain: Computer > Master ATTiny (Connected via USB) > ATTiny Slave A > ATTiny Slave B Is it possible to flash an individual slave (say, slave…
jamcube
  • 21
  • 1
2
votes
1 answer

Arduino Pro Mini lower BOD problem

I am planing to build a project where an arduino pro mini 3.3V runs on 2 aa batteries. The standard brown out detection shuts it down at about 2.7/2.8V where it could run on lower voltages too. So I changed the efuse to get the BOD down to 1.8V. I…
CodeO
  • 133
  • 2
1
vote
1 answer

Can I program ATTINY using Arduino as ISP whilst having other I2C devices connected?

I have an SMD ATTINY that I'm using for a project. Attached to it are 3 I2C devices. When programming it using an Arduino as an ISP, can I have those devices attached? Ie, do I have to program the ATTINY and then solder it on my board or can I…
djd53
  • 13
  • 3
1
vote
1 answer

Uno Wifi Rev2 Programming via Uno R3 ArduinoISP

I'm attempting to program Atmega4809 (Uno Wifi Rev2) via the ICSP pins on the board by connecting in this manner: The difference is that I have a Uno Wifi Rev2 on the right instead of a Uno R3. I've uploaded the ArduinoISP sketch onto the Uno R3 on…
nametable
  • 31
  • 3
1
2 3