Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Ads

Discussion Groups

Discussion Groups | TMS320C28x | How to Calculate checksum for Flash using my C code ?

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

How to Calculate checksum for Flash using my C code ? - sanj...@gmail.com - Mar 17 18:16:42 2008



Hi ALL,
We are involved in building a product, where in we are using TMS320F2812. And an application of
the product requires calculating a check sum of program memory of the DSP Processor
(TMS320F2812) after every certain period of time. Here we are using DSP281x_Headers_nonBIOS. 

In Code Composer Studio version 3.1 we have a provision to calculate a check sum for on-chip
flash. But we need to implement an algorithm to calculate a check sum within our software
itself such that it can continuously calculate a check sum of program memory within specified
period of time, to check the hardware and software integrity. We want information regarding an
algorithm used in Code Composer Studio version 3.1 so that we can implement the same algorithm
in our software.

Thanks & Regards, 

Sanjaykumar T.
Software Engineer 

Aspire Communications Pvt Ltd.,
#64, C-1, Kasaba Hobli,
Hootagalli industrial Area,
Mysore-570 018.
Phone    : +91-821-2404900 / 4902
Fax        : +91-821-4287774
Web       : www.aspirecommunication.com 

------------------------------------

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution
for Commercial & Consumer End Equipment: www.ti.com/dm6467

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: How to Calculate checksum for Flash using my C code ? - Beat Arnet - Mar 19 6:49:48 2008

Sanjay,
I would recommend a 32 bit CRC.
Take a look at the "CRC.pdf" file that is distributed as part of 
C2oooProg (http://www.codeskin.com/c2oooProg.html).

Cheers,
Beat
s...@gmail.com wrote:
>
> Hi ALL,
> We are involved in building a product, where in we are using 
> TMS320F2812. And an application of the product requires calculating a 
> check sum of program memory of the DSP Processor (TMS320F2812) after 
> every certain period of time. Here we are using DSP281x_Headers_nonBIOS.
>
> In Code Composer Studio version 3.1 we have a provision to calculate a 
> check sum for on-chip flash. But we need to implement an algorithm to 
> calculate a check sum within our software itself such that it can 
> continuously calculate a check sum of program memory within specified 
> period of time, to check the hardware and software integrity. We want 
> information regarding an algorithm used in Code Composer Studio 
> version 3.1 so that we can implement the same algorithm in our software.
> Thanks & Regards,
>
> Sanjaykumar T.
> Software Engineer
>
> Aspire Communications Pvt Ltd.,
> #64, C-1, Kasaba Hobli,
> Hootagalli industrial Area,
> Mysore-570 018.
> Phone : +91-821-2404900 / 4902
> Fax : +91-821-4287774
> Web : www.aspirecommunication.com
>
>  


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )