Programming the Chip

Discussion in 'Embedded Systems and Microcontrollers' started by MusicTech, Apr 11, 2009.

  1. MusicTech

    Thread Starter Active Member

    Apr 4, 2008
    144
    0
    Hello All,

    So I built this programmer:

    http://www.stmental.net/~dfoster/dmf_picprog/

    and I want to test it with one of the basic codes found on this page.

    I do not believe WinPic supports the PIC I am using (16F883), So I would like to use MPLAB.

    So my question is: what do I do to pit these programs on the chip? What type of files would I save these as, and then what other supplementary files (like lkr in the case of C) would i have to add? Also, what type of programmer would I consider the one I built?

    Thanks,

    Jake
     
  2. maxpower097

    Well-Known Member

    Feb 20, 2009
    795
    388
    First you will need to install MPLAB and the matching C compiler for that chip. Once thats done you will create a new project in the project wizard. Make sure you select your chip and and the right compiler. Now when thats done you will add your .c files and .h files. Then you will build the project. After that you will see a menu at the top called programmer. Select that and pic your programmer. Now you will have some new buttons at the top. Click the one that says program when you hold the mouse over it. :)
     
Loading...