PIC tools

A question, a problem or a suggestion, don't hesitate : a little email

Back to electronic main page

Aim of this page

PIC001.JPG

Tools for several kinds of PIC :

- Small ones (12F508, 12F509, 12F510),

- Medium ones (16F84),

- Large ones (16C765, 18F4550).

Software

PIC002.GIF

The simpliest way is to use the free MPLAB X IDE from Microship.

I use now the 3.65 release with, for the C/C++ programs, the XC8 compiler (1.35 release).

To create a project with assembly source file:

- File -> New project -> Microchip Embedded : "Stand alone project" then Next

- Choose your PIC for instance "Advanced 8-bit MCUs (PIC18)" and "PIC18F4550" then Next

- Choose your programmer (or let ICD 3) then Next

- Choose "mpasm (v...)" then Next

- Choose the folder and the name of the project (pfor instance Test01) then Finish

- If the source files are already existing, do a right click on "Source Files" in the project explorer then "Add Exixting Item..." and choose the files

For C source files, it's the same, juste choose "XC8 (v1...)" rather than "mpasm (v...)"

USB Bootloader for
PIC 18F2550/18F4550

PIC002.GIF

Step by step, the use of an USB bootloader for an 18F4550 (or 18F2550) :

- Installation,

- Test using a Microchip tool,

- My first HID program.

Programming

PROGPIC001.JPG

A programmer/in circuit debugger based on an Elektor realisation.

Can program all the PIC I have used (an probably many others...).

Test board for PIC 18F4550

BREAD001.jpg

A test board for PIC 18F4550 built by a friend.

Can be directly connected to a Labdec Breadboard to realize quick experiments.

PIC 12F508, 12F509 and 12F510
Libraries

TST509.GIF

Some software libraries for PIC 12F508, 12F509 and 12F510.

Greatly simplify the conception of a new application.

PIC 12F508, 12F509 and 12F510
Test programs

TST509.GIF

Some test programs for PIC 12F508, 12F509 and 12F510.

To be used to test your system but also as examples for hardware and/or software.

PIC 16F84
Test programs

TST509.GIF

Some test programs for PIC 16F84.

To be used to test your system but also as examples for hardware and/or software.

PIC 18F2550 et 18F4550
Test programs

TST509.GIF

Some test programs for a PIC 18F2550 and 18F4550.

To be used to test your system but also as examples for hardware and/or software.

USB HID interface
for PIC 18F4550

PIC003.JPG

A test program of an USB interface, using HID mode, between a PC and a PIC.