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.

CLA not performing tasks as expected in F28075

Hi Guys,

CCS v 6.2(compiler version = TI v15.12.3.LTS)

TMX320F28075 Control Card

control Suite v 3.4.1

My program : Cla Task 1 is triggered by Timer 0 every one second and inside cla task 1 a variable is incremented.

First I modified the example program sdfm_filter_sync_cla_cpu01 and it worked perfectly.

loopCounter1 is the variable incremented inside CLATASK 1

CLA1ISR is the variable incremented in the CLA 1 ISR function

timerZero is the variable incremented inside the TIMER0 ISR function

Then I created a new project and I copied all source and header files from the modified sdfm_filter_sync_cla_cpu01. Now I get this warning:

warning #10247-D: creating output section ".bss_cla" without a SECTIONS specification

I found out that it is because I have added the F2807x_Headers_nonBIOS.cmd file to my new project. In the example sdfm_filter_sync_cla_cpu01 program this cmd file is not included. Anyway when I ran it , it doesn't work as I expected.

Somehow the  Cla Task 1 is executed just once because the loopCounter1 is incremented one time here and I have initialized it with zero.

I am attaching both the projects. Please help me resolve this issue.

clatry1.zip

sdfm_filter_sync_cla_cpu01_Modified.zip

  • Hi Prakash

    Prakash Kumar Thulasi Kumar said:
    warning #10247-D: creating output section ".bss_cla" without a SECTIONS specification

    This is the reason the code doesnt work. The .bss_cla section is not assigned in the linker command file so the linker will place it in the first available memory e.g. RAMM0, and this memory is usually not accessible (or not configured to be accessible) to the CLA. The .bss_cla section is where all your globabl unitialized variables get stored. 

    If you are using the default linker command file you will notice the cla compiler sections (including .bss_cla) are placed in a #if #endif block with the condition being CLA_C=1. You need to define this in the project properties under

    c2000 Linker -> Advanced Options -> Command file preprocessing -> in the "--define" box add CLA_C=1 (no spaces before and after =)