Author Topic: Pickit 2 C# sources  (Read 6199 times)

0 Members and 1 Guest are viewing this topic.

Offline VasiTopic starter

  • Regular Contributor
  • *
  • Posts: 60
  • Country: ro
    • Visual Pin Configurator for Nucleo L152RE - produces SPL code.
Pickit 2 C# sources
« 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!
 

Offline jaxbird

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Pickit 2 C# sources
« Reply #1 on: June 01, 2014, 04:36:06 pm »
You can try this unless they've crypto obfuscated the code:

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

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: Pickit 2 C# sources
« Reply #2 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

look for the "PICkit 3 Programmer App and Scripting Tool", sources are in an zip inside that file.
 

Offline VasiTopic starter

  • Regular Contributor
  • *
  • Posts: 60
  • Country: ro
    • Visual Pin Configurator for Nucleo L152RE - produces SPL code.
Re: Pickit 2 C# sources
« Reply #3 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).
 

Online hans

  • Super Contributor
  • ***
  • Posts: 1641
  • Country: nl
Re: Pickit 2 C# sources
« Reply #4 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.
 

Online macboy

  • Super Contributor
  • ***
  • Posts: 2254
  • Country: ca
Re: Pickit 2 C# sources
« Reply #5 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.
 

Online macboy

  • Super Contributor
  • ***
  • Posts: 2254
  • Country: ca
Re: Pickit 2 C# sources
« Reply #6 on: June 03, 2014, 06:10:07 pm »
Parts 3 and 4 of the archive.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf