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.

TMS320F28374D: CLA : hanging related to code lines when having 3 tasks

Part Number: TMS320F28374D
Other Parts Discussed in Thread: C2000WARE

HI everybody , 

I m using CLA   and have 3 tasks  : everything is OK   but then I added  code  (  just few lines  ) and  CLA hangs .

I added  code in Task 3  , and have the issue . So I removed  and put extra line in Task1  and  got same crash : so it seems related to code size .

questions :

- do you have a working example  with more than 1 task   I can cross check vs mine ? 

- what can I check  to find this issue ?   

- do you have a proper  linker file  I can use to be usre issue is not there ?

bets regards

Carlo

  • Hi Carlo,

    We have few examples that has multiple CLA tasks configured.For example : cla_vminfloat example under device_support folder.

    <C2000Ware>\device_support\f2837xd\examples\cpu1\cla_vminfloat

    For debugging the CLA code, you can add __mdebugstop() to insert breakpoints on the CLA code. In debug mode the CLA execution will halt when it reaching the mdegugstop function. If debugger is not connected it acts as a NOP instruction.

    You can use the linker command files used in the CLA example available in the C2000ware. 

  • Hi Carlo,

    Can you also send us the sample project which we can run to reproduce the issue on controlCARD ?

    Regards,

    Vivek Singh

  • Hi Vivek , 

    Solved , it was my settings issue

    thks

    Carlo