Proton BASIC Compiler - How To... Warning! Code will overwrite bootloader routine

  • PicŪ Basic

  • How To... Warning! Code will overwrite bootloader routine

    When compiling with a device which can use the bootloader function (16F876,...) you get :

    Warning! Code will overwrite bootloader routine at top of program area.

    This is due to the fact that the compiler defaults to a bootloader required. It assumes that the bootloader uses the upper 256 words of the FLASH code space.

    At compile time, your code reached the limit of the PICŪ less the 256 words. The compiler issues a WARNING.

    If you're not using a bootloader, issue the statement: -


    and the compiler will not produce the warning and will free up a couple of bytes. See the DECLARES section in the help file.

    Thanks to Olivier for contributing this article.
  • Recent Activity


    Valid time in NMEA sentance

    Thread Starter: SimonJA

    Is there any way to know that a GPS nmea sentence has the correct time? I use a module to keep a pic rtc accurate but have noticed that when...

    david Today, 20:40 Go to last post

    I'm over the moon with joy. :-)

    Thread Starter: Les

    I just had to show you this, because I am over the moon with it. LOL I've just about finished procedures on the Proton 8-bit compiler so I am busy...

    towlerg Today, 16:13 Go to last post

    GPS speed logger for RC planes.

    Thread Starter: david

    Hi All, This is a simple project to allow the logging of RC plane speeds to help determine battery, motor and prop variables. The code is crude and...

    david Today, 21:01 Go to last post