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.

TMS320F28377S: Uni-Flash Tool Check Checksum

Expert 1190 points
Part Number: TMS320F28377S
Other Parts Discussed in Thread: UNIFLASH

Hello, After programming the device checksum is available from the uni-flash tool. Can I expect the same checksum if  a third party  eprom programmer is used.

Is it possible for a third party programmer to program a device using  the device  bootloader rather than a JTAG port, assume no prior programming and the device is  new

thanks

  • jw,

    If you loaded a program in UniFlash and calculated the checksum, and loaded the same program using a third party programmer, it is expected that the checksum value you get in UniFlash will be the same afterwards, as the checksum is calculated based on the data on the flash memory on the target.

    If a third party programmer also has a checksum calculation feature, it is not guarantee to match the value from UniFlash, as the checksum formula might not match.

    I don't have any experience with using third party programmers, so I'll let someone else answer your bootloader question.

    Thanks,

    Ricky

  • Hello, how is the checksum calculated and does. Does the  uniflash  read the device flash content and derive the checksum.

    thanks

  • jw,

    UniFlash does not read the flash content directly when calculating the checksum, but instead runs an algorithm on the target side to read flash memory and calculate the checksum.

    The target side code for calculating the checksum looks something like this:

    for(i = 0; i < size; i++)

    {

    checksum += (Uint16)(*StartAddr++);

    checksum = checksum&0xFFFF;

    }

    Thanks,

    Ricky

  • hello Ricky, why is the checksum "And" with 0xFFFF;

    thanks