

Because of OSX’s unix heritage, much of the info here is also useful in other unix inspired systems, like the Linux command line. This is a command line tutorial primarily conducted in in the OS X command line.

Latest PIC devices list, PK2DeviceFile.Please feel free to contact François Gilbert ( any help or have comments on the GUI.For more information, please visit Microchip Forum: Link.Drag and drop the 2 files, enter your admin password and you're done.To do that, open a Finder window and press CMD+SHIFT+G then type in ' /bin'.You need to downlaod the PicKit2-Programmer-GUI-1.2-OSX.zip and copy pk2cmd and PK2DeviceFile.dat files into ' /bin' folder, even if you have manually installed pk2cmd before.

#Os x programming mac osx#
Mac OSX 10.5 is required to run it along with the latest version of Java.The device's program memory and configuration memory are programmed. PK2CMD /PPIC16F887 /FC:PROJECTPROGRAM.HEX /MP C If no region is entered, the entire device will be verifiedĮach option must be immediately preceeded by a switch, which can be either a dash or a slash and options must be separated by a single space. This may only be used in conjunction with a programming operation. Program OSCCAL memory, where: is a hexidecimal number representing the OSCCAL value to be programmed. If a region is entered, no erase is performed and only the given region is programmed. If no region is entered, the entire device will be erased & programmed. P = Program memory, E = EEPROM, I = ID memory

is a value of 1-16, with 1 being the fastest P and E must be followed by an address range in the form of x-y where x is the start address and y is the end address both in hex, path is not used Type F: = read into hex file, path = full file path, range is not used Types P,E,I,C: = ouput read of Program, EEPROM, ID and/or Configuration Memory to the screen. The following commands are available in the command line interface: Options Other command line interfaces should have a similar mechanism for settingyour PATH variable. (Use "pico ~/.bashrc" to create in the home directory regardless ofthe current working directory. bashrc does not exist: Create in the home directory using "pico. bashrc (/bin/bash) to include: PATH=$PATH:/usr/share/pk2 export PATH
#Os x programming mac os#
To program a PIC under Mac OS X, please download the following file:.MacOS 10.4 and 10.5, on Intel or PowerPC based machines. The following information is quoted from ' Readme For PK2CMD MacOSX.txt'
#Os x programming how to#
This tutorial shows how to use iCP01 and iCP02 under Mac OS X with Terminal or GUI form. Support is NOT provided for this Mac OS X programming.
