TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 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 (140533 times)
  2. FAT32 Library (73022 times)
  3. Network Ethernet Library (58025 times)
  4. USB Device Library (48212 times)
  5. Network WiFi Library (43821 times)
  6. FT800 Library (43292 times)
  7. GSM click (30353 times)
  8. mikroSDK (28983 times)
  9. PID Library (27112 times)
  10. microSD click (26714 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: 1220 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

Tool: RomSizes

10

This tool shows the romsize of all units of a project together with rom-size details of a selected unit.
For mP, mC and mB for PIC, dsPIC and PIC32.

[Learn More]

TempSensors Ds1820 LM35

16

The basic functions for the DS18(S/B)20 (onewire digital temperature sensor), including string output, ready to display. A routine to convert a more than 9 bits temperature read from a DS18B20 to a string (to e.g. display on an LCD) is also present. Including Parasite Power and Configuration routines. The LM35 basic functions, code efficient.

[Learn More]

Uart_buffered

8

Uart Receiver routine(s) with circular receive buffer, the receiver part is interrupt driven.

[Learn More]