Hello,
I already used pragma CODE_SECTION before different C++ functions to load code from Flash and execute in RAM. It's work fine. Now, I'm trying to do the same thing but with an autogenerated C++ file. This autogenerated file don't have the pragma thus I'm trying to pass by the .cmd to indicate to the linker that this C++ file will be load from Flash and execute in RAM. This is this the .cmd:

The CpuRamProg section is for the CODE_SECTION pragma and the ModelProg section is the autogenerated C++ file.
The linker returns this error:
"../F2838x/Cmd/f2838x_flash_lnk_cpu1.cmd", line 97: error #10008-D: cannot find file "CharacterizationModel.obj"
error #10010: errors encountered during linking; "fw-Projet.out" not built.
But the .map file contains the information about ModelProg section
ModelProg
* 0 000be000 00001055 RUN ADDR = 0000d000
000be000 00000f69 CharacterizationModel.obj (.text:_step__26CharacterizationModelClassF18InputPeripheralBus15InputCommandBusP9OutputBus)
000bef69 0000004f CharacterizationModel.obj (.text:_rt_remf__FfT1)
000befb8 00000049 CharacterizationModel.obj (.text:_CharacterizationModel_ApplyCharacterization__26CharacterizationModelClassFfPCfPf)
000bf001 0000002b CharacterizationModel.obj (.text:_rt_roundf__Ff)
000bf02c 0000001f CharacterizationModel.obj (.text:_initialize__26CharacterizationModelClassFv)
000bf04b 0000000a CharacterizationModel.obj (.text:___ct__26CharacterizationModelClassFv)
Thus can I run some code in RAM from .obj file? Why Linker output has info about .obj file but an error 10008-D is returned?
I used CCS 11.0.0.00012 with compiler version v21.6.0.LTS
Thanks,
Claude C.