News:

Let's find out together what makes a PIC Tick!

Main Menu

Question about bootloader?

Started by atomix, Jul 21, 2021, 09:38 AM

Previous topic - Next topic

atomix

how to assign address _compiler_main_start_

and what does the Declare BootLoader do

I need all the code to start from the specified address, and even the internal functions of the proton

trastikata

Quote from: atomix on Jul 21, 2021, 09:38 AMhow to assign address _compiler_main_start_

Declare Compiler_Start_Address = xxxx

atomix

thanks.

what to do Declare BootLoader

trastikata

Quote from: atomix on Jul 21, 2021, 07:39 PMwhat to do Declare BootLoader

From the manual.

QuoteDeclare BootLoader = On or Off, or True or False, or 1, 0
The BootLoader Declare directive enables or disables the special settings that a serial bootloader
requires at the start of code space. This directive is ignored if a PICmicro™ without bootloading
capabilities is targeted.
Disabling the bootloader will free a few bytes from the code produced. This doesn't seem a
great deal, however, these few bytes may be the difference between a working or non-working
program. The default for the compiler is BootLoader On