User`s guide

MPLAB
®
IDE User’s Guide
DS51519B-page 52 © 2006 Microchip Technology Inc.
The linker script files are as follows:
DevNum – the number associated with the device, e.g., 18f8722.lkr for the
PIC18F8722 device.
i – Reserved memory for ICD resources is specified
_e – For PIC18 devices: Extended instruction (XINST) mode is specified
e – For PIC24/dsPIC DSC devices: XY data is specified for use with the emulator
Tutorial Step 8:
You will be adding two files to your project:
Locate the file “cnt8722.asm” and click on it. Then click Add>> to add it to the
project.
Locate the linker script file for PIC18F8722 devices, 18F8722.lkr, found by
default in the subdirectory
C:\Program Files\Microchip\MPASM Suite\LKR.
Click on the file and then click Add>> to add it to the project. Also, click the
checkbox next to the added file so that it is copied into the project directory.
3.10 COMPLETING THE PROJECT
You should now review your project setup. The Project Wizard Summary screen should
be visible.
Check the summarized information on the project. If anything is incorrect, use
Back to return to the dialog you need and change the information.
•Click Finish when you are satisfied with the project setup.
Tutorial Step 9:
Click Finish to complete the project setup.
Use PIC10/12/16 PIC18 PIC24/dsPIC
®
DSC
General
DevNum.lkr DevNum.lkr
DevNum_e.lkr
DevNum.lkr
MPLAB
®
ICD 2
DevNumi.lkr DevNumi.lkr
DevNumi_e.lkr
DevNumi.lkr
MPLAB ICE 2000*
DevNum.lkr DevNum.lkr
DevNum_e.lkr
n/a
MPLAB ICE 4000 n/a
DevNum.lkr
DevNum_e.lkr
DevNume.lkr
* Not all PIC18 MCUs supported on MPLAB ICE 2000.
Note: If you are planning on using the MPLAB ICD 2 as your debug tool, choose
file 18F8722i.lkr instead.