rm18f4550 - MCHPUSB Bootload.lkr 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. LIBPATH .
  8. FILES c018i.o
  9. FILES clib.lib
  10. FILES p18f4550.lib
  11. CODEPAGE NAME=boot START=0x0 END=0x7FF PROTECTED
  12. CODEPAGE NAME=vectors START=0x800 END=0x0x829 PROTECTED
  13. CODEPAGE NAME=page START=0x82A END=0x7FFF
  14. CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED
  15. CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED
  16. CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED
  17. CODEPAGE NAME=eedata START=0xF00000 END=0xF000FF PROTECTED
  18. ACCESSBANK NAME=accessram START=0x0 END=0x5F
  19. DATABANK NAME=gpr0 START=0x60 END=0xFF
  20. DATABANK NAME=gpr1 START=0x100 END=0x1FF
  21. DATABANK NAME=gpr2 START=0x200 END=0x2FF
  22. DATABANK NAME=gpr3 START=0x300 END=0x3FF
  23. DATABANK NAME=usb4 START=0x400 END=0x4FF PROTECTED
  24. DATABANK NAME=usb5 START=0x500 END=0x5FF PROTECTED
  25. DATABANK NAME=usb6 START=0x600 END=0x6FF PROTECTED
  26. DATABANK NAME=usb7 START=0x700 END=0x7FF PROTECTED
  27. ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED
  28. SECTION NAME=CONFIG ROM=config
  29. STACK SIZE=0x100 RAM=gpr3
  30. SECTION NAME=USB_VARS RAM=usb4