Introduction to Microcontrollers Lab Manual - Microchip
Introduction to Microcontrollers Lab Manual - Microchip
Introduction to Microcontrollers Lab Manual - Microchip
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
0.3.5 Programming the Device<br />
In order <strong>to</strong> program the device, the build must complete successfully. This will create<br />
the binary image that is required <strong>to</strong> load in<strong>to</strong> the device Flash.<br />
You must configure MPLAB IDE <strong>to</strong> use the licensed debugger circuit that resides on the<br />
MX PIC24F EDU module, see Figure 0-2. In MPLAB IDE, select “Licensed Debugger”<br />
from the menu Programmer>Select Programmer>Licensed Debugger.<br />
FIGURE 0-2: SELECT PROGRAMMER<br />
Now all that is needed is <strong>to</strong> program the device. To do this, ensure the programming<br />
USB cable is connected, and select Programmer>Program from the menu. The output<br />
window will display the status of the process. Any errors will be noted in this window.<br />
Once programming is complete, the device should immediately begin <strong>to</strong> execute the<br />
code. If successful, you will see the LED blink at the intended rate.<br />
2011 <strong>Microchip</strong> Technology Inc. DS51963A-page 11