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.

[参考译文] TDA3MA:TDA3MA 定制电路板器件锁定在硬故障或 NMI 中

Guru**** 656470 points
Other Parts Discussed in Thread: AWR2243, TDA3MA
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1021055/tda3ma-tda3ma-customized-board-device-is-locked-up-in-hard-fault-or-in-nmi

器件型号:TDA3MA
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
}

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    0x40300000和 0x40800000不是正确的 DSP L2存储器地址。

    对于288KB、DSP L2存储器地址为0x800000。 并且、0x8000000是 DDR 地址。

    您可以在 Vision SDK 中找到 PDK 中的一些示例 DSP 链接器命令文件。

    此致、
    斯坦利

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您的回答。 我在 VISION SDK 文件夹中找不到这样的文件、您能帮我找到合适的文件/文件夹吗?

    谢谢、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!  

    有人可以帮帮我吗? 我无法配置链接文件以运行示例代码、任何人都可以为我的代码提供起始工作文件?

    我正在尝试 通过 SPI 为 AWR2243单芯片射频 AFE 设置配置、我正在使用基于 TDA3MA 的客户电路板。

    谢谢大家、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您可以在下面找到链接器命令文件示例。

    ~\PSDK_V_03_08\ti_componels\drivers\pdk_01_10_04_05\packages/ti\CSL\example