About the Programmer. This is a Simple com port based Microchip PIC microcontroller Programmer,This Programmer is based on JDM programmer.The entire programmer is built around commonly available components. Does not support the usb to serial converter. Works with most of PIC mcu. Works with 18F2550 and other 18F series mcu. Aug 07, 2018 Simple PIC serial port programmer This is a Simple PIC serial port programmer. This Programmer is based on JDM programmer.The entire programmer is built.
This page is dedicated to everybody needs to program a PIC (Microchip) device via USB port. Looking on the web for ready-to-use projects, I found a good one called Open Programmer, coming with several schematics, PCBs and Open Source code. The original link is http://openprog.altervista.org/OP_ita.html
What concerned me was the need to mount, on the mainboard, a specific socket board depending on the model of PIC being programmed. Moreover, the proposed layout did not meet my personal “compact look” ideas. So, I propose here a small layout version of that circuit, adopting a single smart on-board ZIF socket. This version sacrifices many non-PIC microcontroller models. I will thank everybody proposing a larger range implementation, suitable to program Atmel and other devices. Anyway, if your goal is to program PIC devices, you are on the good site.
A small box, a USB connector, a ZIF socket, two leds. That’all in my compact proposal.
Description
- About the Programmer. This is a Simple com port based Microchip PIC microcontroller Programmer,This Programmer is based on JDM programmer.The entire programmer is built around commonly available components. Does not support the usb to serial converter. Works with most of PIC mcu. Works with 18F2550 and other 18F series mcu.
- ICSP means 'in circuit serial programmer(ing?)'. It is a way of programming a PIC while it is still attached to the application circuit. Thats right, no more chip swapping.
The details are available on the original project mentionned above. Hereafter, I shown my Compact version, with a schematic, PCB layout and instruction for assemby and inserting it in a very common little plastic box. At the bottom of this page, I supply a copy of the program to load on the PIC18F2550 used to manage the programming functions, as well as a copy of the PC side program. I tested the program up to Win-8 without problems. Take into account that, on the original site, a newer version of both Firmware and Software is available.
Schematic
Assembly
Build first the main module using low profile components being under 10 mm of height from the PCB surface, since a second board will be mounted over that one. Mount 4 ten millimeters height columns to allow the final assembly of the second board. Use low profiles parts to fix the columns, otherwise some manual metals removal can be needed to reduce the occupation on the copper side.
The ZIF is a quite delicate component befor final soldering. Pay attention to avoid any force that can lead to damage or deformation. It is better to do 1.2 mm holes to facilitate the insertion of the ZIF socket in the PCB. During soldering jump several pins each time, following a spiral line, adopting a sequence that allow to warm-down a pin while you are soldering the next one.
Once the two circuits are ready, connect them using the strip lines, and block assembly using the columns. Use countersunk screws of countersunk holes to avoid the screws being too hight respect to upper surface of second PCB. Just the socket and the two leds shall emerge.
The plastic box is very common. You shall create holes to let emergent parts to exit from its surface: the socket, the two leds (or a single bi-colour led), the USB socket on a short side. It is a A-type female
The Box
After a few attempts and corrections you will reach the final result. The cover has a border that shall be modified to host the circuits, but your logic will drive you. The first PCB has to be fixed on the box using the supplied screws.
Hereafter the final result:
Software
As said before, the original site offers both the firmware and the PC side software. Anyway, to start using this programmer, I suggest you to use the versions I used at time of project editing, available hereafter for downloading. After some tests, you can try the new updated versions available on the original site. Of course, if you have not a programmer yet, a friend should program the programmer first, for you. After that first step, you will be automous!
You can download the PC software on the link below – OpenProg.rar
You can download the PIC .hex file on the link below – OProg.hex
Usage
Connect the programmer to the PC with a male-male A-Type USB cable. The device is seen as a generic one. The green led blinks speedy first, announcing the connection in progress. Than slowly, indicating that the connection phase is completed. The PC software allows bot writing and reading the EEPROM of any PIC mounted on the ZIF socked. The test functions allow to measure the Vpp high voltage generated by the step-up converter present on the main circuit. That voltage is anyway already verified by the firware itself.
Arduino As Pic Serial Programmer
Pic Serial Programmer Reviews
The PIC to be programmed has to be positionned on the ZIF socket as shown by the following picture. An hi-res version of this picture is available HERE for being printed and attached on the back of the programmer itself.
Pic Serial Programmer For Mac
Five connections are needed to program a PIC while attached to an application circuit. I add a 5 pin header to my circuit boards to make this connection quick and easy.
The basics of PIC programming.
Five connections are required to program a PIC. Power, ground, a programming voltage, clock, and data.
+ (Vdd)/-(Vss) These are the power & ground connections (Vdd, Vss). Pretty standard. If you are using a programmer with 'real' voltage levels (NOT a JDM2!), your application can run from its own power supply when programmed, eliminating these connections.
Vpp This is the programming voltage. PICs enter programming mode when ~13 volts are placed on the MCLR/Vpp pin (usually pin 1 on modern PICs, more on that below).
Clock/Data or PGC/PGD The clock and data lines are used to write and read the PIC firmware. These are usually the same pins as PORTB6 & PORTB7.
Exercise:Identify the ICSP connection points on the PICs in the pictures below.
If the PIC fits, wear it.
I get a lot of questions about my JDM2 design on instructables. The most frequent is 'Will it program PIC X?'' - here is how you can tell:
1) Look at the data sheet. Find the 'Pin Diagram' that looks something like the picture below.
2) Identify the location of the pins that must be connected for programming (Vpp, Vdd, Vss, Data, & Clock).
3) Look at the socket connection on the programmer. Can you match the required pins with a socket on the programmer?
The basics of PIC programming.
Five connections are required to program a PIC. Power, ground, a programming voltage, clock, and data.
+ (Vdd)/-(Vss) These are the power & ground connections (Vdd, Vss). Pretty standard. If you are using a programmer with 'real' voltage levels (NOT a JDM2!), your application can run from its own power supply when programmed, eliminating these connections.
Vpp This is the programming voltage. PICs enter programming mode when ~13 volts are placed on the MCLR/Vpp pin (usually pin 1 on modern PICs, more on that below).
Clock/Data or PGC/PGD The clock and data lines are used to write and read the PIC firmware. These are usually the same pins as PORTB6 & PORTB7.
Exercise:Identify the ICSP connection points on the PICs in the pictures below.
If the PIC fits, wear it.
I get a lot of questions about my JDM2 design on instructables. The most frequent is 'Will it program PIC X?'' - here is how you can tell:
1) Look at the data sheet. Find the 'Pin Diagram' that looks something like the picture below.
2) Identify the location of the pins that must be connected for programming (Vpp, Vdd, Vss, Data, & Clock).
3) Look at the socket connection on the programmer. Can you match the required pins with a socket on the programmer?