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.

CCS3.3 On-Chip Flash programmer's checksum function

Hi,

Our customer is using CCS3.3 with F2810.

As you know, there is a function for caluculating checksums in "On-Chip Flash programmer".

Our customer is thinking to use 3rd party programmer for their device.

3rd party programmer requests to submit the checksum value to client.

Which checksum value is used in generally IC programmer, Flash value? or Flash+OTP value?

And then, is this checksum value for binary data? or hex data?  Customer thinks to submit COFF file

to 3rd party programmer. In this case, Checksum value of On-Chip Flash programmer is no problem?

Please let me know.

Best regards,

Michi

  • Michi Yamamoto said:

    Which checksum value is used in generally IC programmer, Flash value? or Flash+OTP value?

    The checksum calculation in our flash programmer is done on both Flash and OTP, and is in hex format. Hope this helps the customer determine if they can use our checksum value with their 3rd party programmer.

  • Hi, AartiG-san,

    THank you for your reply.

    You said checksum caluculation of Flash programmer includes OTP area. Does it mean 0x3D7800-0x3D7C00 area?

    I don't know how to use OTP memory. If F2810 progaram once, OTP also program, doesn't it? And if same device is needed to

    reprogram, how does OTP behave?

    Best regards,

    Michi

     

     

  • Yes the checksum calculation includes any code in the OTP area.

    Michi Yamamoto said:

    If F2810 progaram once, OTP also program, doesn't it? And if same device is needed to reprogram, how does OTP behave?

    OTP memory can only be programmed once and cannot be erased after that. But this area will only be programmed by the flash programmer if you tell it to do so by allocating some code to that memory address (in the linker command file). The default linker command files provided in the TI example projects do not program anything to OTP memory. If you want to program something to OTP memory, you would need to allocate that code section to that memory area in the linker command file. Flash memory on the other hand can be erased and reprogrammed each time by the flash programmer.