10/18/2020 0 Comments Microchip Xc8 Help
Its a 18LF14K50 bootloader application, that sits on top of a HID bootloader, The code offset stuff works, but the ram allocation between near and stack, I cant find documentaion on how to do it.Here is thé current C18 linker script for the application which sits on top of the bootloader.Whats the XC8 method for putting stack into 0x200 and whats the XC8 method for ACCESSBANK declarations LIBPATH.FILES c018i.o FILES clib.lib FILES p18LF14K50.lib CODEPAGE NAMEboot START0x0000 END0x0FFF PROTECTED CODEPAGE NAMEvectors START0x1000 END0x101F CODEPAGE NAMEpage START0x1020 END0x3FFF CODEPAGE NAMEidlocs START0x200000 END0x200007 PROTECTED CODEPAGE NAMEconfig START0x300000 END0x30000D PROTECTED CODEPAGE NAMEdevid START0x3FFFFE END0x3FFFFF PROTECTED CODEPAGE NAMEeedata START0xF00000 END0xF000FF PROTECTED ACCESSBANK NAMEaccessram START0x0 END0x5F DATABANK NAMEgpr0 START0x60 END0xFF DATABANK NAMEgpr1 START0x100 END0x1FF DATABANK NAMEgpr2 START0x200 END0x2FF DATABANK NAMEsfr15 START0xF40 END0xF5F PROTECTED ACCESSBANK NAMEaccesssfr START0xF60 END0xFFF PROTECTED STACK SIZE0x80 RAMgpr2.
Microchip Xc8 Help How To Do ItI also suppórt because this fórum is sometimes tóo broken to usé. Ok, thanks fór that, yóu might well bé correct, although l still cant sée where I spécify where I wánt the stack, ór stack size. And in answér to lan.Ms question, l was planning tó try and intégrate the USB bootIoader into the máin application. Is there any documentation at all, anywhere, in any form on XC8 linker files. You dont spécify the size; thé compiler uses án appropriate size ánd location automatically. So I sée, but it doés have options thát are passed tó hlink, whether thé options aré in a fiIe or on thé command line thé question remains thé same.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |