TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (400 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (128 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140754 times)
  2. FAT32 Library (73345 times)
  3. Network Ethernet Library (58192 times)
  4. USB Device Library (48380 times)
  5. Network WiFi Library (43970 times)
  6. FT800 Library (43532 times)
  7. GSM click (30466 times)
  8. mikroSDK (29169 times)
  9. PID Library (27166 times)
  10. microSD click (26846 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Article: Usage of the PicKit2 as programmer

Rating:

0

Author: dany

Last Updated: 2016-04-05

Package Version: 1.0.0.0

Category: Development Systems

Downloaded: 1226 times

Followed by: 5 users

License: MIT license  

Usage of the PicKit2 as programmer from within the IDE.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Article: Usage of the PicKit2 as programmer" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Article: Usage of the PicKit2 as programmer" changes.

Do you want to report abuse regarding "Article: Usage of the PicKit2 as programmer".

  • Information
  • Comments (0)

Project Blog

Small article about how to use a PicKit2 (MicroChip) programmer from wthin the IDE of the PIC compiler.

I got as present (thanks Rainer) a PICKit2 as a replacement of my (old and not maintained) PICFlash2 programmer. It can program PIC's which are not programmable by the PICFlash2. Naturally I wanted to control the programmer from within the IDE, and this is the outcome...

Have fun!


2014-08-29: Added some small part about the "isolation" between PIC and board using the PicKit2 programmer.


2014-08-31: Change the batch file content to prevent programming errors to be unseen.


2014-11-15: Changed the batch file to cope with Pic's that have their configuration bits in program memory.


2014-12-28: Changed the batch file to make use of a separate textfile holding the names of Pic's with the config bits in program memory.

------------------------------------------------------------------------------------------------------------------------------------

2014-12-31: removed an error from the "extended" batch file.    

---------------------------------------------------------------------------------------------------------------------------------------------

2016-04-05: Added the latest devicefile, command line (Pk2cmd) and devicefile editor in the zipfile.

ALSO FROM THIS AUTHOR

WattMeter (Power meter)

5

This project is a power meter (Wattmeter). It is made for 230V~ (nominal, rms), 2.5A~ (max, rms) and 50Hz, but is rather easily adaptable to other voltages, currents and frequencies. It can handle both sinusoidal and non sinusoidal voltages and currents, both with and without DC component.

[Learn More]

Tool: Show PIC Data

5

This tool shows the PIC data (PIC capabilities) derived from the CSV files in the MikroProg Suite directory (and used by it).
For mP, mC and mB, PIC, dsPIC and PIC32.

[Learn More]

Tool: Global variable usage

10

Shows, from a selected routine, the following items: - The parameter - The (used) local variables - The unused local variables (eliminated by optimiser) - The used global variables - Called routines For Pic, Pic24 and P32, both mP and mB

[Learn More]