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.

TMS320F28P650DH: Intel MCS-86 Object Format (--intel Option)

Part Number: TMS320F28P650DH

Tool/software:

Figure 1

Figure 2

Figure 3

Hello, expert. I want to implement remote program upgrade. I generate the format of Figure 2 and Figure 3 according to the Hex Conversion Utility and CCS requirements in Figure 1.
1. I need to understand that it is the write address 0x000E0000. May I ask if the write address is correct?
2.Among them, the verification code is 0x78. Figure 1 shows the verification sum. Even if I add up all the items in the red box, it still doesn't equal 0x78. May I ask what the specific formula for calculating this verification code is?

  • Hi Nie,

    I am looping in the flash experts to take a look at this question. I apologize for the delay.

    Best Regards,

    Delaney

  • Hi Nie,

    1. Yes this is correct. 

    2. Not sure on the formula for this verification code, but can I ask for your application do you have ALIGN(8) portions of Flash memory used?

    Thanks and regards,

    Charles

  • 1.Thank you very much for your reply, ALIGN(8) portions of Flash memory used, this is the corresponding CMD file, I put BOOT as a separate project to store FLASH BANK0, do you see it correctly?The address parameter of the FLASHAPI function for writing data only accepts integer multiples of 8. After configuring the CMD file like this, do I still need to handle the data written to the FLASH area of the chip in a special way?

    2.I have another question. I encountered an error when debugging the software

    When I added this oscilco.c file, an error occurred. But is this file an official library function?

  • Regarding this question about the checksum in the first post ...

    May I ask what the specific formula for calculating this verification code is?

    Please search the C28x assembly tools manual for the sub-chapter titled Intel MCS-86 Object Format.  Note this sentence:

    The checksum is the 2s complement (in binary form) of the preceding bytes in the record, including byte count, address, and data bytes.

    Thanks and regards,

    -George

  • Hi Nie,

    2.I have another question. I encountered an error when debugging the software

    For this question, please post another thread since this is a different topic. Please make sure to explain what example or SDK code you are using.

    Best Regards,

    Delaney