2: Application Layer 1 Socket Programming UNIX Network Programming, Socket Programming Tutorial:
Name: ICSP Programming Socket
Transcript of Name: ICSP Programming Socket
Name: ICSP Programming SocketCode: MR004-001.1
The programming of Microchip Technology Inc.'s microcontrollers can be done using different expensive tools, or it can be done directly on the system you are developing by the ICSP technique (In Circuit Serial Programming); the latter method requires that the designer adds to his project an appropiate plug connected to the microcontroller to make programming operations on board.
Our product ICSP Programming Socket allows you to use the ICSP technique without modifing or complicating your design and it also affords you a ZIF (zero insertion force) socket where plugging in the microcontroller that must be programmed; note that similar products often use normal DIL socket, and the disadvantage of using this kind of socket is that the continuous plug and unplug of the microcontroller can damage its pins forcing you to change it with a new one.
Microchip Technology Inc. produces a wide range of microcontrollers. Each of them has its own features, and above all their connections for programming are different: our product allows you to program a wide range of microcntroller types. Particularly, it works with 8bit and 16bit microcontroller families (for more details, see the supported devices list at the end of this document).
Connectors prepared on the side of the board have been designed to fit the Microchip PicKit2 and PicKit3 programmers, making our product theirs essential peripheral.
INSTRUCTIONS
The ZIF socket has 40 pins, so to correctly program any type of microcontroller it is very important to insert it in the right position as it is shown n the following images.
!!! ATTENTION. Inserting a microcntroller in a wrong position can damage the microcontroller itself and it can also damage the programmer.!!!
1MICROBOT di Prosseda Mirko – Strada Chiesuola 117, 04010 Borgo Carso (LT), Italy
web: http://www.microbot.it email: [email protected] tel: +39-347-2159275
Microbot – ICSP Programming Socket
To properly insert the microcntroller into the ICSP Programming Socket you have to follow these steps:
• if it is already inserted, please remove the jumper from the JP3 connector;• identify the belonging group (from 1 to 5) of the microcontroller you have to program (see
tab.1);• raise the blocking brake of the ZIF socket;• insert the microcontroller into the ICSP Programming Socket in the position shown by the
image of its belonging group (see tab.3); pin 1 must always be oriented towards the blocking brake;
• pull down the blocking brake of the ZIF socket;• insert the Pickit2 or PicKit3 programmer in the connector A or B, according to the belonging
group of the microcontroller that must be programmed (see tab.2);• if you want to program a microcontroller of the group 3, you have to insert again the jumper
into the JP3 connector before starting the programming step;
Now you are ready to load on your pc the Microchip's software used with the PicKit2 or PicKit3 programmer, to import the HEX file and to start the programming. At the end of the programming step you can pull up the blocking brake of the ZIF and remove the PIC: now it is ready to work in your project.
Group Microcontrollers1 12F 508-509-510-519-609-609-615-629-635-675-6832 16F 505-506-526-610-616-630-636-639-676-684-6883 16F 54-84A-87-88-627A-628A-648A-716-818-819
18F 1220-1230-1320-13304 16F 724-727-747-777-871-874A-877A-884-887-914-917-1934-1937-1939
18F 252-452-4220-4221-4320-4321-4331-4410-4420-4423-4431-4450-4455-4458-4480-4510-4515-4520-4523-4525-4550-4553-4580-4585-4610-4620-4680-4682-4685-44J10-45J10-43K20-44K20-45K20-46K20
5 16F 72-73-74-76-77-722-723-726-737-767-870-872-873A-876A-882-883-886-913-916-1933-1936-193818F 2220-2221-2320-2321-2331-2410-2420-2423-2431-2450-2455-2458-2480-2510-2515-2520-2523-2525-2550-2553-2580-2585-2610-2620-2680-2682-2685-24J10-24J11-24J50-25J10-25J11-25J50-26J11-26J50-23K20-24K20-25K20-26K20
Tab.1 – Microcontrollers groups
Connector GroupsA 4 – 5B 1 – 2 - 3
Tab.2 – Connector – groups relations
2MICROBOT di Prosseda Mirko – Strada Chiesuola 117, 04010 Borgo Carso (LT), Italy
web: http://www.microbot.it email: [email protected] tel: +39-347-2159275
Microbot – ICSP Programming Socket
Group 1 Group 2
Group 3 Group 4 Group 5Tab.3 – Microcontrollers positions
SUPPORTED DEVICES
Baseline Devices
• PIC12F508, 509, 510, 519• PIC16F505, 506, 526• PIC16F54
Midrange Devices
• PIC12F609, HV609• PIC12F615, HV615• PIC12F629, 635, 675, 683• PIC16F610, HV610• PIC16F616, HV616• PIC16F627A, 628A, 648A• PIC16F630, 636, 639, 676• PIC16F684• PIC16F688• PIC16F72• PIC16F73, 74, 76, 77• PIC16F722• PIC16F723, 724, 726, 727• PIC16F716• PIC16F737, 747, 767, 777• PIC16F84A, 87, 88
3MICROBOT di Prosseda Mirko – Strada Chiesuola 117, 04010 Borgo Carso (LT), Italy
web: http://www.microbot.it email: [email protected] tel: +39-347-2159275
Microbot – ICSP Programming Socket
• PIC16F818, 819• PIC16F870, 871, 872• PIC16F873A, 874A, 876A, 877A• PIC16F882, 883, 884, 886, 887• PIC16F913, 914, 916, 917• PIC16F1933, 1934, 1936, 1937• PIC16F1938, 1939
PIC18F Devices
• PIC18F252, 452• PIC18F1220, 1320, 2220, 2320• PIC18F1230, 1330• PIC18F2221, 2321• PIC18F2331, 2410, 2420, 2431• PIC18F2423• PIC18F2450, 2455, 2458, 2480• PIC18F2510, 2515, 2520, 2523• PIC18F2525• PIC18F2550, 2553, 2580, 2585• PIC18F2610, 2620, 2680• PIC18F2682, 2685• PIC18F4220, 4221• PIC18F4320, 4321, 4331• PIC18F4410, 4420, 4423• PIC18F4431, 4450, 4455• PIC18F4458, 4480• PIC18F4510, 4515, 4520, 4523• PIC18F4525, 4550, 4553, 4580• PIC18F4585• PIC18F4610, 4620, 4680• PIC18F4682, 4685• PIC18F24J10, 25J10, 44J10, 45J10• PIC18F24J11, 25J11• PIC18F26J11• PIC18F24J50, 25J50• PIC18F26J50• PIC18F13K22, LF13K22, 14K22, LF14K22• PIC18F13K50, 14K50• PIC18F23K20, 24K20, 25K20, 26K20• PIC18F43K20, 44K20, 45K20, 46K20
4MICROBOT di Prosseda Mirko – Strada Chiesuola 117, 04010 Borgo Carso (LT), Italy
web: http://www.microbot.it email: [email protected] tel: +39-347-2159275