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.

[参考译文] CCSTUDIO3:Dis6x 分段故障

Guru**** 2577385 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1195474/ccstudio3-dis6x-segmentation-fault

器件型号:CCSTUDIO3

我在尝试使用 dis6x 时收到此错误。 这可能是因为我们使用 CCS 版本:11.1.0.00011、也可能是因为 dis6x 仅为 ccs1040、不适用于更高版本。

c:\work\tools>dis6x C:\work\flash_kernel_c28x_dual_ex1_c28x1\CPU1_RAM\f2838x_codestartbranch_cpu1.obj

Disassembly of C:\work\flash_kernel_c28x_dual_ex1_c28x1\CPU1_RAM\f2838x_codestartbranch_cpu1.obj:

INTERNAL ERROR: dis6x experienced a segmentation fault

This is caused by a defect in the TI Disassembler.
TI Customer Support may be able to suggest a workaround to avoid this.

Upgrading to the newest version of the compiler may fix this problem.

Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler".  See the link titled
"Submitting an issue".

We need to see this ENTIRE error message and a complete, reproducible
test case including ALL of the command-line options.

谢谢、

John

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

    John、

    我很好奇您是否已经尝试过2000年的试验? 有问题吗?

    C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/dis2000

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

    我在 SPRUI03E - TMS320C6000汇编语言工具 v8.3.x 中找到了 dis6x - 2023年1月修订版。 我在这项最新修订中没有提及2000年的情况,所以我不知道它的存在。

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

    由于您是为 C28x 系统构建、因此需要使用相应的 C2000编译器工具链。  此工具链中的所有可执行文件的名称以2000结尾。  例子包括 cl2000hex2000、当然还有 dis2000。  C28x 编译器手册 和 C28x 汇编工具手册中记录了这些工具。   

    Dis6x 是从工具链中反汇编器、该工具链的形式类似、但用于称为 C6000的不同 CPU 系列。  

    考虑到这一背景... 您的初始错误是尝试从错误的工具链中反汇编具有反汇编器的 C28x 可执行文件。

    谢谢、此致、

    乔治