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 support@ccsinfo.com

3.3Volt system, code protection, and BootLoader
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
theteaman



Joined: 04 Aug 2006
Posts: 98

View user's profile Send private message

PostPosted: Wed Jan 31, 2007 6:12 am     Reply with quote

davekelly wrote:
I made a simple encrypted bootloader a few years ago, by XORing every byte read with a constant.

The downloader XOR's with the same value before sending.

Simple, and can be cracked if someone wants to analyze it, but the technique can be expanded to improve the security should it be demanded.

Hi Dave

The problem is that I havent written a bootloader of my own, I am relying on finding a bootloader already written, that has encryption in it. I found one by 'diolan' but that seems to require a USB connection and also there is little documentation. :(
davekelly



Joined: 04 Oct 2006
Posts: 53
Location: Berkshire, England

View user's profile Send private message

PostPosted: Wed Jan 31, 2007 7:01 am     Reply with quote

theteaman wrote:


The problem is that I havent written a bootloader of my own, I am relying on finding a bootloader already written, that has encryption in it. I found one by 'diolan' but that seems to require a USB connection and also there is little documentation. :(


I just modfied the Microchip one (AN851), to process each byte as it was read from the serial port.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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