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.

ramfuncs section in a CRC section

Other Parts Discussed in Thread: TMS320F28335, CONTROLSUITE

Hello,

What is the syntax to include a ramfuncs section in a CRC section while retaininig its characteristics (RUN = RAM...)?

My environment:

TMS320F28335,

Code Composer Studio: v5

Compiler: TI v6.1.10

Regards

Guilhem

  • Hi,

    There are examples of this in VCU DSP library in controlSUITE (C:\ti\controlSUITE\libs\dsp\VCU\v2_10_00_00\cmd). You might want to take a look at the linker command files for the CRC examples. For example,

    /* Test specific sections */
       UNION (TEST_INPUT_CRC) : RUN = RAMLS3, RUN_START(_testInputRunStart), PAGE = 1{
          testInput     :{} LOAD = RAMLS3,
                            LOAD_START(_testInputLoadStart),
                            LOAD_SIZE(_testInputLoadSize),
                            PAGE = 1,
                            crc_table(_linkerCrcTable, algorithm = CRC16_802_15_4)
             }crc_table(_linkerCrcTable, algorithm = CRC16_ALT)
    

  • I see that you mentioned the 28335. It does not have a VCU, but the VCU library does have C code to calculate the CRC. You can refer to the examples to see how to access the linker generated CRCs as well as how to use the C code.