It will be... a bit complex..
First i used th microchip bootloader, it works nice and gives the Software in Visual Basic to be modified and also the ASM to be modified.
Not an easy task again.... it is always hard to understand other peoples coding, and you will have to do this twice (ASM and Software loader).
The PDF that comes with the bootloader explains as much as it can the transfer protocol.
Recommended to avoid your hex file being copied: Change the bootloader and the software.. change the C libraries included to encrypt your file. Protect the bootloader code space (only in 18F) otherwise someone could just overwrite it with original and then reading everything!!.
Its a hard but nice job to do because you can always use it for your next projects![]()
Bookmarks