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.

TMS320F280049: I would like to know the CRC value of TMS320F280049

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Hello Support team.

Sometime, customer wants to make a self-check program as one of system checking.

So, this program checks for corruption/broken of the system(both HW and SW).

Then one of check points is that ROM code need to be checked using CRC code.

So, self-check program has “CRC value” of ROM code as hard-wired and then self-check calculates the CRC from the ROM code and compares it with this stored CRC.

Therefore, we would like to know CRC value of the below part number.

F280049PZS

F280049PZQR

Br

KORO

  • Dear Tomotaroh Kohro,

    We do not calculate a CRC and neither do we publish it. However, you have two options on accomplishing what you would like to with regard to self checks.

    1. The simple option is that you compute a CRC yourself over the ROM range that you like and call that your own golden value. For all future checks you can re-compute the CRC and compare it against your initial golden value and use that as your pass fail criteria. This gives you some autonomy.

    2. Alternatively you can use a method that we use in our bootrom. In order to do this, you will have to do the following:
    a. Download our C2000ware software from here: www.ti.com/.../C2000WARE
    b. Install it and navigate to \libraries\boot_rom\f28004x\???\rom_sources\F28004x_ROM\bootROM\source
    For ??? choose the appropriate revision for your device
    c. Refer to the cpubrom_checksum.c file and locate the structure called: composite_checksum_t pbist_csum_rom
    - This is the golden checksum (Note: It is not a CRC, we do not compute the CRC).
    - See the linker command file located here: libraries\boot_rom\f28004x\???\rom_sources\F28004x_ROM\lnk
    BOOT_PBIST_CHECKSUM : origin = 0x3FE9D0, length = 0x000042
    - This checksum is stored here: 0x3FE9D0
    d. Now locate the function: verify_pbist_checksum_onROM(). This function computes a checksum over non-secure ROM.
    It computes the checksum on ROM, compares it against the golden and returns 0 (match/pass) and returns a non-zero value
    (does not match/fail).

    Please refer to the source for further details.

    Regards,
    Krishna