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.

Disassembly tool for ccs5.4

Hello, I found a disassembly tool for ccs5.5 named dis55.exe, but it can't parse the bin file which gernerated by ccs5.4. Please tell me what's th disassembly tool for ccs5.4?

  • From looking at your other recent post, I conclude you build for a TM4C device and thus use the TI ARM compiler.  The standalone disassembler for the ARM is called armdis.exe.  It is in the same directory as all the other compiler tools.  A typical directory location is ...

    C:\ti\ccsv6\tools\compiler\ti-cgt-arm_5.2.4\bin

    The input to the disassembler is not the raw binary file, but the final_executable.out file created by the linker.

    Thanks and regards,

    -George

  • Hi George, thank you for your reply.
    I found the armdis.exe in C:\ti\ccsv5\tools\compiler\arm_5.0.4\bin。According to your point of view,the .bin file can't be disassemled? I only burn the .bin file on the TM4C device , even if a hacker get the device, my code is still safe?
  • A binary file can be disassembled; for instance, if the program is loaded up in CCS, it will show the disassembly. A third party could write a tool that could disassemble it from the command line. However, the existing tool armdis.exe cannot read the .bin format.
  • Thank you for your reply.
    How can I load the bin file in CCS and show the disassembly? Is there some other existing tools in CCS can disassemble the .bin format?
  • I don't think there are any tools shipped as part of CCS that could disassemble a .bin format.
    You would need to load the .bin through whatever method you would normally use a .bin file; perhaps a FLASH programmer?
  • Jason Liu2 said:
    How can I load the bin file in CCS

    Use the menu selection Tools -> Load Memory.  One of the file formats accepted is a binary file.  

    Jason Liu2 said:
    and show the disassembly?

    Once the memory is loaded, you can enter the start address in the text box on the upper left of the disassembly view.

    Thanks and regards,

    -George