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.

Running from Flash CLA code in C

Other Parts Discussed in Thread: CONTROLSUITE

Hi,

I have a CLA script written in C which I want to run from Flash on piccolo F28069. I run the F28069_example_nonBIOS_flash and it works perfectly. However, I tried writing the cla script in C (instead of assembly). I made sure to add the following lines to CLA_lnk.cmd since they were in the assembly script:

_Cla1Prog_Start = _Cla1funcsRunStart;

--undef_sym=__cla_scratchpad_end
--undef_sym=__cla_scratchpad_start

the program compiled successfully. I got only one warning saying that the compiler version was not installed. The code for the main CPU runs from flash, but the cla code doesn't run (I toggle a pin in the cla_isr and read the signal on an oscilloscope. I get no signal).

My question is: do I need to add/do something else in order for the C code to work instead of the assembly code provided in the example?

Thanks in advance!