TI中文支持网
TI专业的中文技术问题搜集分享网站

UCD3138在CCS5.4环境下编译不能生成“.x0”文件

RT,自己在CCS5.4环境下重新新建工程,将旧工程文件(CCS3.3)相关文件迁移到新建的项目工程文件中,编译有通过,但是生成“.out”文件,并没有期望的“.x0”。

已经查阅过《Converting UCD3138 F/w Project from CCS version 3.3 to 5.2》,并不能解决我碰到的问题。还是说需要在哪里要做其他特殊设置??

请求帮助,谢谢~~

补充下编译信息:

'Building file: ../SRC/Apps/pmbus_vout_sequencing_commands.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv4 –code_state=16 –abi=ti_arm9_abi -O1 –opt_for_speed=1 -g –include_path="C:/ti/ccsv5/tools/compiler/arm_5.0.4/include" –include_path="D:/workspace_v5_4/ProjectTST2/UCD3xxx_Includes/Headers/Archive" –include_path="D:/workspace_v5_4/ProjectTST2/UCD3xxx_Includes/Headers/Cyclone" –include_path="D:/workspace_v5_4/ProjectTST2/UCD3xxx_Includes/Headers/PMBus V1.2" –include_path="D:/workspace_v5_4/ProjectTST2/UCD3xxx_Includes/Sources" –include_path="D:/workspace_v5_4/ProjectTST2/includes" –include_path="D:/workspace_v5_4/ProjectTST2/SRC/Apps" –include_path="D:/workspace_v5_4/ProjectTST2/SRC/ASM" –include_path="D:/workspace_v5_4/ProjectTST2/SRC/BSP" –include_path="D:/workspace_v5_4/ProjectTST2/SRC/Systems" –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="SRC/Apps/pmbus_vout_sequencing_commands.pp" –obj_directory="SRC/Apps" "../SRC/Apps/pmbus_vout_sequencing_commands.c"
'Finished building: ../SRC/Apps/pmbus_vout_sequencing_commands.c'

…….

'Building target: ProjectTST2.out'
'Invoking: ARM Linker'
"C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv4 –code_state=32 –abi=ti_arm9_abi -O1 –opt_for_speed=1 -g –diag_warning=225 –display_error_number –diag_wrap=off -z -m"ProjectTST2.map" -i"C:/ti/ccsv5/tools/compiler/arm_5.0.4/lib" -i"C:/ti/ccsv5/tools/compiler/arm_5.0.4/include" –reread_libs –warn_sections –display_error_number –diag_wrap=off –xml_link_info="ProjectTST2_linkInfo.xml" –rom_model -o "ProjectTST2.out" "./SRC/ASM/load.obj" "./SRC/Apps/zero_out_integrity_word.obj" "./SRC/Apps/uart.obj" "./SRC/Apps/store_restore_functions.obj" "./SRC/Apps/software_interrupts.obj" "./SRC/Apps/software_interrupt_wrapper.obj" "./SRC/Apps/scale.obj" "./SRC/Apps/pmbus_vout_sequencing_commands.obj" "./SRC/Apps/pmbus_vout_commands.obj" "./SRC/Apps/pmbus_status_commands.obj" "./SRC/Apps/pmbus_read_param_commands.obj" "./SRC/Apps/pmbus_other_commands.obj" "./SRC/Apps/pmbus_manuf_specific_commands.obj" "./SRC/Apps/pmbus_manuf_info_commands.obj" "./SRC/Apps/pmbus_handler.obj" "./SRC/Apps/pmbus_fault_commands.obj" "./SRC/Apps/pmbus_cml_commands.obj" "./SRC/Apps/pmbus.obj" "./SRC/Apps/interrupts.obj" "./SRC/Apps/gpio.obj" "./SRC/Apps/flash.obj" "./SRC/Apps/device_id.obj" "./SRC/Apps/constants.obj" "./SRC/Apps/configuration_functions.obj" "./SRC/Apps/clear_program_flash.obj" "./SRC/BSP/init_watchdog.obj" "./SRC/BSP/init_pmbus.obj" "./SRC/BSP/init_loop_mux.obj" "./SRC/BSP/init_front_ends.obj" "./SRC/BSP/init_filters.obj" "./SRC/BSP/init_fault_mux.obj" "./SRC/BSP/init_dpwms.obj" "./SRC/BSP/init_current_sharing.obj" "./SRC/BSP/init_cpcc.obj" "./SRC/BSP/init_adc12.obj" "./SRC/Systems/main.obj" "./UCD3xxx_Includes/Sources/cyclone_global_variables_defs.obj" -l"libc.a" "../cyclone.cmd" "../cyclone_headers.cmd"<Linking>
'Finished building target: ProjectTST2.out'
' '
'Create flash image: TI-TXT'
"C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armhex" –ti_txt "ProjectTST2.out" -o "ProjectTST2.txt" -order MS -romwidth 16
Translating to TI-TXT format…
"ProjectTST2.out" ==> .vectors
"ProjectTST2.out" ==> .text
"ProjectTST2.out" ==> .const
"ProjectTST2.out" ==> .cinit
"ProjectTST2.out" ==> FixedDeviceID
"ProjectTST2.out" ==> .CONFIG
' '

user6009687:

回复 Tommy Wei:

您好,我按您的方法并没有生成.x0文件,只有.out文件,您能帮我看一下吗?

("${CG_TOOL_HEX}.exe" -x "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.x0" -memwidth 8)

赞(0)
未经允许不得转载:TI中文支持网 » UCD3138在CCS5.4环境下编译不能生成“.x0”文件
分享到: 更多 (0)