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.

F28069M CLA Linker (CMD) Request with Motorware ROM's functions

Other Parts Discussed in Thread: MOTORWARE, CONTROLSUITE

Hi all,

I'm Atakan who is developing a 3~phase AC induction motor control firmware through F28069M. I would like to use Motorware's ROM functions on F28069M CPU as well as DMC (Digital Motor Control Software). As I learnt, there is no CLA support for motorware functions. But I can run PI, PID, Low Pass filter module by using CLA and I can make my code faster, also I would like to reserve off-load for intercommunication procedure on C28 core. Overall, I try to use both CLA and Motorware's ROM functions on my firmware.

After this short brief, i am looking for a CMD file for F28069M CLA FLASH to add my project. I hope, you could help me by hearth.

  • you can't move many of the motorware functions to CLA.  too much of the code relies on CTRL_ or functions that get called from ROM at a specific rate.  If you add supplementary functions you could add to CLA RAM per controlSUITE examples.

     

  • Hi Chris Clearman.

    First of all, thank you for your interest to reply me soon.

    Well, you did understand me wrong. I dont want to use Motorware functions on CLA. I will again use Motorware functions from ROM though you know, for the F28069M MCU, there are some changes on the memory map such as IQTABLES, length of RAML8 and etc. I'm looking for a newly CMD file that comprises  newly memory map changes for F28069M with whole CLA specifications. I try to compose a new CMD but it seems, it takes my huge time and I couldnt be sure, it would work properly. In that time I will have found newly CMD file from TI side, I will be typing the appropriate CMD file for F28069M and, I am gonna share it with you

  • all necessary CMD files are already included in MotorWare and are linked in each project for the example device (69M/F, 27F, or new 54M/F)

    ex @

    C:\ti\motorware\motorware_1_01_00_12\sw\ide\ccs\cmd\f2806x

     

  • Well, dear Chris,

    Your folder location is not my answer. I have already used that and changed its insde. If you look at it carefully, you can see the detail that is written for F28069 v135 Release Date: Sep 8, 2012.

    For my wish to be able to get in use on my project that is like

    FLASH (boot from flash) + CLA (ram allocation, cpu to cla, cla to cpu allocation) + InstaSPIN MOTION ROM section (begining address of built-functions

    I try to re-organize below CMD linker file for my project. You can also help me while you check it out and give me some advice about my ongoing cmd linker. (I added it here)

    Thanks in advance Chris

    0777.F28069M_CLA_INSTA_SPIN_FOC_MOTION_link.rar

  • Zextro,

    Are you asking for CLA hooks in the CMD file, like cputocla message ram area, clatocpu message ram area, scratchpad definition, etc?

    If so, you are correct that we don’t have that included in the CMD files in MotorWare.  I'm adding this to our bug list to get fixed...I'll see if we can get one created and posted here sooner.

     

  • Hi Chris,

    Sorry for delay. Yes, I'm looking for CMD file that include

    • clatocpu message ram area
    • cputocla message ram area
    • dataram0
    • dataram1
    • dataram2
    • CLAmathTables
    • CLA1mathTables
    • FPUmathTables
    • cla1prog (run, load, size)
    • scratchpad
    • heap
    • stack (0x3b0, i guess that is max for Ram M1)
    • Iqmath (newly changed address for F28069M)
    • --diag_suppress=16002,  /* To suppress the warning you can use the linker option --diag_suppress=16002 which  can be placed in the linker command file */
    • _Cla1Prog_Start = _Cla1funcsRunStart;
    • --undef_sym=__cla_scratchpad_end
    • --undef_sym=__cla_scratchpad_start

    and so on.

  • ok, I've added this to the "to do list".  if we get it done sooner I've asked that it be posted here, else it should be in MW _14 official release (probably Sept or Oct)