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.

CCS/TMS320F28379D: adding endat.lib to an existing project

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE,

Tool/software: Code Composer Studio

Hello everyone,

I'm trying to get the endat-Library running in an existing project.

I added the endat22/Float/include to the inculde-dir

and added the PM_endat22_lib.lib to the include library file

I copied the necessary functions and the ISR inside my project and integrated them.
Everything compiles fine.

I'm using the linker commandfiles:
- F2837xD_Headers_clb_cpu1.cmd
- F2837xD_Headers_nonBIOS_cpu1.cmd
- 2837xD_RAM_ink_cpu1.cmd

with these files the Linker tells me, that the Programm will not fit into memory (#1099-D).
(Since the project has only about 2k lines of self written code I can't believe, that the Code is too large.
So I assum, that something is wrong with the .cmd files)
So I inspected the .map file (see file below), where you can see that something dosn't fit into .text1
but I can't figure out how to fix this.
Projekt.map.txt

I then tried to fix it by deleting the 2837xD_RAM_ink_cpu1.cmd file and adding the PM_endat22_2837xD_RAM_lnk_cpu1.cmd from the endat example.

But using the cmd file I get the following error:
".TI.ramfunc" section generated by __attribute__((ramfunc)) or null: ".TI.ramfunc" section generated by __attribute__((ramfunc)) or 
#10010 null: errors encountered during linking; 

Here are my linker settings for both approaches:
-v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --opt_for_speed=4
--define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number -z -m"Multiachse.map"
--heap_size=0x200 --stack_size=0x100 --warn_sections -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/lib"
-i"C:/ti/controlSUITE/libs/app_libs/position_manager/v01_02_00_00/endat22/Float/lib"
-i"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/include"
-i"C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/cmd"
-i"C:/ti/controlSUITE/libs/dsp/VCU/v2_10_00_00/lib" --reread_libs --display_error_number
--xml_link_info="Multiachse_linkInfo.xml" --entry_point=code_start --rom_model

Please help me getting the endat-library running in my project I don't know any further at this point.