Is there a way to expand the base bootloader program? I would like to be able to have a portion of my code be resident in the bootloader portion of the code so that it will still work when programming the rest of the pic.

A simple example would be a program that flashes an LED and performs other functions.

In this example I would like the LED to flash all the time, even if I am programing using the bootloader. So if I can add a section of code to the bootloader to flash an led while the bootloader is programing I think it would work.

Let me know if need to better explain myself, I realize I may not be being that clear.

Thanks for any input