From what I gather, #defining LOADER_USED will cause PBP to offset where it starts putting code by 4 words. I can't really verify that because I'm not sure where it's defined for the 16f series of MCUs (pbppic16.lib doesn't exist). So, empirically that seems to be the case anyway.
If the point of LOADER_USED is to leave the first four words available for the bootloader, why then does it insert a "GOTO 0x04" at location 0x0000? Am I misunderstanding something? That seems like it would clobber whatever GOTO the bootloader will have put into 0x0000.
Thanks,
Kevin
Bookmarks