1661 |
kaklik |
1 |
// FileName: rm18f4550.lkr |
|
|
2 |
// Sample linker command file for 18F4550 with Bootloader |
|
|
3 |
// |
|
|
4 |
//Change History: |
|
|
5 |
// Rev Date Description |
|
|
6 |
// 1.0 10/30/2004 Initial release |
|
|
7 |
|
|
|
8 |
LIBPATH . |
|
|
9 |
|
|
|
10 |
FILES c018i.o |
|
|
11 |
FILES clib.lib |
|
|
12 |
FILES p18f4550.lib |
|
|
13 |
|
|
|
14 |
CODEPAGE NAME=boot START=0x0 END=0x7FF PROTECTED |
|
|
15 |
CODEPAGE NAME=vectors START=0x800 END=0x0x829 PROTECTED |
|
|
16 |
CODEPAGE NAME=page START=0x82A END=0x7FFF |
|
|
17 |
CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED |
|
|
18 |
CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED |
|
|
19 |
CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED |
|
|
20 |
CODEPAGE NAME=eedata START=0xF00000 END=0xF000FF PROTECTED |
|
|
21 |
|
|
|
22 |
ACCESSBANK NAME=accessram START=0x0 END=0x5F |
|
|
23 |
DATABANK NAME=gpr0 START=0x60 END=0xFF |
|
|
24 |
DATABANK NAME=gpr1 START=0x100 END=0x1FF |
|
|
25 |
DATABANK NAME=gpr2 START=0x200 END=0x2FF |
|
|
26 |
DATABANK NAME=gpr3 START=0x300 END=0x3FF |
|
|
27 |
DATABANK NAME=usb4 START=0x400 END=0x4FF PROTECTED |
|
|
28 |
DATABANK NAME=usb5 START=0x500 END=0x5FF PROTECTED |
|
|
29 |
DATABANK NAME=usb6 START=0x600 END=0x6FF PROTECTED |
|
|
30 |
DATABANK NAME=usb7 START=0x700 END=0x7FF PROTECTED |
|
|
31 |
ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED |
|
|
32 |
|
|
|
33 |
SECTION NAME=CONFIG ROM=config |
|
|
34 |
|
|
|
35 |
STACK SIZE=0x100 RAM=gpr3 |
|
|
36 |
|
|
|
37 |
SECTION NAME=USB_VARS RAM=usb4 |