S215  090806

Reference IH06-20 Loading, Compiling, and Running
OEES 215

Back to Main Page
 
  1. Get into MPLAB IDE by double-clicking the S215.mcw workspace file in your C Programs folder. (Don't open MPLAB IDE by clicking the Windows Start button and finding it there.)
    • To see the files in your folder, right-click the Windows Start button in the lower left-hand corner of your screen and choose Explore.
    • There will be less confusion if you close down the C: drive folder.
    • The flash drive folder will appear under the Computer folder.
  2. If you need to load the program you're going to compile, here's how:
    • In the S215.mcw project window, click whatever file is listed under Source Files and press the Delete button on the keyboard.
    • Right-click Source Files, and select Add Files from the menu.
    • In your C Programs folder, double-click the program you're wanting to open. 
    • Once the program's file name appears below Source Files in the project window, double-click it to open up the file into an editing window.
  3. Click the Make icon on the toolbar.
  4. When the compiler has finished, you should see Build Succeeded in the output window.
  5. With the PICkit3 and PIC18 board connected to the USB cable, turn on the 5 volt supply.
  6. On the menu bar, click Debugger and then Program
  7. When your program has finished being programmed into the PIC chip, click the run icon (blue-green arrow pointing right).

 
Back to Main Page