I am using a bootloader for the 18F4420 and am using the CCS C Compiler. What instruction do I place in code that will place my starting location of the Main Progran at 0200h in program memory? Is it the #org start,end ?? Is there a instruction where I just give it a starting location only? Purpose is because the bootloader occupies up to 01FFh.
thanks...garry.
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
Posted: Fri Aug 04, 2006 1:43 am
check out the #build directive.
FYI I don't like low memory bootloaders. It forces you to have code that is bootloader aware and it costs additional cycles to process interrupts. _________________ Regards, Andrew
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum