CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC Bootloader and encryption possible?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
valemike
Guest







PIC Bootloader and encryption possible?
PostPosted: Thu Jun 10, 2004 9:37 am     Reply with quote

Hi,

The convenience of a bootloader is good in that you don't have to make an onsite service call just to patch or upgrade the PIC firmware. Just send the .hex file to them via email and let them upgrade themselves.

However, what if I don't want the customer to have a freely readable .hex file? Is it feasible and/or possible to encrypt the .hex file, let the bootloader app decrypt it. Perhaps i can even use the serial number of the particular unit (saved in EEPROM) as one of the decryption keys.

Or is such a concept too much for a PIC to handle?
Looks like this requires me to learn MS Windows programming, and leave the encryption/decryption up to the windows app.
Ttelmah
Guest







Re: PIC Bootloader and encryption possible?
PostPosted: Thu Jun 10, 2004 10:15 am     Reply with quote

valemike wrote:
Hi,

The convenience of a bootloader is good in that you don't have to make an onsite service call just to patch or upgrade the PIC firmware. Just send the .hex file to them via email and let them upgrade themselves.

However, what if I don't want the customer to have a freely readable .hex file? Is it feasible and/or possible to encrypt the .hex file, let the bootloader app decrypt it. Perhaps i can even use the serial number of the particular unit (saved in EEPROM) as one of the decryption keys.

Or is such a concept too much for a PIC to handle?
Looks like this requires me to learn MS Windows programming, and leave the encryption/decryption up to the windows app.

Do a search on the forum. There was a thread about this only a few weeks ago. Simple encryption is emminently achievable, but truly hard to crack encryption, is likely to use a lot of real estate on the chip.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group