Hi,

I'm experimenting with the Tiny Bootloader (http://www.etc.ugal.ro/cchiculita/so...bootloader.htm). I've configured the loader for the PIC I'm using (18F4580) and after I've squirted the loader hex code to the PIC and the tiny boot loader PC application sees and identifies the chip. I can then load my HEX code via the Tinyloader PC app, which then runs fine on the PIC, but after doing so the tinyloader application can no longer find the PIC.

The website mentions
In order for the bootloader to be launched after each reset, a "goto bootloader" instruction must exist somewhere in the first 4 instructions
I'm gathering that the process of uploading my code over writes the flash memory containing the bootloader, or the "goto" part.

can anyone comment or offer advice on what I need to do to my code in order to maintain the functionality of the bootloader.