Thread 中讨论的其他器件:AWR2243、
您好!
当我将链接文件添加到项目文件夹时、处理器处于锁定状态、我在内存分配方面遇到一些错误、因此我使用了预定义的链接文件来解决问题。
我不知道问题是什么、但这个链接器文件进入我的处理器进行锁定、请任何人提供帮助?
附加的是链接器文件。
谢谢、
Yishai、
/* ======================================================================= */ /* lnk.cmd -- Linker command file */ /* */ /* Rev 0.0.1 */ /* */ /* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ */ /* */ /* */ /* Redistribution and use in source and binary forms, with or without */ /* modification, are permitted provided that the following conditions */ /* are met: */ /* */ /* Redistributions of source code must retain the above copyright */ /* notice, this list of conditions and the following disclaimer. */ /* */ /* Redistributions in binary form must reproduce the above copyright */ /* notice, this list of conditions and the following disclaimer in the */ /* documentation and/or other materials provided with the */ /* distribution. */ /* */ /* Neither the name of Texas Instruments Incorporated nor the names of */ /* its contributors may be used to endorse or promote products derived */ /* from this software without specific prior written permission. */ /* */ /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */ /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */ /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */ /* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */ /* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */ /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */ /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */ /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */ /* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */ /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */ /* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* */ /* ======================================================================= */ -heap 0x8000 -stack 0xC000 -l C:/PROCESSOR_SDK_RADAR_03_08_00_00/ti_components/algorithms/dsplib_c66x_3_4_0_0/packages/ti/dsplib/lib/dsplib.lib -l C:/PROCESSOR_SDK_RADAR_03_08_00_00/ti_components/algorithms/dsplib_c66x_3_4_0_0/packages/ti/dsplib/lib/dsplib_cn.lib //-l ti/mathlib/lib/mathlib.lib MEMORY { L2SRAM (RWX) : org = 0x40300000, len = 0x80000 DSP1_L2_SRAM : org = 0x40800000, len = 0x48000 MSMCSRAM (RWX): org = 0x80000000, len = 0x200000 } SECTIONS { //.kernel: { // dsplib*<*.o*> (.text:optimized) { SIZE(_kernel_size) } //} .text: load >> L2SRAM .text:touch: load >> L2SRAM GROUP (NEAR_DP) { .neardata .rodata .bss } load > L2SRAM .init_array: load >> L2SRAM .far: load >> MSMCSRAM .dsp1: load >> DSP1_L2_SRAM .fardata: load >> L2SRAM .neardata: load >> L2SRAM .rodata load >> L2SRAM .data: load >> L2SRAM .switch: load >> L2SRAM .stack: load > L2SRAM .args: load > L2SRAM align = 0x4, fill = 0 {_argsize = 0x200; } .sysmem: load > L2SRAM .cinit: load > L2SRAM .const: load > L2SRAM START(const_start) SIZE(const_size) .pinit: load > L2SRAM .cio: load >> L2SRAM xdc.meta: load >> L2SRAM, type = COPY }