firmware/18f4550i.lkr
author cpresser@rika
Thu, 07 Feb 2008 00:18:02 +0000
changeset 10 9798f65f2f35
parent 2 2f55e5dd591d
permissions -rw-r--r--
thx @arghgra. defined variable != declared variable
slime@2
     1
// File: 18f4550i.lkr
slime@2
     2
// Sample ICD2 linker script for the PIC18F4550 processor
slime@2
     3
slime@2
     4
LIBPATH .
slime@2
     5
slime@2
     6
FILES c018i.o
slime@2
     7
FILES clib.lib
slime@2
     8
FILES p18f4550.lib
slime@2
     9
slime@2
    10
CODEPAGE   NAME=vectors    START=0x0            END=0x29           PROTECTED
slime@2
    11
CODEPAGE   NAME=page       START=0x2A           END=0x7DBF
slime@2
    12
CODEPAGE   NAME=debug      START=0x7DC0         END=0x7FFF         PROTECTED
slime@2
    13
CODEPAGE   NAME=idlocs     START=0x200000       END=0x200007       PROTECTED
slime@2
    14
CODEPAGE   NAME=config     START=0x300000       END=0x30000D       PROTECTED
slime@2
    15
CODEPAGE   NAME=devid      START=0x3FFFFE       END=0x3FFFFF       PROTECTED
slime@2
    16
CODEPAGE   NAME=eedata     START=0xF00000       END=0xF000FF       PROTECTED
slime@2
    17
slime@2
    18
ACCESSBANK NAME=accessram  START=0x0            END=0x5F
slime@2
    19
DATABANK   NAME=gpr0       START=0x60           END=0xFF
slime@2
    20
DATABANK   NAME=gpr1       START=0x100          END=0x1FF
slime@2
    21
DATABANK   NAME=gpr2       START=0x200          END=0x2FF
slime@2
    22
DATABANK   NAME=gpr3       START=0x300          END=0x3F3
slime@2
    23
DATABANK   NAME=dbgspr     START=0x3F4          END=0x3FF          PROTECTED
slime@2
    24
DATABANK   NAME=usb4       START=0x400          END=0x4FF          PROTECTED
slime@2
    25
DATABANK   NAME=usb5       START=0x500          END=0x5FF          PROTECTED
slime@2
    26
DATABANK   NAME=usb6       START=0x600          END=0x6FF          PROTECTED
slime@2
    27
DATABANK   NAME=usb7       START=0x700          END=0x7FF          PROTECTED
slime@2
    28
ACCESSBANK NAME=accesssfr  START=0xF60          END=0xFFF          PROTECTED
slime@2
    29
slime@2
    30
SECTION    NAME=CONFIG     ROM=config
slime@2
    31
slime@2
    32
STACK SIZE=0x100 RAM=gpr2