Tool/software:
Hi expert,
My customer need to use uniflash checksum to verify the program, can you share the checksum command? In the guidebook there is no checksum command in UniFlash Quick Start Guide
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 expert,
My customer need to use uniflash checksum to verify the program, can you share the checksum command? In the guidebook there is no checksum command in UniFlash Quick Start Guide
Hi Ricky,
They are use 2800157, and the operating system is Windows.
Best Regards
Anka Zhang
Anka,
Is the customer looking for a command line solution only?
In the UniFlash GUI, we support various checksums (CRC32, MD5, 16-bit Checksum) when a program file is selected. These options are not currently available with the UniFlash command line, but I can provide the associated command it calls in the backend that customers can execute as well.
On the target side, we support checksum calculation on the flash memory on both the GUI and the command line. This value should make the "16-bit Checksum" value in the first step. I can provide more info if needed.
Thanks,
Ricky
Hi Ricky,
The customer has been using the command line of Uniflash to start the programming tool of the production line. Now they want to add checksum, so they want to use command line to calculate checksum. Can you provide a command line? The "verify feature" doesn't work and I'm trying to fix it in another post.
Best Regards
Anka Zhang
Anka,
In the UniFlash install folder, you can try running the following command:
> deskdb\content\TICloudAgent\win\ccs_base\scripting\bin\dss_dsv.bat ..\..\c2000\scripts\dsv_c2000_checksum.js <imagePath> <flashStartAddr> <flashEndAddr>
For F2800157, the flashStartAddr and flashEndAddr should be 0x80000 and 0x9FFFF.
This should print out the calculated checksum to console.
Example output: 0x5755
Please let me know if this works for you.
Thanks,
Ricky