Both C2C and the PICmicro development board can be used with PICmicro devices other than the PIC16F84. This section will explain how to set up C2C to use a different chip, and any changes in your C program that may be required.

Setting up C2C and PPP
There are 3 places in C2C that need to be changed to use another PICmicro correctly - the processor command line switch of the "Assembler" item, the "Include File" itself, and the "Variable Table Start" value. These options are found in the "Options" and "Compile Options" screens.

For example, if you choose to use the PIC16F627 device, then you will need to set the above items to the following:

Assembler:
c:\Program Files\MPLAB\MPASMWIN.EXE /aINHX8M /p16f627 /rHEX /w2 /q

Include File:
c:\Program Files\MPLAB\P16f627.INC

Variable Table Start:
0x20

You should also make sure that the PPP programmer has the correct chip selected in its options screen by clicking on the "PICmicro Configuration button" located above the contents tree and selecting the appropriate chip. Different chips have different capabilities, and you may need to change some other settings.

For example, the PIC16F627 has 2 extra options: "Low voltage programming" and "Brown-out reset". You should make sure that both of these options are un-selected, unless you fully understand what they are and specifically require them. You will also find that the "Oscillator type" selection box has become disabled, because the PIC16F627 device supports oscillator modes that are not supported in the development board. To set-up this device correctly, you will need to manipulate the "Configuration word" bits manually: for this device, cfg4, cfg1 and cfg0 represent the oscillator type and should be set to the appropriate mode (Note that only XT and INTRC modes are available for this device when using the PICmicro development board).

Changes to your C programs
For some PICmicro devices other than the PIC16F84, certain extra capabilities of the chip may be turned on by default.

For example the PIC16F87x series have analogue capability on PORTA which is enabled by default, meaning that PORTA cannot be used for digital I/O unless this analogue capability is specifically disabled within your own code by setting the ADCON1 register to 0x07.

Similarly, the PIC16F627 device has an analogue comparator function on PORTA which should be turned off by setting the CMCON register to 0x07.