Code Composer Studio: CCS_v7
Compiler : C2000 compiler Version: TI v16.9.4.LTS
Hi Everyone,
I create a new ccs project which will load to flash memory and execute from ram memory. The project contains timer based led blink application. I had read SPRAAU8A to understand how to copy compiler sections from flash to ram memory. I reorganized the project according to SPRAAU8A. The project loads application to flash and runs from ram. When i review the disassembled code by disassembly tool, everything runs from ram except code_copy function. So everything looks normal. But It behaves weird when i change code or add new code blocks. It seems, CCS doesn't compile new changes.
Example C code and disassembly code show below;
first image shows normal behaviour. Second image shows anormal behaviour after swaping line 82 and 86.
Normal behaviour;
Anormal behaviour;
I couldn't find the way how to compile changes properly. There are some mismatches between text editor, disassembly and debugger....
Additional info:
DSP28xxx_SectionCopy_nonBIOS.asm
If I link compiler sections to flash memory as common usage and I don't copy sections to ram. Changes are compiling properly. There must be wrong usage in my application while copying compiler sections from flash to ram memory. But I couldn't figure it out.
Any help would be appreciated.
Thanks in advance.

