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.

UNIFLASH: Command Line Interface - Calculate Checksum

Part Number: UNIFLASH
Other Parts Discussed in Thread: TM4C1294NCPDT

For Uniflash v4.1, is there a way to calculate the checksum through the command line interface?  I see it's possible using the GUI.

Thanks!

  • What you can do is save the settings from the GUI and then pass them to the command line utility. From the GUI on the Generate Standalone Command Line Package screen there is a download link beside the Settings label. The -l command can be used to then pass this file to the command line package.

    John
  • Hi John,

    Do you have an example of this? I downloaded the settings and then load it but still not sure how to actually run the checksum calculation. I also tried the CalculateChecksum flash operation but I get an error message stating that the operation code is unsupported.

    Here's the command line that I tried to execute:

    dslite --config=C:\ti\tm4c1294ncpdt.ccxml -l=C:\ti\settings.ufsettings -b=CalculateChecksum

    And the return is:

    error: CORTEX_M4_0: Flash Programmer: Unsupported Operation Code.

    I also tried it without the -l and still get the same error. I'm not sure if it has anything to do with the config file I'm using or something else.

    Thanks!
  • Hi John,

    We figured it out. The correct command to CalculateChecksum is:

    dslite --config=C:\ti\tm4c1294ncpdt.ccxml -b CalculateChecksum

    The '=' caused the error of Unsupported Operation Code.

    Thanks!