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/TMS320F28335: TMS320F28335 generate HEX file error

Part Number: TMS320F28335

Tool/software: Code Composer Studio

I use these versions of CCS to generate the hex file will exist some errors, while the initial ccs6 has less problem.

when I prohibit the generation of HEX file will have on errors.

the configurations are as below:

1.Output format :output intel hex format

2.Specify rom width:16

the console  is as below:

**** Build of configuration Debug for project EA100_V200 ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 2 all -O
'Building target: EA100_V200.out'
'Building file: ../cmd/DSP28232.cmd'
'Invoking: C2000 Linker'
"C:/ti/bin/cl2000" -v28 -ml -g --define=_DEBUG --define=LARGE_MODEL --display_error_number --diag_wrap=off -z -m"EA100_V200.map" --stack_size=0x380 --warn_sections -i"C:/Users/Administrator/acv04_v300_Door_20-jiadiaoyong" -i"C:/ti/lib" -i"C:/ti/include" --reread_libs --display_error_number --diag_wrap=off --xml_link_info="EA100_V200_linkInfo.xml" --entry_point=code_start --rom_model -o "EA100_V200.out" "../cmd/DSP28232.cmd" "./SV_F_SCI.obj" "./DSP28232_ADC_cal.obj" "./DSP28232_CodeStartBranch.obj" "./DSP28232_DefaultIsr.obj" "./DSP28232_F2RCopy.obj" "./DSP28232_PieCtrl.obj" "./DSP28232_PieVect.obj" "./DSP28232_SysCtrl.obj" "./DSP28232_usDelay.obj" "./SV_F_AiAo.obj" "./SV_F_DiDo.obj" "./SV_F_Door.obj" "./SV_F_DoorCtrl.obj" "./SV_F_Door_Code.obj" "./SV_F_Door_Position.obj" "./SV_GM_DivCal.obj" "./SV_GM_Filter.obj" "./SV_GM_SqrtCal.obj" "./SV_CoefHandle.obj" "./SV_GF_Gpio.obj" "./SV_GI_InterruptInt.obj" "./SV_GI_SysVarInit.obj" "./SV_GolbalVarStr.obj" "./SV_TestSave.obj" "./main.obj" "./SV_MF_BPapply.obj" "./SV_MF_ErroDeal.obj" "./SV_MF_MonitVarDis.obj" "./SV_MF_Monitor.obj" "./SV_MF_OLProtect.obj" "./SV_MF_OTProtect.obj" "./SV_MF_ServoStatus.obj" "./SV_MF_TmpMonitor.obj" "./SV_MF_UdcMonitor.obj" "./SV_F_DspSpi.obj" "./SV_F_Eeprom.obj" "./SV_F_FunCode.obj" "./SV_F_FunCodeInit.obj" "./SV_F_FunCodeValue.obj" "./SV_F_MotorFunVal.obj" "./SV_F_PanelCtrl.obj" "./SV_Jm_IDT.obj" "./SV_PF_MultiPosFun.obj" "./SV_PF_PosCtrl.obj" "./SV_PF_PrScurveGen.obj" "./SV_PP_PosRegulator.obj" "./SV_PP_PulsSample.obj" "./SV_TAB_MonitTab.obj" "./SV_TAB_SIN360.obj" "./SV_SF_MultiSpdFun.obj" "./SV_SF_SpdFunCtrl.obj" "./SV_SP_EncSample.obj" "./SV_SP_MtSpdCal.obj" "./SV_SP_SpdRegulator.obj" "./SV_SCH_SysSchedul.obj" "./SV_TF_TorqFunCtrl.obj" "./SV_GP_AdcIsr.obj" "./SV_GP_DspAdcSample.obj" "./SV_TP_PWMCMP.obj" "./SV_TP_SinCosCal.obj" "./SV_TP_Svpwm.obj" "./SV_TP_TorqRegulator.obj"  -lrts2800_ml.lib
'Invoking: C2000 Linker'
"C:/ti/bin/cl2000" -v28 -ml -g --define=_DEBUG --define=LARGE_MODEL --display_error_number --diag_wrap=off -z -m"../cmd/Debug/EA100_V200.map" --stack_size=0x380 --warn_sections -i"C:/Users/Administrator/acv04_v300_Door_20-jiadiaoyong" -i"C:/ti/lib" -i"C:/ti/include" --reread_libs --display_error_number --diag_wrap=off --xml_link_info="EA100_V200_linkInfo.xml" --entry_point=code_start --rom_model -o "cmd/DSP28232.exe" "../cmd/DSP28232.cmd"
<Linking>
<Linking>
warning #10211-D: cannot resolve archive C:/ti/lib/libc.a to a compatible library, as no input files have been encountered
fatal error #10009: no input files

>> Compilation failure
cmd/subdir_rules.mk:9: recipe for target 'cmd/DSP28232.exe' failed
gmake[1]: *** [cmd/DSP28232.exe] Error 1
warning #10063-D: entry-point symbol other than "_c_int00" specified:  "code_start"
'Finished building target: EA100_V200.out'
' '
makefile:232: recipe for target 'all' failed
gmake[1]: Target 'secondary-outputs' not remade because of errors.
gmake: *** [all] Error 2

**** Build Finished ****

 

  • Hi,

    It seems a screenshot was not properly attached. Can you retry?

    The console looks somewhat strange; it shows the linker being invoked multiple times, with more than one RTS library and ultimately failing. Given the project is unable to build properly, the .hex file cannot be generated.

    There are a few threads that mention some possible solutions to this issue:
    e2e.ti.com/.../1719108
    e2e.ti.com/.../1569765

    If these suggestions do not give you any good results, perhaps it would be more productive to look at a buildable version of the project itself. Is it possible to share it?

    Regards,
    Rafael