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.

CLA1 program runing

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

For program of TMS320F28377S, I copy two libs into project:  clbootROM_CLADataROMSymbols_fpu32.lib and cla1_math_library_datarom_fpu32.lib. In project properties menu,  I specify rts2800_fpu32.lib as runtime support library. When I use "XDS100 V2.0" emulator debug program to TMS320F28377S and click Resume, all is ok, even if putout the emulator. But after repower, program of CLA1 is not OK.  Before configure CLA register I use memcpy()  to copy CLA program from FLASH to RAMLS3/RAMLS4/RAMLS5 and specify these three RAM blocks to be used for CLA program in CPU program. Why the program of CLA1 can not run stand alone from debuger?

Sysclk is 120Mhz, and the CCS compiler version is 6.4.2. The full part number is TMX320F28377SPTPT YFB-51C3JEW G4.

  • For standalone mode of operation,
    1. copy Cla1Prog from FLASH to RAM
    2. copy .const_cla from FLASH to RAM
    3. configure CLA registers (MVECT, MIER, etc)
    4. configure RAMLSx ownership (MemCfg Registers)
    5. If your device has tables in ROM lookup section 4.4 of the CLAMath v4.02.00.00 Users' Guide on how to use them

    Also, the examples in the CLA math library v4.02.00.00 (acos i think) has a FLASH build configuration which uses datarom tables that you can use as a template.