TOP Contributors

  1. MIKROE (2760 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 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 (139223 times)
  2. FAT32 Library (71732 times)
  3. Network Ethernet Library (57114 times)
  4. USB Device Library (47426 times)
  5. Network WiFi Library (43051 times)
  6. FT800 Library (42401 times)
  7. GSM click (29832 times)
  8. mikroSDK (28034 times)
  9. PID Library (26881 times)
  10. microSD click (26196 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: 1206 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

I2c non blocking

10

Replacement routines for I2c1_Rd and I2c1_Wr but here with timeout, so no blocking any more when a device one tries to access is not present. The mE I2c library is still needed for the remaining I2c routines. Implemented also the code for controllers with 2 I2c's (e.g. P18F27K40).

[Learn More]

Utilities

26

Several utility libraries: - String Utilities, - SDMMC Utilities, - Bit Utilities, - (standard) Pascal Funtions, - Assert functions, - UartUtils, - Button utilities. - CRC routines

[Learn More]

Thermostat with DS1820

5

Usage of the Ds1820 (one wire temp sensor) to control a heating system. Provides 2 different temp settings (e.g. day and night settings). Proportional control of the heater (which is basically on/off controlled) using PWM like method with a 1 minute timebase (x minutes on, y minutes off).

[Learn More]