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.
Questions tagged [icsp]
70 questions
11
votes
4 answers
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 - this method works well for me at the moment.
I'm…

edcs
- 333
- 3
- 11
8
votes
6 answers
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 circuit, with only minimal interface circuitry on the…

Wouter van Ooijen
- 48,407
- 1
- 63
- 136
6
votes
4 answers
Should I include a JTAG port on my product?
Both my microcontrollers on my project (dsPIC33FJ128GP804 and PIC24FJ64GA004) support JTAG boundary scan testing. Should I wire these up and expose a JTAG port for hackers? The product is intended to be open hardware and as such be modified. ICSP…

Thomas O
- 31,546
- 57
- 182
- 320
4
votes
7 answers
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 respectively. Both of these have the bootloader…

cpf
- 149
- 1
- 1
- 4
4
votes
1 answer
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 still be able to plug the programmer in and burn the boot…

davivid
- 440
- 5
- 14
4
votes
1 answer
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 just 4 resistors. This might just be because this…

K_T
- 185
- 4
3
votes
1 answer
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 :
avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean,…

Emmanuel Istace
- 1,788
- 3
- 21
- 36
3
votes
1 answer
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 header and a reset pull-up resistor.
Here are the…

Isvara
- 514
- 4
- 20
3
votes
2 answers
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 ICSP headers, and particularly, a statement made…

Coldblackice
- 1,699
- 4
- 20
- 25
3
votes
1 answer
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 also used during ICSP (Internal Circuit Serial…

J. Doe
- 33
- 2
3
votes
3 answers
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
That PIC receives it and uses ICSP to program the…

Michael Jennings
- 78
- 8
3
votes
5 answers
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 ever had an issue with this.
I have a PIC12F675 - it…

DigitalMan
- 203
- 1
- 5
3
votes
1 answer
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 advance for its length. Unfortunately I don't have a…

par
- 275
- 6
- 15
2
votes
1 answer
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 ATMEGA168. It is Arduino compatible and the PTH…

edcs
- 333
- 3
- 11
2
votes
1 answer
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. What is the normal setup for something like…

Dabloons
- 417
- 1
- 4
- 8