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 segmentation fault

Part Number: CCSTUDIO3

I get this error when trying to use dis6x. Perhaps it is because we use CCS Version: 11.1.0.00011 or maybe because dis6x is only ccs1040 and is not meant for later versions.

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.

Thanks,

John

  • John,

    I was curious have you tried dis2000 already? Any issue ?

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

  • I found dis6x in SPRUI03E - TMS320C6000 Assembly Language Tools v8.3.x - REVISED JANUARY 2023. I found no mention of dis2000 in this latest revision so I did not know of its existence.

  • Since you are building for a C28x system, you need to use the corresponding C2000 compiler toolchain.  All of the executables in this toolchain have names that end with 2000.  Examples include cl2000, hex2000, and of course, dis2000.  These tools are documented in two manuals, the C28x compiler manual and the C28x assembly tools manual.  

    dis6x is the disassembler from a toolchain that is similar in form, but is for a different CPU family called C6000. 

    With that background in mind ... Your initial error is that you tried to disassemble a C28x executable with a disassembler from the wrong toolchain.

    Thanks and regards,

    -George