Questions tagged [isp]

In-system programming (ISP) refers to the ability of chips to be programmed while installed in the system.

Filter by
Sorted by
Tagged with
1
vote
2answers
4k views

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

Looking at Arduino as ISP and Arduino Bootloaders, it is stated The 10 µF electrolytic capacitor connected to RESET and GND of the programming board is needed only for the boards that have ...
2
votes
2answers
1k views

Homebrew Arduino using ATMEGA328P, ISP or ICSP?

I plan on creating a homebrew Arduino breakout board using the ATMEGA328P smd version. I'm geeting confused by the wealth of information out there as to whether I should be using ICSP or ISP to ...
0
votes
1answer
156 views

Using Arduino as ISP and SoftwareSerial at the same time

I'm trying to use my Arduino Uno as an ISP to program an ATTiny85 and at the same time check my board by using the SoftwareSerial library to output the values I'm getting from my sensor. Is this ...
0
votes
1answer
62 views

Backup an ATMEGA16

I have an ATMEGA16 lying around that was in an old robot I'd bought. It was in a socket, so I pulled it out and was thinking of using this page to use it with Arduino IDE. Is there a way for me to ...
1
vote
1answer
825 views

Unable to upload sketch after bootloader has been flashed on Arduino Micro

I have created my own custom Arduino Micro, but I am experiencing problems when I attempt to upload an sketch via USB in Arduino IDE. Here is how I program the Arduino Micro: avrdude -c ...
0
votes
1answer
90 views

Arduino Nano use SPI pins as I/O pins? and still be able to do ISP?

I wonder if can use the Arduino Nano SPI-pins(MOSI,MISO & SCK) as I/O pins in a sketch? and still be able to program over ISP? Of course I will physical disconnect the Arduino from any other ...
0
votes
1answer
59 views

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

I am 2 years old in this Arduino world. I am currently working on a project where I am about to make use of a fingerprint sensor. Now my question is that could we be able to make use of a sensor that ...
0
votes
1answer
6k views

ESP8266 as ISP program for ATMega16

I have used below program for ESP8266 as ISP to upload a program to an ATmega16. ISP program uploaded in ESP8266 #include <SPI.h> #include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #...
0
votes
0answers
35 views

Arduino Nano as ISP programmer and Serial monitor

Is it possible to use an Arduino Nano or comparable as a programmer and simultaneously use it as a serial adapter? Meaning that I would be able to flash another µC (e.g. an ATmega644PA) using avrdude ...
0
votes
0answers
21 views

Programming Pro Micro over ISP, but keep bootloader [duplicate]

I want to program a Pro Micro over ISP from a hex file using avrdude, but I also want to have the bootloader after it is programmed so that I can program it over USB. Is this possible?
0
votes
0answers
69 views

Batch programming AVR chips via ICSP with an esp8266

I had an interesting idea recently, but don't have all the knowledge needed to make it work. I know that several people have made Arduino programmers with an esp8266, allowing them to program the ...
1
vote
1answer
36 views

Cannot write lock byte on Arduino Pro Micro

I have an Arduino Pro Micro, with atmega32u4 chip and a caterine bootloader. However, every time I (successfully) flash some program over the USB port, the /dev/ttyACM0 device disappears, and I cannot ...
0
votes
1answer
77 views

Atmega328p Uploads via ISP but not bootloader

I'm trying to upload a bootloader to my atmega328p on a custom pcb containing external oscillator at 16MHz. It is possible to upload program via ICSP pins using Arduino as ISP (Official Arduino Uno) ...
0
votes
1answer
147 views

Can't use Arduino nano as ISP because it can't read the Device signature

I programmed the 8mhz internal oscillator Bootloader to a new Arduino Nano with another Arduino nano running the ISP Sketch, wich worked fine the first time(Arduino as ISP selected as programmer). (I ...
0
votes
2answers
298 views

How to use ATtiny pins that are usually 'reserved' for chip programming?

How to program an ATtiny45 to use the pins 1, 5, 6, 7 (i.e. PB5, PB0, PB1, PB2) as input or output? pinMode(5, OUTPUT); pinMode(0, OUTPUT); pinMode(1, INPUT); pinMode(2, INPUT); digitalWrite(5, HIGH);...
0
votes
3answers
279 views

How do I change pin assignments for the LUFA AVRISPMkII?

I just managed to get Dean Camera's LUFA AVRISP clone working on my Arduino Pro Micro, when to my dismay I found that to use PDI for my XMega, I need to have PD5 exposed for the clock source! The Pro ...
1
vote
1answer
143 views

Flashing ATmega8U2 using another Arduino

I have an Anduino Uno R1 and the ATmega8U2 on. It does not respond correctly. How can I use another Arduino Uno R3 in order to reinstall the correct firmware? What I want to avoid it to solder the ...
0
votes
2answers
352 views

Using an Arduino Nano to program (as ISP) a standalone 328p

I uploaded the ArduinoISP sketch to an Arduino Nano to use it as a programmer for other chips. It worked successfully to program an ATtiny45, I did the usual wiring between them, and added a 10uF ...
1
vote
2answers
2k views

How can I program a ATmega328 au tqfp32 ( SMD ) chip? [closed]

I have some experience with the Arduino UNO , Nano , mega etc .. But today I want to upgrade my skills and knowledge to next level . So I am about to design my own PCB for ATmega328 au ( SMD ) but ...
1
vote
1answer
110 views

Unable to burn bootloader with avrisp

I want to burn the arduino optiboot_atmega328.hex bootloader but it doesn't work. I remember that I was able to burn the BL using the arduino IDE which was quite easy, this time I'm having some ...
0
votes
1answer
226 views

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

I am trying to use avrdude with a Mega2560 running ArduinoISP Note: I have the 10uF cap on the Mega2560 RESET line as described by Ardunio. Also, I am using avrdude/6.3 on Windows 10. The Mega2560(...
0
votes
1answer
31 views

Programing AVR 32u4 via ISP with other ISP device connected

I have a custom PCB with an Atmega 32u4 chip. I program the chip with AVRDUDE via ISP after it is has been mounted onto the PCB. All is well. I now want to add wireless capability via the NRF24L01. ...
12
votes
3answers
52k views

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 ...
5
votes
1answer
395 views

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

Can I program a factory fresh ATMega328P using the UART pins without burning a bootloader? These pins are TX, RX, VCC, GND, and DTR pins in the schematic below. They are not the ISP/SPI pins 10-13. ...
0
votes
0answers
42 views

What would cause fuses to be writeable but bootloader not to be writeable?

I am trying to burn a bootloader onto an ATmega328P-AN using an Microcenter knock-off Arduino Uno R3 as my ISP for several days with no luck. The farthest I've gotten is writing and reading a few ...
1
vote
2answers
1k views

Arduino Uno Reading Fuses

I am trying to read the fuse values for the Arduino Uno, but keep getting the following results returned back to me: enter code hereavrdude: Version 6.0.1, compiled on Dec 16 2013 at 17:26:24 ...
7
votes
2answers
4k views

Male header pins on Arduino Uno

On my board, there are 12 (2 groups of 6, each group consistent of 3 rows of 2 pins) weird male header pins. What are these, and how would you use them?
1
vote
1answer
277 views

ArduinoISP external programmer produces verification error?

I am using an ArduinoISP external programmer to upload a sketch to an Arduino MEGA. I set the processor type to MEGA 2560, and use Ctrl-Shft-U to upload using a programmer. My programmer is set to ...
1
vote
1answer
1k views

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

I have been using an AVRISPmkII for many years and have just transitioned to ATMEL-ICE ISP after the AVRISPmkII became unavailable. Occasionally, I like to program the Arduino Uno from the Arduino ...
0
votes
1answer
52 views

Lines not pulsed fast enough (?))

Should this code pulse the PB3 and PB4 pins (MOSI and MISO of an Arduino Uno) at 2ms interval ? #include <avr/io.h> int main(void) { // for (byte i = 0; i < 32; i++) // pinMode(i, ...
0
votes
1answer
65 views

Changing parameters in Arduino without the IDE

I’m installing Arduino-based well monitors in my local community. Each well is different and has slightly different parameters and several hardware variations. Currently, when I need to make a ...
7
votes
2answers
514 views

MicroSD interfering with ISP programming

I have a microSD connected to an Arduino and I can't program it over ISP without removing the SD card. Does anybody know how to prevent the SD card from interfering with the ISP programming? Details: ...
1
vote
1answer
349 views

ISP with 115200 baud

I have a serial ISP programmer of protocol type "stk500v1" which expects 115200 baud data rate. I have used it successfully with Atmel Studio by calling avrdude manually (custom tool) in the past. ...
0
votes
1answer
559 views

Issues uploading to atmega324pb w/ adruino as ISP

I've been having some issues programming a new atmega324pb I have on a custom board. I set up an old adruino UNO as an ISP by uploading the ArduinoISP sketch, setting the programmer to "Arduino as ISP"...
1
vote
2answers
3k views

Burning a Uno bootloader into a Nano

I bought some cheap Arduino Nanos from ebay, but the watchdog does not work in them. So I removed their old bootloader and burnt a new Nano bootloader from the Arduino IDE. Same problem, the watchdog ...
1
vote
1answer
1k views

Uploading Arduino bootloader to ATmega32U4 with another Arduino?

I am in a situation where it is useful if I can upload a bootloader into an ATmega32U4 using another Arduino like this, for ex:https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard. I have a ...
3
votes
1answer
283 views

Forwarding serial output from a Nano to Uno that's used as the ISP

I'm trying to program a Nano by using an Uno as the ISP. So far, I've followed along with the example project for getting the Uno running as the ISP on https://www.arduino.cc/en/Tutorial/ArduinoISP. ...
0
votes
1answer
149 views

Arduino ISP external power

I want to program an atmega328p-pu via my arduino uno as ISP in a circuit. I omitted my connected sensors, LCD, etc in the schematic to keep it simple. When I power the circuit via a 5V power supply ...
4
votes
1answer
7k views

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

This is the first time that I realized that extra SMD IC near the USB port of the Arduino UNO is actually a fully fledged microcontroller, I thought that it was just a USB to Serial converter. Further ...
0
votes
0answers
402 views

Atmega328p ISP won't work

I have a grbl board that runs on an Atmega328p. On the board I have also provided the ability to control the stepper drivers through an external control step and dir signals. The schematics are shown ...
-1
votes
1answer
294 views

Atmega328P and Arduino Studio and Pololu AVR - not working

I have standalone ATMega328p and I'm using external 16MHz oscillator, I hooked up and I triple checked my connections for Pololu AVR programmer and I make sure that I select a proper programmer \ ...
0
votes
3answers
9k views

Programming Arduino Pro mini 328 with Arduino Uno SMD

I apologize in advance, because there is a lot of tutorials out there about programming arduinos with another arduino, however I can't find really simple one I could understand. I have Arduino Uno ...
0
votes
2answers
380 views

Burn Bootloader to Chinese Arduino 2560 with AVR ISP programmer

I got my hands on one of these ISP programmer for Atmel AVR microcontroller in USB stick design: Then I selected Progammer > AVR ISP and clicked on Burn Bootloader but it says stk500_recv(): ...
1
vote
1answer
2k views

Arduino ISP ATtiny problems

As I was trying to program my ATtiny chip with my arduino, I ran across some problems. Note that I know that this problem is faced almost in every Q and A site and forum so don't flag me as repeat yet....
2
votes
3answers
352 views

What if I have burnt my atmega328p?

Actually I am facing a big problem while programming my atmega328p using an arduino uno as ISP. I followed a video on youtube "Arduino as ISP" by Notes and Volts. Which look doing the same steps ...
1
vote
1answer
1k views

Unable to upload code to Leonardo

I was using Arduino-Makefile to upload code to a Leonardo via its standard make upload. However, it became "stuck" and unresponsive, as Leonardo's sometimes do. I tried power cycling it, and ...
2
votes
2answers
827 views

Which external programmers work reliably with Arduino Mega?

When looking for alternate external programmers (ISPs), I am noticing that many are not Arduino Mega 2560 compatible (e.g. Pocket AVR Programmer, USBtinyISP). I am looking for a reliable external ...
1
vote
0answers
88 views

Can I upload with avrdude 2 hexes with 2 usbasp connected to computer, one hex with one usbasp ? If yes, how?

If I have connected 2 usbasps in the same time to ubuntu, can I upload 2 hexes one after the other(using avrdude) on each usbasp without disconnecting a usbasp ? If yes, how do I select each port for ...
0
votes
1answer
388 views

Avr dude programmer

I was trying to upload a hex file to my attiny85 with an arduino,and I came across this: avrdude -c avrisp (followed by other codes and the flash address ) This doesn't work and it gave one of the ...
0
votes
1answer
615 views

Can i burn an Arduino sketch .hex directly using USBASP?

I am unable to upload sketches to my Arduino Uno board using the upload option in the IDE. I have done quite a few tests to find the reason but everything seems to be working fine when tested ...