TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141317 times)
  2. FAT32 Library (74154 times)
  3. Network Ethernet Library (58737 times)
  4. USB Device Library (48834 times)
  5. Network WiFi Library (44544 times)
  6. FT800 Library (44117 times)
  7. GSM click (30857 times)
  8. mikroSDK (29699 times)
  9. PID Library (27359 times)
  10. microSD click (27273 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: 1258 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

Fat

24

Several libraries for Fat16 and Fat32: - Fat16Dir (findfirst, findnext) (only P18) - Fat16DirLFN (Fat16Dir for long filenames) (only P18) - Fat32_,1 Fat32_2; single and multiple Fat32 device(s) for P18, PIC24, dsPIC and PIC32 - IDE for P18, PIC24 and dsPIC.

[Learn More]

C RTOS for mP and mB (P18 and P24)

10

CRTOS stands for Cooperative Real Time Operating System; designed for and written specifically in mP/mB from mikroElektronika. The system uses cooperative as opposed to pre-emptive scheduling which means that the application code you write has to voluntarily release back to the operating system at appropriate times.

[Learn More]

PS2 Mouse Read

5

Returns the Delta X (hor), the Delta Y values (vert), the Delta Z (scrolwheel) values and the button status if one of those has changed. Only tested on P18 with 48 MHz MCU clock (will work probably also on 16 and on lower MCU clock speeds).

[Learn More]