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
0
votes
2answers
27 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 ...
0
votes
2answers
41 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
33 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
66 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
20 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. ...
0
votes
0answers
18 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 ...
5
votes
1answer
120 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
163 views

avrdude: initialization failed, rc=-1 on Windows but works on Linux

I am using a Deek-Robot USBTinyISP to talk to an ATMega32u4 using avrdude. When I plug the programmer into my Arch Linux box, it works immediately with no drama, but Windows refuses to talk to the ...
1
vote
1answer
66 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
50 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
59 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 ...
1
vote
1answer
2k 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 ...
1
vote
1answer
183 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. ...
2
votes
1answer
84 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
1answer
99 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 ...
2
votes
1answer
3k 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
271 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 ...
0
votes
2answers
345 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(): ...
0
votes
1answer
4k 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> #...
1
vote
1answer
803 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 ...
0
votes
1answer
396 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
1answer
941 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 ...
1
vote
0answers
75 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
286 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 ...
1
vote
1answer
1k 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
291 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 ...
0
votes
1answer
556 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 ...
2
votes
1answer
146 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
3answers
120 views

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

I am making a simple voltage regulator. The whole idea is to just use ADC to read voltage on output side and based on the result, adjust PWM power. I am using PWM on physical pin 5. That's the same ...
2
votes
2answers
637 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
1answer
124 views

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

My Trinket Pro waits about 10 seconds upon booting before starting the program that I have loaded on it. Can I avoid this delay and the bootloader taking up space if I flash my program directly to ...
1
vote
2answers
812 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 ...
1
vote
1answer
196 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 ...
9
votes
1answer
10k views

FTDI Breakout with additional ISP connector

TL;DR - Can the six yellow ISP pins be used as a normal ISP? The usual USB-TTL FTDI breakout board looks like this: Recently, I came across a variant of the board shown below. However, what are the ...
7
votes
2answers
3k 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?
3
votes
2answers
2k views

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 ...
1
vote
1answer
221 views

Use Arduino Yun Shield as ISP for bootloaded ATMega328-PU

My question is how do I replace the Aarduino Uuno board in this circuit: ...With an Arduino Yun shield? I can setup the hardware - ICSP configuration is easy enough - but how do I go about using the ...
2
votes
0answers
373 views

Can't reprogram atmega328p chips using nano as ISP

Using nano clone as an ISP on a breadboard- as shown here - http://www.martyncurrey.com/arduino-nano-as-an-isp-programmer/ Previously, it worked great. However, recently, chips that I have ...
1
vote
0answers
103 views

In-application programming for the Arduino Uno

I would like to know if it is possible to read from and write to the microcontroller's (Arduino Uno's ATmega328P) flash memory using a program or "bootloader" previously stored in the flash memory (or ...
-1
votes
1answer
235 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
2answers
1k views

rs485 and serial ISP

I made a couple of arduino mini pro and esp8266 pcbs with an rs485 transceiver just to find out that I forgot to think about in-system-programming: Assuming that I don't need to disable the ...
0
votes
1answer
873 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
2answers
226 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 ...
7
votes
2answers
380 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
627 views

Is this a USBasp I can use with Arduino?

I bought the following USBasp off of Aliexpress. The Arduino UDE doesn't recognize it. When I try to run avrdude with it, it says: avrdude -cusbasp -Pusb -patmega328p avrdude: error: could not find ...
1
vote
1answer
1k views

Debugging with ISP

I would like to connect the Atmega328p chip to my desktop, through the USB, so I can run teraterm or hyperterminal for debugging purposes. I have already ordered a USB to TTL serial cable but it won'...
1
vote
1answer
2k views

Trying to verify that Arduino Pro Micro ISP is working

I'm trying to program an Arduino Pro Micro with another Arduino Pro Micro. The purpose is to verify that I can use this Pro Micro board reliably as an ISP to program another Arduino device that does ...
0
votes
2answers
2k views

How to upload a sketch via Arduino Nano

I have two Nano boards, but the first one seems the CH340 chipset was burn. :( , Nano v3, CH340 chipset but unable to identify after connect to my Mac using USB Nano v3, FTDI chipset and in good ...
1
vote
0answers
135 views

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 ...
1
vote
3answers
3k views

Can an AT89S52 be programmed using an Arduino as ISP?

Since the AT89S52 controller is ISP programmable is it possible to use an Arduino UNO as a programmer to upload the hex file to the 8952 ? I've tried various programmer softwares such as progisp, ...