BootModified.18f86j50.lkr
上传用户:sss2005
上传日期:2022-08-05
资源大小:532k
文件大小:2k
源码类别:

USB编程

开发平台:

C++ Builder

  1. // File: 18f86j50.lkr
  2. // Sample linker script for the PIC18F86J50 processor
  3. LIBPATH .
  4. FILES c018i.o
  5. FILES clib.lib
  6. FILES p18f86j50.lib
  7. //Modified linker script to be used with the USB HID Bootloader firmware.
  8. CODEPAGE   NAME=vectors    START=0x0            END=0x1F           PROTECTED
  9. CODEPAGE   NAME=BootPage   START=0x20           END=0xFFF
  10. CODEPAGE   NAME=page       START=0x1000         END=0xFFF7    PROTECTED
  11. CODEPAGE   NAME=config     START=0xFFF8         END=0xFFFD         PROTECTED
  12. CODEPAGE   NAME=devid      START=0x3FFFFE       END=0x3FFFFF       PROTECTED
  13. ACCESSBANK NAME=accessram  START=0x0            END=0x5F
  14. DATABANK   NAME=gpr0       START=0x60           END=0xFF
  15. DATABANK   NAME=gpr1       START=0x100          END=0x1FF
  16. DATABANK   NAME=gpr2       START=0x200          END=0x2FF
  17. DATABANK   NAME=gpr3       START=0x300          END=0x3FF
  18. DATABANK   NAME=gpr4       START=0x400          END=0x4FF
  19. DATABANK   NAME=gpr5       START=0x500          END=0x5FF
  20. DATABANK   NAME=gpr6       START=0x600          END=0x6FF
  21. DATABANK   NAME=gpr7       START=0x700          END=0x7FF
  22. DATABANK   NAME=gpr8       START=0x800          END=0x8FF
  23. DATABANK   NAME=gpr9       START=0x900          END=0x9FF
  24. DATABANK   NAME=gpr10      START=0xA00          END=0xAFF
  25. DATABANK   NAME=gpr11      START=0xB00          END=0xBFF
  26. DATABANK   NAME=gpr12      START=0xC00          END=0xCFF
  27. DATABANK   NAME=gpr13      START=0xD00          END=0xDFF
  28. DATABANK   NAME=gpr14      START=0xE00          END=0xEFF
  29. DATABANK   NAME=gpr15      START=0xF00          END=0xF3F
  30. DATABANK   NAME=sfr15      START=0xF40          END=0xF5F          PROTECTED
  31. ACCESSBANK NAME=accesssfr  START=0xF60          END=0xFFF          PROTECTED
  32. SECTION    NAME=CONFIG     ROM=config
  33. STACK SIZE=0x70 RAM=gpr14