AVR programmer on PIC

A place to document your own projects.

AVR programmer on PIC

Postby jaromir » Wed Jun 05, 2013 7:09 am

Just from pure passion to see how low-end PIC exercises AVR, I made this programmer.
Basically it is STK500 port on PIC16F1825. I took this http://www.tuxgraphics.org/electronics/ ... 5101.shtml one, did some clean-up, wrote new hardware layer for PIC16 and voila - new programmer is born. It was done in one evening and night, ready to work in the morning. I didn't bother with USB (though there is a lot of DIP USB MCUs from microchip), as It would contain extreme amount of ICs - probably one more than this implementation - and I wanted to keep it simple and transparent. One can use FT232RL instead of MAX3232.
IMG_8847s.jpg

Well, what more? It works with both AVRstudio and avrdude. It has no ESD protection, but for recreational use (I don't like AVR very much) it is acceptable.
There is a lot of other programmers, as good (or better or worse) as this one. This is nothing special - I made it for sheer passion of PIC-AVR interracial marriage.

More photos here https://picasaweb.google.com/1118907411 ... directlink
Attachments
schem.pdf
(8.81 KiB) Downloaded 891 times
STK500_PIC18F1825.zip
(20.44 KiB) Downloaded 738 times
my personal webpage - http://jaromir.xf.cz/ Update 05.06, project PIC500
jaromir
Newbie
Newbie
 
Posts: 37
Joined: Tue Jun 07, 2011 4:49 am
Location: Bratislava, Slovakia

Re: AVR programmer on PIC

Postby McLaren » Thu Jun 06, 2013 3:10 pm

This MPLAB project, as downloaded, seems to be setup for a 16F1823 device and fails to build. After changing the device to 16F1825 it builds successfully. Also, would you confirm that the crystal is 3638400 Hz, please?
McLaren
Newbie
Newbie
 
Posts: 17
Joined: Sat Mar 10, 2012 4:53 pm
Location: Michigan, USA

Re: AVR programmer on PIC

Postby jaromir » Fri Jun 07, 2013 9:47 am

Yes, the crystal is 3638400 Hz.
Strange is the thing with MCU setting. 16F1825 is the right one, as you correctly guessed.

Edit: I tried to download the ZIP file, open in MPLAB 8.91 and there is correctly selected PIC16F1825. Importing the project into MPLABX 1.8 showed the same result.
my personal webpage - http://jaromir.xf.cz/ Update 05.06, project PIC500
jaromir
Newbie
Newbie
 
Posts: 37
Joined: Tue Jun 07, 2011 4:49 am
Location: Bratislava, Slovakia


Return to Project logs