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.

6678 h264venc

Other Parts Discussed in Thread: SYSBIOS, CCSTUDIO

我在编译运行6678中自带的h264venc的工程时,遇到了关于cmd文件的错误。

我使用的版本是:bios_6_33_06_50, framework_components_3_22_00_05和xdctools_3_23_04_60。

错误提示是:no valid memory range(NULL) available for

console窗口中的打印信息如下:

**** Build of configuration Debug_Mcore for project TestAppEncoder ****

C:\ti\ccsv5\utils\bin\gmake -k all 'Building file: ../H264VEncApp6678.cfg' 'Invoking: XDCtools' "C:/ti/xdctools_3_23_04_60/xs" --xdcpath="C:/ti/bios_6_33_06_50/packages;C:/ti/bios_6_33_06_50/packages;C:/ti/xdais_7_21_01_07/packages;C:/ti/xdais_7_21_01_07/packages;C:/ti/ipc_1_24_03_32/packages;C:/ti/framework_components_3_22_00_05/examples;C:/ti/framework_components_3_22_00_05/packages;C:/ti/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/App/Client/Build/Repository/Packages;C:/ti/ccsv5/ccs_base;C:/ti/edma3_lld_02_11_05_02/packages;C:/ti/xdais_7_21_01_07/examples;C:/ti/framework_components_3_22_00_05/xdoc;C:/ti/framework_components_3_22_00_05/packages;C:/ti/framework_components_3_22_00_05/examples;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.custom66x -r whole_program -c "C:/ti/C6000 Code Generation Tools 7.2.4" "../H264VEncApp6678.cfg" making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... configuring H264VEncApp6678.pe66 from package/cfg/H264VEncApp6678_pe66.cfg ... useModule Settings: 6600 warning: ti.sysbios.BIOS: "C:/ti/bios_6_33_06_50/packages/ti/sysbios/BIOS.xs", line 453: Profile Deprecation Warning ti.sysbios.BIOS: The 'whole_program' build profile will not be supported in future releases of SYS/BIOS.  Use 'release' or 'debug' profiles together with the 'BIOS.libType' configuration parameter to specify your preferred library.  See the compatibility section of your SYS/BIOS release notes for more information. Auto-registering resource manager for EDMA3CHAN ti.sdo.fc.ires.nullresource: Requested profile 'whole_program' does not exist.  Defaulting to the 'release' profile Inside EDMA3 RM getLibs     will link with ti.sdo.edma3.rm:lib/tci6608-sim/66/release/edma3_lld_rm.ae66 ti.sdo.fc.ires.nullresource: Requested profile 'whole_program' does not exist.  Defaulting to the 'release' profile Inside EDMA3 RM getLibs     will link with ti.sdo.edma3.rm:lib/tci6608-sim/66/release/edma3_lld_rm.ae66 cle66 package/cfg/H264VEncApp6678_pe66.c ... lnke66 H264VEncApp6678.pe66 ...

INTERNAL ERROR: C:/ti/C6000C~1.4/bin/lnk6x experienced an unhandled exception

This is a serious problem.  Please contact Customer Support with this message and a copy of the input file and help us to continue to make the tools more robust.

gmake.exe: *** [H264VEncApp6678.pe66] Error 2 js: "C:/ti/xdctools_3_23_04_60/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted. gmake: *** [configPkg/compiler.opt] Error 1 gmake: Target `all' not remade because of errors.

**** Build Finished ****

请问我应该如何解决呢?

  • 谢谢,Allen。

    我目前使用的是C6000 Code Generation Tools 7.4.1。还需要更新为7.4.2么?我下载7.4.2,但是大小只有9.26K,安装时没有什么显示,不太对呀。

    另外,我装载dec工程,进行编译后,出现的问题是:

    Description Resource Path Location Type xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sdo.edma3.rm' along the path: 'C:/ti/ipc_1_24_03_32/packages;C:/ti/bios_6_33_06_50/packages;C:/ti/framework_components_3_22_00_05/packages;C:/ti/framework_components_3_22_00_05/examples;C:/ti/bios_6_33_06_50/packages;C:/ti/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/App/Client/Build/Repository/Packages;C:/ti/ccsv5/ccs_base;C:/ti/xdais_7_21_01_07/packages;C:/ti/xdais_7_21_01_07/examples;D:/workspace_v5_2/TestAppEncoder/.config/;C:\ti\xdctools_3_23_04_60\packages;'. Ensure that the package path is set correctly. 

    但是,由于找不到EDMA3LLD,在cfg文件中我就已经将该句代码进行了注释:

    var EDMA3LLD = xdc.loadPackage('ti.sdo.edma3.rm');

    为什么还会报这样的错误呢??

  • 补充一下:

    如果我在此基础上再次选择build,就会出现和enc一样的问题。

    这个还是和编译器有关么?

    可是那个7.4.2下载后,是只有9.26K么?

  • Allen,根据你的网址,我选择windows版本的7.4.2:

    我试了很多次,更换了浏览器,也在其他电脑上尝试下载,可是下的都只有9.26K.

    不知道你能否将安装程序做为附件上传一下?或者还有没有其他相关的网址可以提供下载?

  • 这个网页有问题,你可以用notepad打开你先下载下来的9K的文件,找到如下的一个url,把url 拷贝到浏览器打开就好了

    function downloadSoftware()
            {
               
               

                    var url  = 'http://downloads.ti.com/downloads/dsps/dsps_registered_sw/sdo_ccstudio/codegen/C6000/7.4.2/ti_cgt_c6000_7.4.2_setup_win32.exe?__gda__=1358155424_f50c9c6ac2360be06632e521a0f42812';
                    var wid  = Math.floor(screen.width * .95);
                    var hgt  = Math.floor(screen.height * .85);
                    var left = ((screen.width - wid) / 2);
                    var top  = ((screen.height - hgt) / 2);
                    var windowProps = "top=" + top + ",left=" + left + ",height=" + hgt+ ",width=" + wid +", scrollbars=yes";
                    //alert('URL='+url + ' : window props =' +windowProps);
                    window.open(url, 'Download_Page', windowProps);

               
               
            }

  • Allen,我已经成功的安装了7.4.2.并选择该版本的编译器。

    重新编译工程时,是一样的问题。

    在console显示的是:

    error: cannot find file "./configPkg/linker.cmd" "../H264VEncApp.cmd", line 51: warning: memory range not found: MSMCSRAM on    page 0 "../H264VEncApp.cmd", line 51: error: no valid memory range(NULL) available for    placement of ".text"

    cmd文件中,51行是:  .text        : > MSMCSRAM

    这是RTSC设置的内存问题么?

    但是我的RTSC设置中,MSMCSRAM是有4M的大小的。

    那这个错误提示是什么含义呢?

    请问我应该如何修改呢? 

  • 请告诉我你的硬件平台和软件的版本

  • 对照264软件包的使用手册对一下相关的工具要求,注意framework component,xdc, compiler的版本,不是越新越好。

  • 谢谢大家,我已经解决问题了。

    真的是需要将各种工具的版本和pdf中的对应一致就可以了。