15 votes
Accepted

FTDI Breakout with additional ISP connector

There's a thread about that on the Arduino Forum - someone had a similar question. I found a schematic (below) which is not for that board, however the header pins are labelled the same as you found, ...
Nick Gammon's user avatar
  • 38.2k
11 votes
Accepted

Male header pins on Arduino Uno

These are the In System Programming (ISP) pins. They are used to program the microcontroller without using the bootloader. The bootloader is a program already loaded into the flash of the ...
sa_leinad's user avatar
  • 3,188
10 votes
Accepted

Why was the Atmega16U2 used on the Arduino UNO as a USB to Serial converter?

First reason I'd guess is price: FT232 on octopart: USD2.65 ~ 3 Atmega16U2 on octopart: USD2.12 ~ 2.2 They can probably get much better deals considering that the Atmega328 is also from Atmel (now ...
Wesley Lee's user avatar
9 votes
Accepted

Can I program a factory fresh Atmega328P through UART pins without burning a bootloader?

No, the ATmega's ISP does not operate over the UART pins but only the ISP pins. To program it via a UART, you need to first load a bootloader, unless your chip was pre-programmed by the vendor, ...
Chris Stratton's user avatar
8 votes

ESP8266 as ISP program for ATMega16

1. Uploading the sketch to your ESP8266 Tools > Board > select the appropriate ESP8266 board File > Examples > ESP8266AVRISP > Arduino_Wifi_AVRISP Change lines 7 and 8 to match the SSID and password ...
per1234's user avatar
  • 4,098
6 votes
Accepted

Extend program space by getting rid of bootloader on NANO

It's enforcing this line from the arduino:avr boards.txt nano.menu.cpu.atmega328.upload.maximum_size=30720 To be clear, the board is assumed to have a bootloader, even if you're not using it to get ...
timemage's user avatar
  • 5,231
5 votes
Accepted

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

It is possible to skip the Burn Bootloader step. When you do Upload Using Programmer the bootloader is overwritten and thus serves no purpose. However, there is another reason for the Burn Bootloader ...
per1234's user avatar
  • 4,098
4 votes

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

I had exactly this problem. If the ATtiny is set for external clock, then the ArduinoISP will not be able to program it without an external crystal. Connected a 16 MHz crystal and 2 capacitors ...
jcwh2's user avatar
  • 41
4 votes
Accepted

How to prevent ATTiny program from running after I flash it with Arduino?

This means that if I try to flash the program, ATTiny will start to put PWM power into my Arduino. I don't want that to happen. Why do you think that is a problem? The "PWM power" cannot be any ...
Majenko's user avatar
  • 105k
4 votes

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

The bootloader only enables serial programming of the device; it is perfectly possible to run Arduino programs without it provided that the code is compiled with the same hardware options (MCU model, ...
Ignacio Vazquez-Abrams's user avatar
3 votes

Male header pins on Arduino Uno

The one by the USB connector is ICSP for the USB interface chip. The other is ICSP for the main chip and doubles as the (now standard) SPI interface for shields. https://www.arduino.cc/en/Reference/...
Majenko's user avatar
  • 105k
3 votes
Accepted

What programmer do I select in Arduino IDE for the ATMEL-ICE ISP?

As of V1.8.2, the ATMEL-ICE is now included as a programmer in the Arduino IDE. The ATMEL-ICE was not available as a in-system programmer (ISP) in version 1.6.8 of the Arduino IDE. On the 20th of ...
sa_leinad's user avatar
  • 3,188
3 votes

MicroSD interfering with ISP programming

Because the SD card is an SPI device it shares the same pins as the ISP interface. The only way to not have the SD card interfere with the ISP is to not have the SD card connected. As you have seen, ...
Majenko's user avatar
  • 105k
3 votes
Accepted

Is this a USBasp I can use with Arduino?

That's not a USBasp, that's some other programmer that has co-opted Atmel's vendor ID invalidly. If you want to use it then you will need to find and use some program called "ProgISP" that is only ...
Ignacio Vazquez-Abrams's user avatar
3 votes
Accepted

When using an Arduino as an ISP, is the capacitor required or not?

The purpose of the capacitor is to prevent the "master" Arduino (the Mega in the first image above) from resetting when the serial port is opened. If that board resets, then programming ...
Majenko's user avatar
  • 105k
3 votes
Accepted

Help understanding how avrdude works with ArduinoISP and why its not working for me

The target board was not reset. The "Arduino as ISP" sketch uses pin 10 to reset the target, not the SS pin. So even on Mega, wire reset of target to pin 10, not to pin 53. Is this an error ...
Juraj's user avatar
  • 18k
3 votes
Accepted

How to use any module that has no library for arduino?

About the fingerprint sensors from mobile phones: You might find the answers to this question useful. They explain in detail, why it is not really worth the effort to try interfacing such a ...
chrisl's user avatar
  • 16.3k
2 votes

Debugging with ISP

There is provision in the USBasp specification for a UART connection, however, not all manufacturers copy the original schematic exactly, and no firmware actually contains the appropriate code for CDC/...
Ignacio Vazquez-Abrams's user avatar
2 votes

Trying to verify that Arduino Pro Micro ISP is working

As Mikael Patel notes, pin 10 on the programmer Pro Micro should run to RST on the target. That might or might not fix the problem. In some previous instances of the “Yikes! Invalid device signature”...
James Waldby - jwpat7's user avatar
2 votes
Accepted

How to upload a sketch via Arduino Nano

I presume you have boot loader on your Nano, so you can use your USB to serial, just wire (D0)TX->RX(USB), (D1)RX->TX(USB), GND-GND and supply power to the target Nano. You will need to reboot Nano ...
Flanker's user avatar
  • 529
2 votes

Which external programmers work reliably with Arduino Mega?

I have successfully used Arduino as ISP (not to be confused with Arduino ISP) on a Mega clone that has a funky FTDI-clone onboard, and would not let me upload bootloader through serial. This worked ...
stevux's user avatar
  • 41
2 votes
Accepted

Can I avoid having a bootloader if I use ISP to flash to an arduino?

It looks like the Trinket Pro has an Atmega328P processor. You can change the fuses to not run the bootloader, in which case you don't need the space taken by it. I have a hex uploader sketch which ...
Nick Gammon's user avatar
  • 38.2k
2 votes

Arduino ISP ATtiny problems

I did not download Arduino as ISP into my arduino. I realize how much of an idiot I am. The capacitor wasn't even needed for some reasons. I might make an intensive tutorial on this project.
See Jian Shin's user avatar
2 votes

What if I have burnt my atmega328p?

after two days of searching on internet, I decided to just reburn the bootloader again on my target µC to discover if it's really burned or not. SO, I guess it was not damaged because I was able to ...
BOuissal's user avatar
2 votes

What if I have burnt my atmega328p?

Trying your fuse settings on an AVR fuse calculator shows that you have selected an “external full-swing crystal” as the clock source. Now your ATmega won't work unless you connect it to an external ...
Edgar Bonet's user avatar
  • 43.1k
2 votes
Accepted

Arduino ISP external power

Even with an external supply, you must still have a common ground reference between the ATmega being programmed, and the Arduino/ATmega doing the programming. According to your comment this was the ...
Chris Stratton's user avatar
2 votes
Accepted

ISP with 115200 baud

You have to edit the programmers.txt file. (The one in ~/.arduino15/packages/arduino/hardware/avr/1.6.21/, not the one in arduino-1.8.x/hardware/arduino/avr/) avrisp.name=AVR ISP avrisp.communication=...
tttapa's user avatar
  • 1,320
2 votes

When using an Arduino as an ISP, is the capacitor required or not?

If you're using Nick Gammon's programmer, the RESET signal to the target board comes from the Arduino programmer - from Pin 10. Read his instructions: https://www.gammon.com.au/bootloader You modify ...
Jim's user avatar
  • 21
2 votes

Lines not pulsed fast enough (?))

The code content works fine while compiled as an Arduino program - that is, using the proper setup() and loop() structure: void setup() { DDRB |= (1 << PB4); DDRB |= (1 << ...
Majenko's user avatar
  • 105k
2 votes
Accepted

Unable to burn bootloader with avrisp

I can see you are on Linux so I won't give you instructions for using AVR Studio - but do know that if you have access to a Windows machine that is another option you could try. I can't tell you ...
sa_leinad's user avatar
  • 3,188

Only top scored, non community-wiki answers of a minimum length are eligible