AVR programmer on PIC June 05, 2013, 02:09:05 pm 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.[attachment=0]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 Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: AVR programmer on PIC Reply #1 – June 06, 2013, 10:10:14 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? Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: AVR programmer on PIC Reply #2 – June 07, 2013, 04:47:05 pm 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. Last Edit: January 01, 1970, 01:00:00 am by Guest