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.

F28335 checksum by FLASH utility is not matching..

Hi all,

Checksum calculated by the FLASH programmer utility is different from the checksum calculated using the below code.

FLASH programmer utility : FlashAPIInterface28335V2_10.out

Sum = 0x0;

Uint16 *StartSegmentPointer = (Uint16 *)0x300000;             

Uint16 *EndSegmentPointer   = (Uint16 *)0x340000;

while(StartSegmentPointer < EndSegmentPointer)
{
    Sum += *StartSegmentPointer;
    StartSegmentPointer++;
 }

Please help me out on why the checksums are not matching?

Thank you,

Jaiganesh

  • Jaiganesh Jayaraman76473 said:

    Hi all,

    Checksum calculated by the FLASH programmer utility is different from the checksum calculated using the below code.

    FLASH programmer utility : FlashAPIInterface28335V2_10.out

    Sum = 0x0;

    Uint16 *StartSegmentPointer = (Uint16 *)0x300000;             

    Uint16 *EndSegmentPointer   = (Uint16 *)0x340000;

    while(StartSegmentPointer < EndSegmentPointer)
    {
        Sum += *StartSegmentPointer;
        StartSegmentPointer++;
     }

    Please help me out on why the checksums are not matching?

    Thank you,

    Jaiganesh

    Hello,

    I'm not sure which flash programmer you are using.  There was a bug in CCS 3.3 and 4.1 - please see if this corresponds to your situation:

    http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/p/93868/326803.aspx

    Regards

    Lori

     

     

  • Hi Lori,

    Thank you for the reply. We are using CCS 3.3 only which is causing this problem I suppose. Is there any patch for CCS V3.3 Flash programmer for F28335 or do we need to go for CCS V4.2 only.

  • Jaiganesh Jayaraman76473 said:

    Hi Lori,

    Thank you for the reply. We are using CCS 3.3 only which is causing this problem I suppose. Is there any patch for CCS V3.3 Flash programmer for F28335 or do we need to go for CCS V4.2 only.

    Unfortunately there is not a patch for this issue on CCS 3.3.  It doesn't affect the flashing of the code, only the display of the checksum.

    Regards

    Lori