Techmeology
Posts: 30
Joined: Wed Mar 28, 2012 8:52 pm
Contact: Website

Yet Another PIC Programmer for the Raspberry Pi

Sun Oct 07, 2012 9:46 pm

Hello, all!

I've been working on (yet another) PIC Programmer for the Raspberry Pi: http://www.techmeology.co.uk/rpipic/. This particular one features:
  • The ability to program 12 bit and 14 bit PICs
  • Autodetection of 14 bit PICs
  • A modular architecture that could be extended to support other chips
  • Diagnostic LEDs and a simple test circuit (with two more LEDs)
Comments/bug reports are welcome ;)

Enjoy,

Techmeology
Check out cool stuff I'm doing, e.g my PIC Programmer for the Raspberry Pi: http://www.techmeology.co.uk/rpipic/

User avatar
meltwater
Posts: 1014
Joined: Tue Oct 18, 2011 11:38 am

Re: Yet Another PIC Programmer for the Raspberry Pi

Wed Jan 09, 2013 4:13 pm

Looks like a great project.
Would be interesting to have a go with it and perhaps feature an article on it in the MagPi.

Would a standard serial programmer work with the Raspberry Pi too (via a USB-RS232 adaptor)?
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam

Techmeology
Posts: 30
Joined: Wed Mar 28, 2012 8:52 pm
Contact: Website

Re: Yet Another PIC Programmer for the Raspberry Pi

Mon Feb 25, 2013 4:55 pm

If you want to do a magpi article, sure! Let me know if I can help with that. The board itself isn't designed to use RS232, but I designed the software to be reasonably modular - you might well be able to use an RS232 adapter.

Techmeology

p.s: Damn, I didn't notice a notification email about your reply - sorry for the delay:p
Check out cool stuff I'm doing, e.g my PIC Programmer for the Raspberry Pi: http://www.techmeology.co.uk/rpipic/

avstomusic
Posts: 1
Joined: Sat Apr 20, 2013 4:24 pm

Re: Yet Another PIC Programmer for the Raspberry Pi

Sat Apr 20, 2013 4:44 pm

Screen Shot 2013-04-20 at 9.20.13 AM.jpg
Screen Shot 2013-04-20 at 9.20.13 AM.jpg (47.04 KiB) Viewed 4248 times
Thank you, this seems like a a great circuit. Although I'm a little confused as how this connects to the Raspberry PI. I'm new to the pic controllers programming but it doesn't take a degree in electronics to notice that the numbers of the GPIO headers don't quite match. For example in the little table chart says VPP control should be pin 9, which according to the Raspberry PI documentation has no connection, while according to the schematic GPIO numbers, VDD control for example is on pin 4 which again has no connection on the Raspberry GPIO. What are all those numbers referring to? See attached screenshot.

cae2100
Posts: 143
Joined: Tue Jan 08, 2013 10:35 am
Contact: Website

Re: Yet Another PIC Programmer for the Raspberry Pi

Sat Apr 20, 2013 10:33 pm

I thought about doing a design like this, but instead, using a design like the old K150 programmers. Due to the lack of working software in linux, I kinda abandoned the idea. Its something to think about bc it has dc/dc converter for 12v and everything built in, no need for external stuff, but the software is the real issue.

Neat idea for your programmer btw, a little observation is that your using a seperate 5v regulator, why not just use pin 2/5v out on the rpi? The pic chip uses a few uA and maybe a few mA at most, so it wouldnt even be any drain tbh. No use reinventing the wheel and it'd cut down on cost to make it/parts. :P

The 12v, you can maybe use a seperate chip to run as a pwm generator to use a buck/boost converter to convert the DC up to 12/13v needed, then you wouldnt need any external regulators or anything like that. Just make it into a self contained shield for the rpi and it'd be good to go for your projects. I believe roman black has a buck/boost converter that just uses like 2 transistors and some other components to raise the 5v to 13v for the chips.
http://www.romanblack.com/smps/conv.htm
There's the converter I was talking about.

Edit: Just a question, why use 6v dc when most chips can only handle 5v?
If it isnt smoking and blown into pieces, it's not pushed far enough yet. :P
http://cae2100.wordpress.com

Techmeology
Posts: 30
Joined: Wed Mar 28, 2012 8:52 pm
Contact: Website

Re: Yet Another PIC Programmer for the Raspberry Pi

Sat Jul 13, 2013 1:41 am

Hi

avstomusic: The VDD control pin is used to control whether power is received by the PIC. The circuit itself is not powered by the Pi.
cae2100: Thanks for the suggestions. If I were to make many of these, I might well try to power it from the Pi alone. Some of the design of the programmer arises from the fact that I constructed it from parts I had (or thought I should have). There's a certain CompSci urge to solve a generalised problem in a systematic way:p

Thanks

p.s: Hopefully I'll get notified next reply:p
Check out cool stuff I'm doing, e.g my PIC Programmer for the Raspberry Pi: http://www.techmeology.co.uk/rpipic/

mano1
Posts: 1
Joined: Tue Oct 01, 2013 6:34 am

Re: Yet Another PIC Programmer for the Raspberry Pi

Thu May 22, 2014 4:04 am

Can I program a PIC12F629 with this setup? I am interested to do this (instead of buying a programmer already built), but haven't programmed a PIC before :)

danjperron
Posts: 2667
Joined: Thu Dec 27, 2012 4:05 am
Location: Québec, Canada

Re: Yet Another PIC Programmer for the Raspberry Pi

Fri May 23, 2014 12:17 am

Hi Techmeology,


6 month ago ,

I post a universal pic programmer in python.

I don't have so many leds and I was using the Raspberry Pi to program the I.C. Way simpler

I thing Walter Fukuoka has a nice package about it.

Please have a look before and after this post.

http://www.raspberrypi.org/forums/viewt ... 69#p429669

Daniel

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Yet Another PIC Programmer for the Raspberry Pi

Fri May 23, 2014 12:44 am

Hi,
mano1 wrote:I am interested to do this (instead of buying a programmer already built), but haven't programmed a PIC before :)
You might think about a circuit/chip with pre-programmed bootloader. It should be the proper start, when you're becoming familiar with this area (one typical trap are fuses, which you can avoid by using this "prefabricated" approach). Later on, you'll quickly find out that in-circuit debugger is worth every cent spent for it... ;-)


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

hampi
Posts: 223
Joined: Fri May 31, 2013 11:29 am
Contact: Website

Re: Yet Another PIC Programmer for the Raspberry Pi

Fri May 23, 2014 2:58 pm

One more PIC programmer

http://holdenc.altervista.org/rpp/

http://mujweb.cz/tlc/rpp/

and my PCB for it

https://github.com/oh7bf/PiPIC/tree/master/RaspiPICprog

The programmer code is plain C if you like the unix command line interface.

rtek1000
Posts: 21
Joined: Wed Mar 12, 2014 9:21 pm

Re: Yet Another PIC Programmer for the Raspberry Pi

Wed Aug 20, 2014 6:11 pm

hello,

I would like to make a programmer for eeprom w25q128.

I found a library for Arduino to this memory (SPI):
https://code.google.com/p/winbondflash/

have some way to use this interface to program eeprom using the RPI?

picpgm
Posts: 1
Joined: Tue Jan 27, 2015 9:45 pm

Re: Yet Another PIC Programmer for the Raspberry Pi

Tue Jan 27, 2015 9:49 pm

Hello together,

if you are looking for a PIC programmer for the Raspberry Pi, have a look at PICPgm:
http://picpgm.picprojects.net

The Linux version which is supporting more than 650 different PIC microcontrollers has been ported to the Raspberry Pi. It uses the GPIO pins to program the PIC.

Regards!

indula
Posts: 1
Joined: Mon Jul 13, 2015 11:27 am

Re: Yet Another PIC Programmer for the Raspberry Pi

Tue Apr 26, 2016 7:19 am

Hi, I have a PIC which has a 26 pin raspberry connector, can you help me in the process of connecting the raspberry pi with my PIC board? And can I get data from the PIC to the raspberry pi and save it in a database in the Pi.?? Please help me with the steps? Do i have to follow the steps in your blog or what?

Return to “Other projects”

Who is online

Users browsing this forum: No registered users and 9 guests