rm18f4450 - HID Bootload.lkr
上传用户:sss2005
上传日期:2022-08-05
资源大小:532k
文件大小:2k
源码类别:
USB编程
开发平台:
C++ Builder
- // File: rm18f4450 - HID Bootload.lkr
- // Use this linker for the USB application that will be self programmed by the HID bootloader.
- // The HID bootloader project itself uses the BootModified.18f4450.lkr file instead.
- // THIS LINKER SCRIPT HAS BEEN MODIFIED... This version is intended to be used
- // with the "PROGRAMMABLE_WITH_USB_HID_BOOTLOADER" bootloader. The HID
- // bootloader occupies memory ranges 0x000-0xFFF. In order for the code generated
- // by this project to work with the bootloader, the linker must not put any code
- // in the 0x00-0xFFF address range.
- // This linker script was originated from the 18f4450.lkr file provided by
- // the MCC18 distribution.
- LIBPATH .
- FILES c018i.o
- FILES clib.lib
- FILES p18f4450.lib
- CODEPAGE NAME=bootloader START=0x0 END=0xFFF PROTECTED
- CODEPAGE NAME=vectors START=0x1000 END=0x1029 PROTECTED
- CODEPAGE NAME=page START=0x102A END=0x3FFF
- CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED
- CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED
- CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED
- ACCESSBANK NAME=accessram START=0x0 END=0x5F
- DATABANK NAME=gpr0 START=0x60 END=0xFF
- DATABANK NAME=gpr1 START=0x100 END=0x1FF
- DATABANK NAME=usb4 START=0x400 END=0x4FF PROTECTED
- ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED
- SECTION NAME=CONFIG ROM=config
- STACK SIZE=0x100 RAM=gpr1
- SECTION NAME=USB_VARS RAM=usb4