EEVblog Electronics Community Forum

Electronics => Microcontrollers => Topic started by: Vasi on June 01, 2014, 04:27:05 pm

Title: Pickit 2 C# sources
Post by: Vasi on June 01, 2014, 04:27:05 pm
Anyone having Pickit2 PC software sources (the version 2 was written in C#) and willing to share them? You can't find them anymore on Microchip's site.
Thank you very much!
Title: Re: Pickit 2 C# sources
Post by: jaxbird on June 01, 2014, 04:36:06 pm
You can try this unless they've crypto obfuscated the code:

http://www.jetbrains.com/decompiler/ (http://www.jetbrains.com/decompiler/)

Title: Re: Pickit 2 C# sources
Post by: neslekkim on June 01, 2014, 09:16:41 pm
Anyone having Pickit2...

You mean Pickit3 right? You find the sources for that here:
http://www.microchip.com/pagehandler/en-us/devtools/dev-tools-parts.html (http://www.microchip.com/pagehandler/en-us/devtools/dev-tools-parts.html)

look for the "PICkit 3 Programmer App and Scripting Tool", sources are in an zip inside that file.
Title: Re: Pickit 2 C# sources
Post by: Vasi on June 01, 2014, 09:44:37 pm
No, I mean exactly Pickit2 version 2.x, written in C#...
I have version 1.x sources written in Borland C++ 6 (compilable with the personal edition).
Title: Re: Pickit 2 C# sources
Post by: hans on June 02, 2014, 08:48:33 am
Never knew they were up for download.

The binaries are not obfuscated, so you can easily "pull it apart" with a program like ILSpy or something similar.
You get reasonable code. Comments are lost, as well as variable names of local stuff. Most other things is in there and up for grabs.

You could quite easily figure out how their USB thing works and write command-line USB scripts for/with the PICKIT 2/3 this way.
Title: Re: Pickit 2 C# sources
Post by: macboy on June 03, 2014, 06:09:21 pm
I have sources for version 2.40 in C#.
I will attempt to post it here; it is almost 4 MB compressed.
THis is a multi-part 7zip archive, and each part is individually compressed into a zip file for posting (7z is not allowed). Decompress the 4 parts, then open the .001 part with 7zip.
Title: Re: Pickit 2 C# sources
Post by: macboy on June 03, 2014, 06:10:07 pm
Parts 3 and 4 of the archive.