Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Tool/software:
Hello,
I want to use the CLA in the FLASH configuration
I expected to copy the CLA code from FLASH to RAM.
I saw that this copy request is asked by the Init function generated by SysConfig:
So, I asked to SysConfig to generate the needed Symbols into the Command Linker File, that I use for my project:
As you can see, the CMD file generates loadStart_cla1Prog, but the CLA_init() function needs Cla1funcsRunStart, and so on ...
What surprised me is that my example seems to work anyway:
- cla_led_control is a variable declared in cla1ToCpuMsgRAM
- in the task 1 of CLA I toggle the boolean value of this variable
- in the CLA_Task1 ISR of the CPU I set an output of the microcontroller at this variable
- Periodically in the main loop of the CPU I force a call to CLA thanks to CLA_forceTasks()
The output is toggling, even if I disconnect the LAUNCHPAD and the JTAG with the DipSwitch 3 on the board.
Can anyone tell me
why my example seems to work ?
what is the right way to do ?
In advance, thank you.
Vincent