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.

[参考译文] CCS/TMDSEVM437X:内部 RAM 中的代码调试问题

Guru**** 2564390 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/596311/ccs-tmdsevm437x-debug-issue-with-code-in-internal-ram

器件型号:TMDSEVM437X

工具/软件:Code Composer Studio

您好!  

 我有一个裸机代码(hello world),我尝试使用 JTAG 对其进行调试。 我当前卡在 JTAG 连接上的错误如下:

"CortexA9:连接到目标时出错:(错误-1322 @ 0x30080)器件无法进入调试/暂停模式、因为调试寄存器已锁定。 对电路板进行下电上电。 如果错误仍然存在、请确认配置和/或尝试更可靠的 JTAG 设置(例如、较低的 TCLK)。 (仿真包6.0.576.0)"

下面是我要做的:

1.我将目标配置(CCXML 文件) XDS200->DAP->CS_DAP_DEBUG->MPUSS->CortexA9 ->地址更改为 0x40300000

2.我已修改 lds 文件:将所有段移动到 L3OCMC0 (我还尝试了 SRAM 和 L2高速缓存)。 我还检查了映射文件,所有部分都位于正确的区域:

例如:  

.bss 0x403008dc 0x0 c:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-ar/thumb/crti.o
.bss 0x403008dc 0x1c:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-ar/thumb/crtbegin.o
.bss 0x403008f8 0x0 c:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-ar/thumb/crt0.o
.bss 0x403008f8 0x0 ./main.o
.bss 0x403008f8 0x0 ./startup_ARMCA9.o  

.r速 记0x40300000 0x70
0x40300000。 =对齐(0x10000)
*(.isr_vector)
.isr_vector 0x40300000 0x50 ./startup_arMCA9.o
0x40300000 _ISR_vector
0x4030004e DEF_IRQHandler
* STARTUP_ARMCA9.o (.text)

3.启动调试

它不会到达初始化阶段(加载 GEL)。 我认为在尝试加载到内部 RAM 时失败了。

它是否支持在没有任何 NOR/NAND/DDR/SD 选项的情况下将程序加载到内部 RAM 中

谢谢

韦恩

 

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

    AM437x 团队已收到通知。 他们将在这里作出回应。