This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
We're using MSP430series.
Is there a way to output checksums in CCS?or any suggested external tool to generate checksum?
Is that like outputting a hex file and calculating the checksum in another app?
Hi Kamiya,
The UniFlash tool has the ability to show the checksum for the memory contents. Please give that a try and see if that works for your!
There is also the CCS On-chip flash tool that you can explore that has ability to calculate a checksum. https://software-dl.ti.com/C2000/docs/software_guide/c2000ware/flash.html.
You can generate a checksum on a hex file using any 3rd party tool available on the web (e.g. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil).
The other would be to read the flash contents and generate a TI derived checksum using the above mentioned TI tools.
Regards,
Ozino
Here's a post that talks about the command line technique to calculate the checksum.
Here's how the checksum is calculated using UniFlash: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/885566/tms320f28377s-uni-flash-tool-check-checksum
Once device is connected, click on the Memory Section and scroll down until you see the Checksum section and select calculate checksum.
I clicked on the memory section and scrolled down, but the checksum section, does not appear.
Am I doing something wrong?
Actually the option is in the Setting & Utilities tab. Below is a screenshot of where the feature is located.
Thanks for the reply.
I have checked,There are only four items.
Download,Erase,Security,Device info
I see. It looks like the checksum is unique to C2000 devices. Let me forward your post to the UniFlash and CCS team for more details.
Ozino is correct in much of the built in checksum calculation in CCS and UniFlash is specific to C2000. I don't think there is any for MSP430 that I am aware of. I will bring this thread to the attention of the MSP team for further suggestions.
Hi,
For the MSP430, the MSP-GANG programmer has calculating checksum function. However, the Unilfash does not have this function.
Best regards,
Cash Hao