Author Topic: PIC programmer pinouts  (Read 4879 times)

0 Members and 1 Guest are viewing this topic.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
PIC programmer pinouts
« on: September 09, 2010, 06:09:55 pm »
I was going to make a simple project: a 28 pin ZIF socket and a 6 pin header. I would put a row of header sockets down each side of the ZIF and have wires coming from the 6 pin header with a single header pin on each. In this way i can plug in my Pickit programmer and put the wires into the appropriate pins on the socket headers so that I have a semi-permanent way of quickly programming different pics.

Before I go to so much labour i was curious: might there just be some sort of universal 28 pin layout that allows any pic to be appropriately positioned in a 28 pin socket (not necessarily with pin 1 of the pic to pin 1 of the socket) so that it can be programmed and i can just lay the correct traces from the programmer header to the socket ?
 

Offline migsantiago

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: 00
    • MigSantiago's Web Site
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: PIC programmer pinouts
« Reply #2 on: September 09, 2010, 06:49:17 pm »
oh splendid, although I've shot myself in the foot by jumping into this before i thought and buying a ZIF28 socket instead of ZIF40, maybe it can be adapted to 28 pin ?

From what i can tell providing I can find a placement combination that does not have two different lines clashing on the same socket pin it's ok ?
 

Offline DavidDLC

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: us
Re: PIC programmer pinouts
« Reply #3 on: September 09, 2010, 07:12:41 pm »
Why not to use in-circuit programming ?

With your method you need to be moving the IC from your development board to the programmer, and it is not practical, unless you already have the final project and want to program in mass.
 

Offline migsantiago

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: 00
    • MigSantiago's Web Site
Re: PIC programmer pinouts
« Reply #4 on: September 09, 2010, 07:17:43 pm »
If you have a 28-pin ZIF, you can check out the 28-pin position of a PIC in the 40-pin ZIF and then just delete the connections you won't use.

You can download the Winpic800 software and install it. Then from the PIC list, you can see how different pics are supposed to be inserted into the ZIF socket.

For example, a 28 pin PIC18F2450 has to be inserted from the first pin of the ZIF socket.
 

Offline Jon Chandler

  • Frequent Contributor
  • **
  • Posts: 539
    • Throw Away PIC
Re: PIC programmer pinouts
« Reply #5 on: September 09, 2010, 08:01:56 pm »
Simon,

Have a look at this.  It has 3 ZIF sockets that fit nearly any PIC in a DIP package. 

http://cgi.ebay.com/MCU-Universal-ZIF-socket-use-PICkit-2-3-/250685803006?pt=LH_DefaultDomain_0&hash=item3a5e09c9fe


I got one of these from a different supplier but it looks like the same board.  One caution.  It has a 90-degree 6-pin keyed ICSP connector...and it's BACKWARDS.  The company I bought my board from "solved" the problem by reversing the connector on one end of the supplied cable.  Very, very bad!  I replaced it with a vertical connector and fixed the cable.

There's also a schematic that shows the connections, so that should get you started.

Also, I did some research for my TAP-28 board and many 28-pin PICs follow the same pinout.  There's a list on my site of 28-pin PICs that are completely the same - power, ground, programming, UART and I2C/SPI.  If a part is not on my list, power, ground and programming may be the same but there are differences in UART and I2C/SPI connections.  The list is here, and may not be all-inclusive:

http://www.clever4hire.com/throwawaypic/supported-devices
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: PIC programmer pinouts
« Reply #6 on: September 09, 2010, 10:40:48 pm »
yes i do use ISP now but I just wanted something I can leave setup for my jellybean pic for when I playing around on a breadboard that's all. I've found a ready made one on ebay as there are also units made like i originally proposed with the wires, I think these also have the ability to be used with daughter boards as you have the headers ready
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf