PIC 16F84A

Picinit for PIC 16F84A

 

 

What Picinit ?


Picinit is a free software (GNU General Public License).

Picinit is a utility which is addressed to those which program the PIC 16F84A microcontrollers in assembler language, with Microchip MPLAB IDE.

Picinit defines the initial configuration of a PIC 16F84A microcontroller.

The source code (.asm) corresponding is automatically generated.

This source code is entirely compatible with MPLAB IDE.

Download Picinit version 1.0.4 (for Windows)


        Download the source code (C++ Borland Builder 5.0)


 

Tutorial

1- How to use Picinit

2- Transfer to MPLAB IDE

 

1- How to use Picinit

Open Picinit84A_104.exe

Project -> New project

 

In this project :

 

 

 

 

 

 

 

This project uses 8 registers.

Note that there are 2 imposed registers (W_TEMP and STATUS_TEMP).

These two registers are assigned to the interrupt routine.

 

 

Save project : tutorial104.mcq file

Create the source code : tutorial104eng.asm file

 

2- Transfer to Microchip MPLAB IDE

 

a) Open MPLAB IDE

b) Project->New

c) Configure ->Select Device -> PIC16F84A

d) Project -> Select Language Toolsuite -> Microchip MPASM Toolsuite

e) Debugger -> Select Tool -> MPLAB SIM

f) Project -> Add File to Project (file tutorial104eng.asm creates by Picinit) :

 

 

g) The most difficult remainder to be made : write the main program, the subroutines, the interrupt routine ...

 

Sorry for my poor english ...

(C) Fabrice Sincère ; version 1.1.10