We now have a file sitting on our PC which we want to send into the PIC itself. A program has been provided which will do this for you. It is called "PPP", or the "PICmicro Parallel Programmer". The PPP program will run automatically when you have pressed the following button within C2C: If the ASM file produced by C2C has been assembled OK by MPASM, then the PPP program will automatically begin downloading the appropriate code to the PICmicro. You will see the progress of this download displayed onscreen (Fig. 2). If you are using a "version1" development board, you will see a message prompting you to put the PICmicro into program mode (Fig. 1). You must then make sure the switches labelled S1, S4 ad S3 are all down and then press the RESET button (S2) momentarily. The LED D1 should now be lit indicating that the PICmicro is in program mode. You can then press the OK button and the code will begin to be transferred. Progress is indicated by a blue bar (Fig. 2). Once program transfer has been completed, you will see another message prompting you to take the PICmicro out of program mode by pushing the three switches (S1, S4 and S3) up and then momentarily pressing the RESET button (Fig. 3). Your program should now be running within the PICmicro. You will need to set up the PICmicro at some stage, and this can be done by selecting the "PICmicro Configuration button" located above the contents tree. The configuration options screen will be displayed as shown in Fig. 4 . The development board developed by Matrix Multimedia can be used with 2 of the oscillator types - XT and RC - depending on which position the oscillator-selector switch is on the board. The LPT port address is usually 0x378 on most computers, but if it is not at 0x378 on your computer you can change the address on this screen. If you are using the "version 1" development board, you should make sure that the "Version 1 compatible" box is selected, otherwise you should de-select it and select "Verify PIC contents" and "Check for the cable". For more information on how to use PPP, please see the version 2 development board data sheet or the "PPP help.htm" help file that accompanies PPP. This 3-stage process of compiling the C-code into assembly, converting the assembly language into machine code and then sending the machine code to the PICmicro can be performed in separate stages as described in the past few screens, or it can be done as one process by pressing the "Build" button from within C2C: |  | Fig 1. Fig 2. Fig 3. Fig 4.