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.

CCS/TMS320F280049C: CLA CRC computation issue in TMS320F280049 Controller

Part Number: TMS320F280049C

Tool/software: Code Composer Studio

Hi,

I have been using CLA feature. I need to check the integrity of CLA program memory by using the CLAPROMCRC module. I am unable to get the CRC for below configuration. Plz help on this.

CLA Program start Location - 0x8C000

The above program is copied to a RAM Location at power on starting - 0x8000 (RAMLS0, 1, 2, 3 and 4)

Block size - 10KB

CRC start address - 0x8000

CRCDONE bit is being polled instead of an interrupt. When I try to run through debug, I am getting CRC result as ZERO only. Please suggest on this issue as early as possible.

  • Hi,

    CLAPROMCRC module can compute the CRC only on the CLA PROM, as listed in the section 5.1 listed in the TRM document.

    Can you please let us know your intent here? Are you trying to compute CRC on the LS memories when it is allocated as CLA Program memory?

    Regards,
    Praveen

  • Hi,

    Yes, I have been been trying to compute the CRC for CLA program residing in the RAM.

    From TRM, what I have understood is CLAPROMCRC is for CLA program irrespective of

    whether it is either in ROM or RAM. Awaiting your reply. Thank you.

    Regards,

    Murthy.

  • Murthy,

    Can you please point out the section where the TRM mentions that CLAPROMCRC can compute CRC on RAM as well. As I had mentioned before, Chapter 5 in the TRM mentions that CLAPROMCRC can compute CRC only on CLA Program ROM(& not on RAM).

    Nevertheless, if your requirement is to calculate CRC on LSRAM, it has to be through SW. But make sure MemCfgRegs.LSxCLAPGM[CLAPGM_LSx] is set to 0 when computing CRC through SW, since data accesses are blocked when a LS memory is allocated as CLA Program memory.

    Please let us know of any questions

    Regards,
    Praveen