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.

TMS320F280037C: Error while generating bin file using post build command

Part Number: TMS320F280037C
Other Parts Discussed in Thread: UNIFLASH

I am trying to generate the bin file using following postbuild command:

"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd2000.exe" "${CG_TOOL_ROOT}/bin/hex2000.exe" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"

Which giving me an error:

"C:/ti/ccs1220/ccs/utils/tiobj2bin/tiobj2bin.bat" "obc_ti_poc.out" "obc_ti_poc.bin" "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/ofd2000.exe" "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000.exe" "C:/ti/ccs1220/ccs/utils/tiobj2bin/mkhex4bin.exe"
makefile:180: recipe for target 'post-build' failed
'C:' is not recognized as an internal or external command,
operable program or batch file.
gmake[2]: [post-build] Error 255 (ignored)

Can you help me to find what is going wrong and resolve this?

Note: I am using eabi output format with C2000ware_5_00_00_00

  • Hi Ashwini,

    The appropriate expert for this question is out of office, please expect a response back by Tuesday.

    Thank you,

    Luke

  • Hi Ashwini,

    This issue seems very simlar to this this thread: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1197688/tms320f280039c-post-build-failed-in-ccs12-2

    Can you please look at this to see if your resolved locations are correct?

    Best,

    Ryan Ma

  • Hi Ryan,

    I have tried the suggested step in last reply of thread https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1197688/tms320f280039c-post-build-failed-in-ccs12-2

    The error is still there in console even the bin file is being generated.

    The generated bin file is not matching with the desired one downloaded using TI Uniflash tool. 

    Thanks,

    Ashwini

  • Hi Ashwini,

    I am going to reach out to a team member that may provide further details on how to resolve this.

    Best,

    Ryan Ma

  • I have tried the suggested step in last reply of thread

    I'm not sure what you did.  If you got tiobj2bin.bat to work, it would emit the diagnostic ...

    C28x files built with --abi=eabi are not supported

    ... and not produce a binary file.  

    To convert a C28x EABI executable file to binary, please use the workaround described in this forum post.

    Thanks and regards,

    -George

  • Hi George,

    Thanks for taking look in my issue. You are right the current tiobj2bin.bat dosen't produce bin file.

    My bad the hex utility was enabled due to which bin file was generated.

     

    Thanks, 

    Ashwini

  • Hi George,

    I have tried to add the ROMS section as below in my project linker command file: 

    ROMS
    {
    allmem :origin : 0x106004, length = 0x19FFC
    }

    and enabled hex utility from build settings: 

    Using following post-build command: 

    "${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd2000" "${CG_TOOL_ROOT}/bin/hex2000" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin" "roms_directive.txt"

    But getting following errors:

    How to resolve these errors ? Attaching the linker command file used.

    28003x_app_generic_flash_lnk.zip

    Thanks, 

    Ashwini

  • Remove the post-build command.  The hex utility creates the binary file.

    Do not put the ROMS directive in the linker command file.  It goes in a separate command file that is an input to the hex utility.  To learn how to configure CCS so that the hex utility gets that separate command file, please search the article Hex utility in CCS for the part titled Passing a Hex Command File

    In the configuration of the hex utility, remove the options --memwidth and --romwidth.  Rely on the defaults.

    Thanks and regards,

    -George

  • Hi George,

    1. Removed post build command.

    2. Removed ROMS directive from linker file.

    1854.28003x_app_generic_flash_lnk.zip

    3. Removed the options --memwidth and --romwidth.

    4. Passing command file as below:

    5. Hex command file is :

     hex.zip

    I am getting following error in console:

    Queries :

    1. How to resolve this above error?

    2. Is hex command file correct? If not, can you provide me any example to understand how it should be written.

    Let me know you need any other details.

    Thanks,

    Ashwini

  • The content of the hex command file hex.cmd should be these lines ...

    ROMS
    {
    allmem :origin : 0x106004, length = 0x19FFC
    }

    ... and nothing else.

    Thanks and regards,

    -George

  • One more detail ... Use the hex2000 option --image.

    Thanks and regards,

    -George

  • Hi George,

    I have enabled the image mode in hex utility and edited the hex.cmd file as you suggested.

    It gives below errors:

    Thanks,

    Ashwini

  • I'm confident, but not certain, about what has gone wrong and how to fix it.  I think you overlooked this detail described at the end of the article Hex utility in CCS.

    NOTE: If you have a file with .cmd extension (such as hex.cmd) in the project directory, or any sub-directory within the project directory, the linker will think it is a linker command file and try to use it during linking. This is not desired as this command line is only applicable to the hex utility. To avoid this, either:

    • Right-click on the hex.cmd file in the Project Explorer view and select Exclude from build, or
    • Name the file with a different extension and change the above command-line pattern accordingly.

    If that doesn't fix the problem, then I need to see the build log from the Console view.  Please rebuild the entire project.  One way to do that is to right-click on the name of the project and select Rebuild Project.  Then save the contents of the Console (not Problems) view to a text file.  Use the icon named Copy Build Log (older versions of CCS) or Save build log to file (newer versions of CCS).  When you name the log file, be sure to use the file extension .txt.  Please attach that text file to your next post.

    Thanks and regards,

    -George

  • Hi George,

    1. Except hex.cmd file there is chip specific command linker file included.

    When I exclude this "28003x_app_generic_flash_lnk.cmd file from the project and Rebuild the project, getting following error:

    Attaching the console build log: 

    **** Build of configuration CPU1_FLASH for project obc_ti_poc ****
    
    "C:\\ti\\ccs1220\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "../obc_ti_poc.syscfg"
    Invoking: SysConfig
    "C:/ti/sysconfig_1.18.1/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_5_00_00_00/.metadata/sdk.json" -d "F28003x" --script "D:/Git/UV_F77_CHARGER_TI_POC/obc_ti_poc.syscfg" -o "syscfg" --package 64PM --part F28003x_64PM --compiler ccs
    Running script...
    Validating...
    info: myEPWM0(/driverlib/epwm.js) epwmTripZone_oneShotSource: For the condition to remain latched, a minimum of 3*TBCLK sync pulse width is required.
    info: myEPWM0(/driverlib/epwm.js) epwmTripZone_oneShotSource: The one-shot trip condition must be cleared manually by writing to the TZCLR[OST] bit.
    info: myEPWM0(/driverlib/epwm.js) epwmDigitalCompare_EPWM_DC_MODULE_A_EPWM_DC_EVENT_1_latchMode: For the condition to remain latched, a minimum of 3*TBCLK sync pulse width is required.
    info: myEPWM0(/driverlib/epwm.js) epwmDigitalCompare_EPWM_DC_MODULE_A_EPWM_DC_EVENT_1_latchMode: Errata Advisory: Event Latch(DCxEVTxLAT) of DC Event-Based CBC Trip May not Extend Trigger Pulse as Expected When Asynchronous Path is Selected
    info: myEPWM0(/driverlib/epwm.js) epwmDigitalCompare_EPWM_DC_MODULE_B_EPWM_DC_EVENT_1_latchMode: For the condition to remain latched, a minimum of 3*TBCLK sync pulse width is required.
    info: myEPWM0(/driverlib/epwm.js) epwmDigitalCompare_EPWM_DC_MODULE_B_EPWM_DC_EVENT_1_latchMode: Errata Advisory: Event Latch(DCxEVTxLAT) of DC Event-Based CBC Trip May not Extend Trigger Pulse as Expected When Asynchronous Path is Selected
    info: myEPWM0(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically
    info: myEPWM0(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: myEPWM0(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: myEPWM0(/driverlib/epwm.js) epwmDeadband_redShadowMode: When DBRED/DBFED active is loaded with a new shadow value while DB counters are counting, the new DBRED / DBFED value only affects the NEXT PWMx edge and not the current edge.
    info: myEPWM0(/driverlib/epwm.js) epwmDeadband_fedShadowMode: When DBRED/DBFED active is loaded with a new shadow value while DB counters are counting, the new DBRED / DBFED value only affects the NEXT PWMx edge and not the current edge.
    info: myEPWM0(/driverlib/epwm.js) epwmTripZone_EPWM_TZ_ACTION_EVENT_TZA: Conflicting actions on the TZCTL, TZCTL2, TZCTLDCA or TZCTLDCB registers. Refer to the TRM for the priority scheme.
    info: myEPWM0(/driverlib/epwm.js) epwmTripZone_EPWM_TZ_ACTION_EVENT_TZB: Conflicting actions on the TZCTL, TZCTL2, TZCTLDCA or TZCTLDCB registers. Refer to the TRM for the priority scheme.
    info: myEPWM1(/driverlib/epwm.js) epwmTripZone_oneShotSource: For the condition to remain latched, a minimum of 3*TBCLK sync pulse width is required.
    info: myEPWM1(/driverlib/epwm.js) epwmTripZone_oneShotSource: The one-shot trip condition must be cleared manually by writing to the TZCLR[OST] bit.
    info: myEPWM1(/driverlib/epwm.js) epwmDigitalCompare_EPWM_DC_MODULE_A_EPWM_DC_EVENT_1_latchMode: For the condition to remain latched, a minimum of 3*TBCLK sync pulse width is required.
    info: myEPWM1(/driverlib/epwm.js) epwmDigitalCompare_EPWM_DC_MODULE_A_EPWM_DC_EVENT_1_latchMode: Errata Advisory: Event Latch(DCxEVTxLAT) of DC Event-Based CBC Trip May not Extend Trigger Pulse as Expected When Asynchronous Path is Selected
    info: myEPWM1(/driverlib/epwm.js) epwmDigitalCompare_EPWM_DC_MODULE_B_EPWM_DC_EVENT_1_latchMode: For the condition to remain latched, a minimum of 3*TBCLK sync pulse width is required.
    info: myEPWM1(/driverlib/epwm.js) epwmDigitalCompare_EPWM_DC_MODULE_B_EPWM_DC_EVENT_1_latchMode: Errata Advisory: Event Latch(DCxEVTxLAT) of DC Event-Based CBC Trip May not Extend Trigger Pulse as Expected When Asynchronous Path is Selected
    info: myEPWM1(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically
    info: myEPWM1(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: myEPWM1(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: myEPWM1(/driverlib/epwm.js) epwmDeadband_redShadowMode: When DBRED/DBFED active is loaded with a new shadow value while DB counters are counting, the new DBRED / DBFED value only affects the NEXT PWMx edge and not the current edge.
    info: myEPWM1(/driverlib/epwm.js) epwmDeadband_fedShadowMode: When DBRED/DBFED active is loaded with a new shadow value while DB counters are counting, the new DBRED / DBFED value only affects the NEXT PWMx edge and not the current edge.
    info: myEPWM1(/driverlib/epwm.js) epwmTripZone_EPWM_TZ_ACTION_EVENT_TZA: Conflicting actions on the TZCTL, TZCTL2, TZCTLDCA or TZCTLDCB registers. Refer to the TRM for the priority scheme.
    info: myEPWM1(/driverlib/epwm.js) epwmTripZone_EPWM_TZ_ACTION_EVENT_TZB: Conflicting actions on the TZCTL, TZCTL2, TZCTLDCA or TZCTLDCB registers. Refer to the TRM for the priority scheme.
    info: myEPWM1(/driverlib/epwm.js) hrpwm_enable: MEP becomes operational: •Three EPWMCLK cycles after the period starts when high-resolution period (TBPRDHR) control is not enabled. • When high resolution period (TBPRDHR) control is enabled via the HRPCTL register – In up-count mode: three EPWMCLK cycles after the period starts until three EPWMCLK cycles before the period ends. – In up-down count mode: when counting up, three cycles after CTR = 0 until three cycles before CTR = PRD, and when counting down, three cycles after CTR = PRD until three cycles before CTR= 0.
    info: task_timer_pwm(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically
    info: task_timer_pwm(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: task_timer_pwm(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    Generating Code (obc_ti_poc.syscfg)...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\board.c...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\board.h...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\board.cmd.genlibs...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\board.opt...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\pinmux.csv...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\epwm.dot...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\adc.dot...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\c2000ware_libraries.cmd.genlibs...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\c2000ware_libraries.opt...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\c2000ware_libraries.c...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\c2000ware_libraries.h...
    Writing D:\Git\UV_F77_CHARGER_TI_POC\CPU1_FLASH\syscfg\clocktree.h...
    Finished building: "../obc_ti_poc.syscfg"
     
    Building file: "syscfg/c2000ware_libraries.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="syscfg/c2000ware_libraries.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "syscfg/c2000ware_libraries.c"
    Finished building: "syscfg/c2000ware_libraries.c"
     
    Building file: "../Firmware/adc_conversion_cla.cla"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/adc_conversion_cla.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/adc_conversion_cla.cla"
    Finished building: "../Firmware/adc_conversion_cla.cla"
     
    Building file: "../Firmware/chrg_stat.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/chrg_stat.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/chrg_stat.c"
    Finished building: "../Firmware/chrg_stat.c"
     
    Building file: "../Firmware/can_messenger.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/can_messenger.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/can_messenger.c"
    Finished building: "../Firmware/can_messenger.c"
     
    Building file: "../Firmware/chrg_can.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/chrg_can.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/chrg_can.c"
    Finished building: "../Firmware/chrg_can.c"
     
    Building file: "../Firmware/chrg_ctrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/chrg_ctrl.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/chrg_ctrl.c"
    Finished building: "../Firmware/chrg_ctrl.c"
     
    Building file: "../Firmware/charger_states.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/charger_states.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/charger_states.c"
    Finished building: "../Firmware/charger_states.c"
     
    Building file: "syscfg/board.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="syscfg/board.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "syscfg/board.c"
    "syscfg/board.c", line 1042: warning #176-D: expression has no effect
    "syscfg/board.c", line 1042: warning #176-D: expression has no effect
    "syscfg/board.c", line 1042: warning #176-D: expression has no effect
    "syscfg/board.c", line 1042: warning #176-D: expression has no effect
    "syscfg/board.c", line 1049: warning #176-D: expression has no effect
    "syscfg/board.c", line 1049: warning #176-D: expression has no effect
    "syscfg/board.c", line 1049: warning #176-D: expression has no effect
    "syscfg/board.c", line 1049: warning #176-D: expression has no effect
    Finished building: "syscfg/board.c"
     
    Building file: "../Firmware/cla_exec_task.cla"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/cla_exec_task.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/cla_exec_task.cla"
    Finished building: "../Firmware/cla_exec_task.cla"
     
    Building file: "../Firmware/main.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/main.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/main.c"
    Finished building: "../Firmware/main.c"
     
    Building file: "../device/f28003x_codestartbranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="device/f28003x_codestartbranch.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="device" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../device/f28003x_codestartbranch.asm"
    Finished building: "../device/f28003x_codestartbranch.asm"
     
    Building file: "../Firmware/chrg_timer.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/chrg_timer.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/chrg_timer.c"
    Finished building: "../Firmware/chrg_timer.c"
     
    Building file: "../Firmware/power_llc_cla.cla"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/power_llc_cla.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/power_llc_cla.cla"
    Finished building: "../Firmware/power_llc_cla.cla"
     
    Building file: "../Firmware/power_pll_cla.cla"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/power_pll_cla.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/power_pll_cla.cla"
    Finished building: "../Firmware/power_pll_cla.cla"
     
    Building file: "../Firmware/drv_adc.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/drv_adc.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/drv_adc.c"
    "../Firmware/drv_adc.c", line 607: warning #552-D: variable "vcu_current_limit" was set but never used
    "../Firmware/drv_adc.c", line 608: warning #179-D: variable "max_temp_inst" was declared but never referenced
    "../Firmware/drv_adc.c", line 609: warning #179-D: variable "derate_factor_t" was declared but never referenced
    "../Firmware/drv_adc.c", line 610: warning #179-D: variable "derate_factor_vo" was declared but never referenced
    "../Firmware/drv_adc.c", line 75: warning #179-D: function "get_max_temp" was declared but never referenced
    Finished building: "../Firmware/drv_adc.c"
     
    Building file: "../Firmware/version.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/version.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/version.c"
    Finished building: "../Firmware/version.c"
     
    Building file: "../Firmware/power_pfc_cla.cla"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="Firmware/power_pfc_cla.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="Firmware" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../Firmware/power_pfc_cla.cla"
    Finished building: "../Firmware/power_pfc_cla.cla"
     
    Building file: "../device/device.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/control/DCL/c28/include" --include_path="D:/Git/UV_F77_CHARGER_TI_POC" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib" --include_path="C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" --obj_directory="device" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../device/device.c"
    Finished building: "../device/device.c"
     
    Building target: "obc_ti_poc.out"
    Invoking: C2000 Linker
    "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=2 --fp_mode=relaxed --fp_reassoc=on --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=off -z -m"obc_ti_poc.map" --heap_size=0x100 --stack_size=0x200 --warn_sections -i"C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/lib" -i"C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/lib" -i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_5_00_00_00" -i"D:/Git/UV_F77_CHARGER_TI_POC/CPU1_FLASH/syscfg" -i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --reread_libs --define=_FLASH --diag_wrap=off --display_error_number --xml_link_info="obc_ti_poc_linkInfo.xml" --entry_point=code_start --rom_model -o "obc_ti_poc.out" "./syscfg/board.obj" "./syscfg/c2000ware_libraries.obj" "./Firmware/adc_conversion_cla.obj" "./Firmware/can_messenger.obj" "./Firmware/charger_states.obj" "./Firmware/chrg_can.obj" "./Firmware/chrg_ctrl.obj" "./Firmware/chrg_stat.obj" "./Firmware/chrg_timer.obj" "./Firmware/cla_exec_task.obj" "./Firmware/drv_adc.obj" "./Firmware/main.obj" "./Firmware/power_llc_cla.obj" "./Firmware/power_pfc_cla.obj" "./Firmware/power_pll_cla.obj" "./Firmware/version.obj" "./device/device.obj" "./device/f28003x_codestartbranch.obj" "C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib/ccs/Debug/driverlib.lib" "../hexutil/hex.cmd"  -l"C:/ti/c2000/C2000Ware_5_00_00_00/libraries/calibration/hrpwm/f28003x/lib/SFO_v8_fpu_lib_build_c28_driverlib_eabi.lib" -l"C:/ti/c2000/C2000Ware_5_00_00_00/libraries/boot_rom/f28003x/rev0/rom_symbol_libs/CLADATAROMSymbols/F28003x_CLADATROM_Symbols_fpu32.lib" -l"C:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/CLAmath/c28/lib/cla2_math_library_fpu32_eabi.lib" -lc2000ware_libraries.cmd.genlibs -llibc.a 
    <Linking>
    "../hexutil/hex.cmd", line 1: error #10008-D: cannot find file "ROMS"
    "../hexutil/hex.cmd", line 2: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of "{"
    "../hexutil/hex.cmd", line 4: error #10043-D: expecting "";"" instead of "}"
    warning #10247-D: creating output section ".text" without a SECTIONS specification
    warning #10247-D: creating output section ".data" without a SECTIONS specification
    warning #10247-D: creating output section ".bss" without a SECTIONS specification
    warning #10247-D: creating output section ".cinit" without a SECTIONS specification
    warning #10247-D: creating output section ".const" without a SECTIONS specification
    warning #10247-D: creating output section ".bss_cla" without a SECTIONS specification
    warning #10247-D: creating output section "Cla1Prog" without a SECTIONS specification
    warning #10247-D: creating output section ".scratchpad" without a SECTIONS specification
    warning #10247-D: creating output section "CpuToCla1MsgRAM" without a SECTIONS specification
    warning #10247-D: creating output section "Cla1ToCpuMsgRAM" without a SECTIONS specification
    warning #10247-D: creating output section ".switch" without a SECTIONS specification
    error #10430-D: ".TI.ramfunc" section generated by __attribute__((ramfunc)) or --ramfunc=on requires a SECTIONS specification to function.
    warning #10247-D: creating output section "codestart" without a SECTIONS specification
     
     undefined          first referenced   
      symbol                in file        
     ---------          ----------------   
     Cla1ConstLoadSize  ./syscfg/board.obj 
     Cla1ConstLoadStart ./syscfg/board.obj 
     Cla1ConstRunStart  ./syscfg/board.obj 
     Cla1ProgLoadSize   ./syscfg/board.obj 
     Cla1ProgLoadStart  ./syscfg/board.obj 
     Cla1ProgRunStart   ./syscfg/board.obj 
     RamfuncsLoadSize   ./device/device.obj
     RamfuncsLoadStart  ./device/device.obj
     RamfuncsRunStart   ./device/device.obj
     
    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "obc_ti_poc.out" not built
     
    >> Compilation failure
    makefile:169: recipe for target 'obc_ti_poc.out' failed
    gmake[1]: *** [obc_ti_poc.out] Error 1
    gmake[1]: Target 'secondary-outputs' not remade because of errors.
    makefile:165: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****
    

    Thanks,

    Ashwini

  • When I exclude this "28003x_app_generic_flash_lnk.cmd file from the project

    Do not exclude this file from the build.  Instead, exclude hex.cmd.

    Thanks and regards,

    -George

  • Hi George,

    There are no errors now for in build. The bin file generated is also working. 

    Thank you!