> I was just wondering if anyone has done anything like a bootloader > for PICs which takes Encrypted data and Decrypts it on the fly before > writing it to the PICs Program Memory ? That would be quite a useful bit of software, unfortunately code protect must be switched off for the areas you want to perform internal writes on, so even if the external source for the program was encrypted, once the PIC was flashed, the decrypted program could be read back using a normal programmer. The only way I can see to use achieve a similar goal, given that you really need a bootloader is to use an interpreted language, the PIC is programmed with the interpreter and is codeprotected, and decrypts and interprets the code on the fly as your program is executed. -- Jon Baker -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics