Part Number: TMS320F28379D
Other Parts Discussed in Thread: SFRA, C2000WARE, TMDXIDDK379D, CONTROLSUITE
Hello,
I am trying to implement the bissc library into mcsdk, and am following the steps followed in this thread: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/973365/tms320f28379d-fcl-with-biss-c-encoder
I have succesfully recompiled the tformat library to the COFF format, but when trying to compile the FCL library, I get the following compilation failure:
>> Compilation failure
makefile:160: recipe for target 'fcl_f2837x_tmdxiddk.out' failed
warning #10373-D: library "C:/ti/c2000/C2000Ware_MotorControl_SDK_3_03_00_00/libraries/sfra/lib/sfra_f32_tmu_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
warning #10373-D: library "C:/ti/c2000/C2000Ware_MotorControl_SDK_3_03_00_00/libraries/sfra/lib/sfra_f32_tmu_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
warning #10373-D: library "C:/ti/c2000/C2000Ware_MotorControl_SDK_3_03_00_00/libraries/sfra/lib/sfra_f32_tmu_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
warning #10373-D: library "C:/ti/c2000/C2000Ware_MotorControl_SDK_3_03_00_00/libraries/sfra/lib/sfra_f32_tmu_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
warning #10247-D: creating output section "AdcaResultRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "AdcbResultRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "AdccResultRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "AdcdResultRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb1LogicCfgRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb2LogicCfgRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb3LogicCfgRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb4LogicCfgRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb1LogicCtrlRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb2LogicCtrlRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb3LogicCtrlRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb4LogicCtrlRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb1DataExchRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb2DataExchRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb3DataExchRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb4DataExchRegsFile" without a SECTIONS specification
"C:/ti/c2000/C2000Ware_MotorControl_SDK_3_03_00_00/solutions/tmdxiddk379d/f2837x/cmd/iddk_servo_2837x_ram_lnk_cpu1.cmd", line 138: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section ".ebss" size 0xa71page 0. Available memory ranges:
RAMLS0 size: 0x800 unused: 0x800 max hole: 0x800
RAMLS1 size: 0x800 unused: 0x800 max hole: 0x800
undefined first referenced
symbol in file
--------- ----------------
_readTformatEncPosition ./sources/fcl_tformat_f2837x_config.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "fcl_f2837x_tmdxiddk.out" not built
gmake[1]: *** [fcl_f2837x_tmdxiddk.out] Error 1
gmake: *** [all] Error 2
makefile:156: recipe for target 'all' failed
The issue I was concerned with is the warnings concerning the sfra libraries. I tried to import them into a workspace and recompile them to the coff format like I did for the tformat library, but I couldn't find a project to import to recompile the library. I have not yet added the biss-c files to the workspace, so please let me know if this is causing the issue. I have also not yet added the cmd file Lori Heustess linked in that thread, but I don't see how that file would fix the sfra issue.
I also looked into linking the include options in the build settings to the SFRA folder in C:\ti\controlSUITE\libs\app_libs\SFRA\v1_20_00_00, but the file names and folder layout don't match, so I dont know if that would work.
I would greatly appreciate any help in solving this issue.
Kind regards,
Constantin Legras
