Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [icsp]

ICSP is an acronym for in-circuit serial programming. It refers to the ability to reprogram a microcontroller or other reprogrammable device while still in place within a circuit. That is in contrast to devices where the part must be physically removed for reprogramming.

0
votes
1answer
23 views

ATtiny icsp pins dual purpose

I am using an ATtiny88 in a pcb design. It is directly driving a LED matrix. I am only driving half bytes at a time, so the max current limit will be followed. It is my understanding that I can dual ...
1
vote
2answers
107 views

JTAG, SWD, EDBG, ICSP, ISP terms

JTAG, SWD, EDBG, ICSP, ISP . Can someone simply explain their differences. For example if EDBG debugger can ALSO program flash, why Arduino boards have both ISP and EDBG ? http://www.armlearning....
0
votes
1answer
33 views

How do I maintain ICSP functionality?

I'm a novice hobbyist building a trivial circuit where an ATTiny 85 controls an RGB LED. In addition to the three PWM outputs, I have 2 inputs. The first input is a potentiometer I'm using to set ...
0
votes
1answer
267 views

Clip type for in-system programming (SOIC8 vs DIP8)

Updated: What clip can I use to connect to this [specsheet] SPI flash chip in a DIP8 package? note: this picture is of a motherboard that belongs to someone else, but mine has the same manufacturer,...
2
votes
2answers
152 views

ICSP + SST25VF016B + ATmega2560 Problem

We have designed a board that uses an ATMega2560 and wanted to have the option to do remote firmware updates (it has a Sim800C as well for getting the firmware files). Therefore we've added an ...
3
votes
1answer
104 views

Forgot ICSP / in-circuit interfacing of pins on Atmega328P in TQFP-32 package

I am having an issue due to my own stupidity: I designed a PCB with the good old Atmega328P in TQFP-32 package. I broke out the pins for UART in order to be able to Arduino-flash it (beginners/...
0
votes
1answer
419 views

ESP8266 ICSP design: which circuit design guidelines to avoid fails/damages?

I'm working on a project which is all on breadboard right now. I'm close to final version, so I'm planning to design PCB for the release (not commercial use, just for some friends of mine). The ...
3
votes
1answer
126 views

How can I isolate voltage reference from ICSPCLK programmer output

In my application I use PIC16F676 microcontroler with the LM282 (https://www.onsemi.com/pub/Collateral/LM285-D.PDF) external voltage reference (for A/D converter) connected to the RA1 pin. This pin is ...
0
votes
2answers
212 views

Will this 3v3 level shift for arduino->avr programmer work

I'm trying to program an avr in a circuit that has other components on the same SPI lines that would be damaged with > 3.3 volt logic. I figured I could just use an arduino (5v logic) with a level ...
1
vote
1answer
237 views

Writing hex to several microcontrollers at the same time via ICSP

Is it possible to write a hex code to several microcontrollers via one ICSP and one program on PC at the same time ? More specifically : I'm looking to program 10 PICs at the same time from the same ...
0
votes
2answers
151 views

Can I use pin as both an ICSP pin and as pwm output?

I have a microcontroller with 3 PWM pins, and I'd like to use those pins to drive the leds inside an analog RGB led. Problem is that one of the pins is also the MOSI pin and I would like to re-...
3
votes
3answers
1k views

What's the risk of leaving VPP/MCLR floating?

In the microchip PM3 ICSP design guide, this diagram is shown to demonstrate a typical implementation of ICSP: Here, the MCLR/VPP pin is pulled to 5V during normal ...
1
vote
2answers
171 views

Keeping Vpp off other pins in PIC MCU

I have the circuit below using PIC16F627a, which should support ICSP (drawn in autocad instead of built in editor). IO pins which are not relevant to my question are omitted. Outputs RB5 and RB6 have ...
3
votes
2answers
231 views

PIC32MX ICSP wiring

I was looking to use a PIC32MX series microcontroller on a project. It is currently in the mail, but I thought I would try to understand the wiring for power and programming before it arrived. I had ...
0
votes
1answer
242 views

Simple Servo Control Issues with PIC and ICSP

simulate this circuit – Schematic created using CircuitLab I have a project in which I am controlling/trying to control a Carson CMS-1 servo using a PIC. I have a board set up with a 7.5v 1A ...
2
votes
1answer
277 views

Is it possible to use an opamp to generate 13V VPP for ICSP?

I have used a 34063 DC boost converter to generate a 13V VPP voltage for a PIC ICSP programmer, but would it be possible to use an opamp instead? The circuit pictured below seems to generate 13V (...
0
votes
1answer
258 views

ICSP CLK/DAT & my 2 buttons

I have a PIC16F684 with buttons connected to PORTA:0 & PORTA:1 which are also used for ICSP DAT & CLK. The ICSP signals are coming from a PIC programmer which I've built using an Arduino. The ...
1
vote
1answer
342 views

Programming PIC16F88

I've built a simple PIC programmer which works OK on a PIC16F628 but fails on a PIC16F88: I've checked the VPP voltage and it's within spec (although I had to substitute a 1.8K for the 1.6K to get it ...
2
votes
1answer
88 views

Factory resetting a PIC16F628

I can't get my home brew pic programmer to execute the factory reset sequence correctly (or rather, it's not resetting the device and I can't work out what I'm doing wrong). Other functions such as ...
0
votes
1answer
750 views

ICSP - how to isolate a pin

I have jerry rigged a PIC programmer but I need to use the PGC/PGD pins as part of the actual circuit. I'd like to be able to flash the PIC without physically swapping it between the circuit and the ...
2
votes
1answer
120 views

Detecting when AVR ICSP header has a cable connected

I have a bunch of Atmega16A MCUs laying around so I want to use them with an ESP8266 to relay temperature and such in each room of my home to a server. The thing is, if I need to update the firmware ...
3
votes
3answers
1k views

Programming a microcontroller with another microcontroller

I'm looking into using a PIC24FJ256GB106 to program three other of the same microcontroller. So this is how it should work: The program is sent across through serial to the master/programming PIC ...
0
votes
1answer
957 views

Atmega328p voltage connections confusion

I am designing a board relying on atmega328p. In order to be able to load the arduino bootloader I added ICSP pins and connected them accordingly. Pin number 2 is VCC pin and I connected it to VCC pin ...
0
votes
2answers
656 views

How to program via ICSP when chip is in-circuit with interfering chips?

My Circuit is: USBTinyISP <-usi/icsp-> ATTiny85 <-usi/i2c-> MCP4725. That is, the USI pins used to program the t85 are also used for i2c in the final circuit. When I try to flash-program the ...
0
votes
2answers
336 views

ICSP design problem on PIC16F628A

I just added the ICSP port on this schematic here however, when the programmer powers the circuit from the ICSP (pin1 +5V, pin6 GND) it also polarizes the relay and the bs170. If for some reason the ...
2
votes
1answer
632 views

Maximum length of Atmel AVR ISP ribbon cable?

I recently picked up a cheap USB based ISP (in-system programmer) for Atmel AVRs. There are two variants of the programming socket that are used with these devices, a 10-pin and a 6-pin. ...
3
votes
5answers
1k views

PIC/ICSP - Protect circuit from VPP voltage?

I'm more of a software engineer, but I've done a fair amount of toying with components and microcontrollers. That said, this has me concerned, and my searches so far seem to indicate that no one's ...
1
vote
1answer
790 views

Why erasing my PIC with PICKit2v2 doesn't work?

Below you can see the output of PICKit2V2 after clicking the Erase button: As you can see above, all the memory addresses (I scrolled also) are equal to 3FFF. ...
10
votes
4answers
1k views

ICSP or Pre-Programmed Microcontroller

I've designed a PCB for small scale production; currently I'm hand soldering them in batches of 20 at a time. This PCB uses an ATMEGA168 microcontroller which I program before soldering to the board - ...
1
vote
2answers
500 views

Can I program 5V ATmega328P using 3.3V ICSP bus?

I am considering building a microcontroller HAT for Raspberry Pi Model B+. Since the Pi have the SPI bus exposed and some avrdude fork supports using it directly, I ...
2
votes
1answer
2k views

I'd like to improve this design to support ICSP

I'm new to electronics and this is my first circuit. I have some questions about implementing ICSP in this design. This is a bit of a long post with quite a few questions so I'll apologize in ...
-1
votes
1answer
292 views

Trouble holding MCLR line low for PIC ICSP, ICD3 works, hardware defect?

I have an ARM Cortex-M3 that talks to a dsPic33F. I am attempting to do ICSP programming of the attached PIC. I have an analyzer and can see that I cannot control the MCLR line the same way the ICD3 ...
0
votes
1answer
2k views

Unable to program ATmega168: bad AVRISPmkII connection status: MOSI fail

I’m trying to program an ATmega168 using an AVRISPmkii via the 6-pin ICSP on a board I “designed” (my first). I have VCC connected to a PSU and the AVRISPmkii connected to the ICSP header. The ...
3
votes
1answer
424 views

Arduino sync issue, 13 not blinking, 2 arduino's deads?

So, here's a copy of the problem I've mentionned on the arduino forum thinking they could help me, but no answers there. Here's the issue : ...
2
votes
1answer
1k views

Can't Program ATMEGA With ICSP

For a project I've been working on, I've re-designed a working PCB schematic so that it uses all SMD components and now features an ICSP header. The board is essentially an LED driver controlled by an ...
1
vote
1answer
3k views

Avrdude refuses to flash ATmega328p due to wrong signature

I have a bunch of defunct arduino boards that I'm trying to restore - Arduino Uno with ATmega328p chips. They do not respond to the usual flashing commands, so I'm trying to flash via the arduino ICSP ...
3
votes
1answer
610 views

ATmega2560 not responding on hand-assembled PCBs

I've assembled some PCBs that I had made, and I'm unable to get the ATmega2560 to respond to programming via the ICSP header. On the third board I'm trying, I have soldered on only the MCU, the ICSP ...
2
votes
1answer
215 views

Power for programming an AVR chip on PCB

I am working on a pcb that has an on board AVR microcontroller. I am providing a 6 pin programming header for the chip but I want to be able to program the chip without powering the rest of the board. ...
3
votes
2answers
307 views

Why are some IC's programmable in circuit, but others aren't?

Why are some IC's programmable while still connected in a system/circuit, but others aren't? What's the determining factor(s) for whether a chip can or cannot? This question stems from my research on ...
0
votes
1answer
178 views

What is Atmel's 2x5 ICSP connector called?

I'm looking for a male connector that fits in the left female connector shown in the image. My goal is to break each lead out to holes on a breadboard. What is that kind of 2x5 connector called? ...
1
vote
1answer
884 views

12F675: ICSP: /MCLR internally tied to Vdd

I'm using the 8-pin 12F675 so have to be conservative with pins. I want to use ICSP while having /MCLR internally tied to Vdd so freeing up GP3. The supply will be 5V. I will be re-programming the ...
1
vote
2answers
245 views

Source for a 6-pin DIL “stackable” header (for Arduino ICSP header)?

Does anyone know of a source for a "stackable" 6-pin DIL header? I would like to use one on an Arduino shield I am designing, in order to carry the ICSP header from the Arduino up through the shield ...
0
votes
1answer
2k views

Understanding a circuit label in ICSP programmer for atmega

I am completely new in electronics. I wanted to make a programmer (or burner) to burn my program in my Atmel16a microcontroller. I found a circuit on the internet: (source) Everything is clear, ...
4
votes
7answers
14k views

ArduinoISP fails with Atmega368, 168 - Device signature = 0x000000

So, apparantly this is a common error, which many people have fixed many different ways, none of which have worked for me. I have two different Arduinos - an NG and an Uno, with an Atmega168 and 328 ...
4
votes
1answer
927 views

Can I use ICSP if components share MOSI/SCK pins?

I'm designing a circuit with an ATmega32U4 where I will need to burn a boot loader once installed on the PCB. I currently have 4x 74HC595 Shift registers, sharing the MOSI & SCK pins. Will I ...
4
votes
1answer
781 views

Is this an OK ICSP circuit?

I recently discovered a project to program PIC18Fs with an Arduino here: https://sites.google.com/site/thehighspark/arduino-pic18f All other ICSP PIC programmers I've seen are more complicated than ...
2
votes
1answer
740 views

PIC12F617 Device ID read when debugging but not when programming

First time using a PIC12F (I've used PIC16, PIC18, DSPIC24F, DSPIC30F and DSPIC33F in the past). Made a very simple pcb (see sch below), but I'm having problems programming it with an ICD3. Didn't ...
1
vote
2answers
467 views

Debugger and Programmer mode on ICD3

I am sending some values through a serial port from the dsPIC30F4011 to matlab. When the ICD3 is connected and I am working in debugger mode, the values are sent and received perfectly as expected. ...
2
votes
2answers
15k views

ICSP Circuit: Vpp (13V) and Vdd (5V) on Pic microcontroller MCLR pin

When hooking up ICSP, is it safe to connect Vpp to MCLR while the +5V from ICSP is also going to the MCLR pin though a pulldown resistor and Vdd of the microcontroller? I'd suspect this to be unsafe ...
8
votes
6answers
2k views

Is there a standard In Circuit programming connector for LPC chips?

The various LPC microcontroller chips have a boot mode that accepts serial communication and writes the received program to Flash. I want to make a PCB with and LPC1114 that must be programmed in ...