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

HEX Checksum Generator for PIC18

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



Joined: 03 Oct 2005
Posts: 88
Location: Ploiesti, Romania

View user's profile Send private message

HEX Checksum Generator for PIC18
PostPosted: Mon Oct 03, 2005 2:05 pm     Reply with quote

I've just created a program for generating checksums of HEX files. It should be useful if you want to verify the program memory when the code protection is on. The generated checksum is not a CRC, it's only an additive one. The resulting 16 bits are stored in the ID section of the PIC. You can find more details by executing the program in command line (it's windowless). Please report any bugs you find, I haven't had enough time for serious testing. It looks like it works ok on PIC18452, i've tested it in a hurry. For the moment, the program works only with PIC18Fxxxx.

Last edited by VanHauser on Tue Mar 20, 2007 5:35 am; edited 1 time in total
Guest








PostPosted: Tue Oct 04, 2005 1:56 pm     Reply with quote

That download page I mentioned needs registration, sorry I forgot. You can find my program here:

http://aii1915.zoom.ro/download/direct/hcg18.zip
VanHauser



Joined: 03 Oct 2005
Posts: 88
Location: Ploiesti, Romania

View user's profile Send private message

PostPosted: Tue Mar 20, 2007 5:34 am     Reply with quote

I have updated this program a while ago. It can now create a CCS verification routine automatically for direct use in your programs.

It is now production tested on 18F452.

Help is available when you run it in command line with no parameters.

Download from here.
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