Pic to Pic Firmware upgrade
Hi all,
Has anyone know if it is possible to write a program in PBP that will read firmware from a serial interface and then program another Pic with the firmware?
Ultimately I want to upgrade firmware wirelessly (RF and GPRS modem) so Pic to Pic will get me moving in the right direction.
If it looks too hard, how do people who use Pics do downloadable firmware upgrades? It might give me a starting point to think laterally for a solution.
Thanks
Rich
18-series in code protect is quite safe
Write your own loader in PBP, this link will tell you how. Encrypt the hexfile on the PC-side and let the loader read the data serially or whatever way and at the same time decrypt it and writing the code to the codespace.
This way the hexfile is safe all the way ........ and I trust Microchip's ability to keep the code inside the chip after I have set it to CP. At lest for a reasonable cost and effort :-)
http://www.picbasic.co.uk/forum/showthread.php?t=4498
Maybe it is time to start a real thread with bootloaders in this forum. That link is full with errors and is quite long.... An I2C decryption loader using an external EEprom became 8 kbytes and is working great.
And no, I will not tell you my encryption
/me
15 cent eeprom firmware update chip with encryption
My goal here is almost exactly like your all talking about. I'm thinking of having an 8 pin dip socket on my new version of an on going production board. the goal would be to send a client a 15 cent serial eeprom that has updated encrypted firmware code in it. Once power is supplied, the bootloader would decrypt the code in the serial eeprom and program itself. Without the decrypted code from ever seeing daylight and having at least 64bit encryption method It should be next to impossible from using it to make clones. Once programed a green light would come on and the client could power down and take out the ereased serial eeprom and through it away.
Any suggestions would be greatly aprpeciated. Here in this topic you guys have givin me several helpful tips, Thank you.