CCS-v3错误处理_第1页
CCS-v3错误处理_第2页
CCS-v3错误处理_第3页
CCS-v3错误处理_第4页
CCS-v3错误处理_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

CCS v3.3开发环境Step by step (2)使用DSP/BIOS2011-08-23 8:00继续使用(1)中的工程文件菜单FileNewNew DSP/BIOS Configuration,对话框中选择相应的Platform,譬如:C55XX中的ti.platform.evm5509A,然后点击OK,系统将打开一个Configuration 1*的配置文件,将其保存为hello.tcf。弹出错误信息如下:js: ./hello.tcf, line 11: Heaps are enabled, but the segment for DSP/BIOS Objects (MEM.BIOSOBJSEG) is not set correctly. Please create a heap in one of your data segments and set MEM.BIOSOBJSEG to it. ./, line 3Correct any script errors in C:/test/hello/hello.tcfusing the Configuration Tool or a text editor, if necessary.TConf initialization arguments:-e environmentconfig.importPath=D:/CCStudio_v3.3/bios_5_31_02/packages;D:/CCStudio_v3.3/bios_5_31_02/packages; -e environmentconfig.scriptName=6E8.tcf选中MEM的General属性中 No Dynamic Memory Heaps,再次保存,告警消失,OK。将hello.tcf加入到工程文件当中,编译发现大量的错误和告警:- hello.pjt - Debug -hello.tcf D:CCStudio_v3.3bios_5_31_02xdctoolstconf -b -Dconfig.importPath=D:/CCStudio_v3.3/bios_5_31_02/packages; hello.tcfhellocfg.s55 D:CCStudio_v3.3C5500cgtoolsbincl55 -g -frC:/test/hello/Debug -d_DEBUG -Debug.lkf hellocfg.s55hellocfg_c.c D:CCStudio_v3.3C5500cgtoolsbincl55 -g -frC:/test/hello/Debug -d_DEBUG -Debug.lkf hellocfg_c.cLinking. D:CCStudio_v3.3C5500cgtoolsbincl55 -Debug.lkf warning: creating output section .gblinit without SECTIONS specification warning: creating output section .rtdx_data without SECTIONS specification warning: creating output section .printf without SECTIONS specification warning: creating output section .sys without SECTIONS specification warning: creating output section .clk without SECTIONS specification warning: creating output section .hst1 without SECTIONS specification warning: creating output section .hst without SECTIONS specification warning: creating output section .pip without SECTIONS specification warning: creating output section .hst0 without SECTIONS specification warning: creating output section .hwi_vec without SECTIONS specification warning: creating output section .swi without SECTIONS specification warning: creating output section .sts without SECTIONS specification warning: creating output section .TSK_idle$stk without SECTIONS specification warning: creating output section .tsk without SECTIONS specification warning: creating output section .idlcal without SECTIONS specification warning: creating output section .idl without SECTIONS specification warning: creating output section .LOG_system$buf without SECTIONS specification warning: creating output section .log without SECTIONS specification warning: creating output section .sysinit without SECTIONS specification warning: creating output section .vers without SECTIONS specificationundefined first referenced symbol in file- -_CLK_start C:testhelloDebughellocfg.objSWI_D_rdytab C:testhelloDebughellocfg.obj_HWI_STKTOP C:testhelloDebughellocfg.obj_HOOK_knlId C:testhelloDebughellocfg.obj_KNL_exit C:testhelloDebughellocfg.objTSK_VCREATEFXN C:testhelloDebughellocfg.obj_UTL_doError C:testhelloDebughellocfg.objPIP_F_start C:testhelloDebughellocfg.objGBL_boot C:testhelloDebughellocfg.objTSK_VDELETEFXN C:testhelloDebughellocfg.objKNL_glue C:testhelloDebughellocfg.objLNK_D_dataReadyMask C:testhelloDebughellocfg.obj_UTL_doAbort C:testhelloDebughellocfg.objIDL_F_loop C:testhelloDebughellocfg.obj_CLK_DFLTMICROSECS C:testhelloDebughellocfg.objiRTA_F_or C:testhelloDebughellocfg.obj_HWI_STKBOTTOM C:testhelloDebughellocfg.obj_CLK_htimePerLtime C:testhelloDebughellocfg.obj_RTDX_Buffer_Start C:testhelloDebughellocfg.objGBL_stackbeg C:testhelloDebughellocfg.obj_UTL_doPutc C:testhelloDebughellocfg.objPRD_F_tick C:testhelloDebughellocfg.objFXN_F_selfLoop C:testhelloDebughellocfg.obj_HWI_SYSSTKTOP C:testhelloDebughellocfg.obj_HOOK_NUMHOOKS C:testhelloDebughellocfg.obj_CLK_D_microseconds C:testhelloDebughellocfg.objLNK_F_init C:testhelloDebughellocfg.objCLK_F_dispRun C:testhelloDebughellocfg.objTRC_R_mask C:testhelloDebughellocfg.objGBL_stackend C:testhelloDebughellocfg.obj_HWI_F_DispIsr0 C:testhelloDebughellocfg.objPRD_D_tablen C:testhelloDebughellocfg.obj_TSK_config C:testhelloDebughellocfg.obj_OBJ_table C:testhelloDebughellocfg.objHWI_A_VECS C:testhelloDebughellocfg.obj_RTDX_Buffer_End C:testhelloDebughellocfg.obj_FXN_F_nop C:testhelloDebughellocfg.objGBL_sysstackbeg C:testhelloDebughellocfg.obj_CLK_D_prd C:testhelloDebughellocfg.obj_KNL_run C:testhelloDebughellocfg.objLNK_D_fromHostMask C:testhelloDebughellocfg.objGBL_sysstackend C:testhelloDebughellocfg.objCLK_F_isr C:testhelloDebughellocfg.objPIP_D_tabbeg C:testhelloDebughellocfg.objTRC_cinit C:testhelloDebughellocfg.obj_UTL_halt C:testhelloDebughellocfg.objRTA_F_dispatch C:testhelloDebughellocfg.obj_TSK_startup C:testhelloDebughellocfg.obj_TSK_setup C:testhelloDebughellocfg.obj_KNL_queues C:testhelloDebughellocfg.objCLK_A_TABBEG C:testhelloDebughellocfg.objLNK_F_dataPump C:testhelloDebughellocfg.objTSK_VEXITFXN C:testhelloDebughellocfg.obj_IDL_init C:testhelloDebughellocfg.obj_HWI_SYSSTKBOTTOM C:testhelloDebughellocfg.obj_CLK_D_countspms C:testhelloDebughellocfg.obj_RTDX_Poll C:testhelloDebughellocfg.obj_TSK_init C:testhelloDebughellocfg.objPIP_D_tablen C:testhelloDebughellocfg.obj_TSK_exit C:testhelloDebughellocfg.objSWI_F_enable C:testhelloDebughellocfg.obj_RTDX_H2TPoll C:testhelloDebughellocfg.obj_GBL_getVersion C:testhelloDebughellocfg.objGBL_initdone C:testhelloDebughellocfg.obj_CLK_stop C:testhelloDebughellocfg.obj_HWI_dispatchTab C:testhelloDebughellocfg.objIDL_F_busy C:testhelloDebughellocfg.obj error: symbol referencing errors - ./Debug/hello.out not built Compilation failureBuild Complete, 2 Errors, 20 Warnings, 0 Remarks.将hellocfg.cmd文件也加入到工程当中,继续编译,得到错误如下:- hello.pjt - Debug -hello.tcf D:CCStudio_v3.3bios_5_31_02xdctoolstconf -b -Dconfig.importPath=D:/CCStudio_v3.3/bios_5_31_02/packages; hello.tcfhello.c D:CCStudio_v3.3C5500cgtoolsbincl55 -g -frC:/test/hello/Debug -d_DEBUG -Debug.lkf hello.chellocfg.s55 D:CCStudio_v3.3C5500cgtoolsbincl55 -g -frC:/test/hello/Debug -d_DEBUG -Debug.lkf hellocfg.s55hellocfg_c.c D:CCStudio_v3.3C5500cgtoolsbincl55 -g -frC:/test/hello/Debug -d_DEBUG -Debug.lkf hellocfg_c.cLinking. D:CCStudio_v3.3C5500cgtoolsbincl55 -Debug.lkf C:testhellohellocfg.cmd, line 130: error: cant find input file lnkrtdx.a55 C:testhellohellocfg.cmd, line 131: error: cant find input file drivers.a55 C:testhellohellocfg.cmd, line 132: error: cant find input file sioboth.a55 C:testhellohellocfg.cmd, line 133: error: cant find input file bios5509.a55 C:testhellohellocfg.cmd, line 134: error: cant find input file bios.a55 C:testhellohellocfg.cmd, line 135: error: cant find input file rtdx.lib C:testhellohello.cmd, line 49: warning: multiple definitions of SECTION named .text C:testhellohello.cmd, line 53: warning: multiple definitions of SECTION named .data C:testhellohello.cmd, line 54: warning: multiple definitions of SECTION named .bss C:testhellohello.cmd, line 55: warning: multiple definitions of SECTION named .const C:testhellohello.cmd, line 57: warning: multiple definitions of SECTION named .stack C:testhellohello.cmd, line 58: warning: multiple definitions of SECTION named .sysstack C:testhellohello.cmd, line 59: warning: multiple definitions of SECTION named .cio C:testhellohello.cmd, line 63: warning: multiple definitions of SECTION named .switch C:testhellohello.cmd, line 64: warning: multiple definitions of SECTION named .cinit C:testhellohello.cmd, line 65: warning: multiple definitions of SECTION named .pinit Compilation failureBuild Complete, 7 Errors, 10 Warnings, 0 Remarks.首先删除hello.cmd,因为大量的section定义重复了;同时将Build Options Compiler Advanced Memory Model 设置为Large (-ml),BIOS库不支持Small 模式;同时修改hello.tc

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论