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/DRA756: CCSv7.3 can't find source files for A15 (on DRA75x), and can't set breakpoints when importing makefile project

Part Number: DRA756
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

When importing a project into CCS with the option "existing code as a Makefile project", CCS is unable to find source files for the A15 core.  They need to be manually added with the source location.  After doing so, breakpoints do not work in CCS for the A15 source files.  It is possible to set breakpoints in the disassembly window, but not at the source level.  All other cores work perfectly in this case (C66_0, C66_1, IPU1, IPU2), so the issue is isolated to the A15 source only.

Is there some CCS setting needed or GCC compiler option?  Perhaps there is something related to GCC outputs as all other cores are using TI CGT.  Appreciate any inputs on getting this to work.

Regards,

Eric

Here are some system settings:

Analysis Suite  4.1.0.201708101502       com.ti.dvt2.analysis.suite.feature.group               Texas Instruments

  ARM Compiler Help      16.9.0.20161026170303               com.ti.cgt.arm.16.9.help.feature.group               Texas Instruments

  ARM Compiler Tools    16.9.4.LTS           com.ti.cgt.tms470.16.win32.feature.group          Texas Instruments

  Automotive Processor Device Support  1.0.5               com.ti.ccstudio.automotive.devicesupport.feature.group             Texas Instruments

  Blackhawk Emulators   6.0.83.003          com.bh.ccstudio.emulation.win32.feature.group               Texas Instruments

  C/C++ Development Tools        9.0.0.201606062011       org.eclipse.cdt.feature.group     Eclipse CDT

  C/C++ GCC Cross Compiler Support       9.0.0.201606062011               org.eclipse.cdt.build.crossgcc.feature.group        Eclipse CDT

  C/C++ Memory View Enhancements     9.0.0.201606062011               org.eclipse.cdt.debug.ui.memory.feature.group                Eclipse CDT

  C/C++ Remote Launch 9.0.0.201606062011       org.eclipse.cdt.launch.remote.feature.group               Eclipse CDT

  C6000 7.4.0 Help Feature          7.4.0.201303051055               com.ti.cgt.c6000.7.4.help.feature.group               Texas Instruments

  C6000 Multicore Device Support            1.0.5               com.ti.ccstudio.c6000mc.devicesupport.win32.feature.group     Texas Instruments

  C6000 v8 Compiler Tools           8.1.4      com.ti.cgt.c6000.8.1.win32.feature.group            Texas Instruments

  CCS and SAT Common Components Feature      7.2.0.201708221200               com.ti.tools.common.feature.group       Texas Instruments

  CCS Documentation      7.3.0.20170901 com.ti.ccstudio.doc.win32.feature.group             Texas Instruments

  CCS Launcher   7.0.0.20161020 com.ti.ccstudio.launcher.win32.feature.group    Texas Instruments

  CCS Utilities      1.0.0.20160210 com.ti.ccstudio.utils.cli.win32.feature.group       Texas Instruments

  CCStudio p2 Tool Feature          7.0.0.201611291427       com.ti.ccstudio.p2tool.feature.group               Texas Instruments

  Chromium Browser Feature      7.3.0.201708221200               com.ti.chromium.browser.feature.group              Texas Instruments

  Code Composer Studio Base Components          7.3.0.01031               com.ti.ccstudio.base.feature.group         Texas Instruments

  Code Composer Studio IDE ARM Components  7.3.0.201708221200               com.ti.ccstudio.tms470.feature.group    Texas Instruments

  Code Composer Studio IDE C6000 Components              7.3.0.201708221200               com.ti.ccstudio.c6000.feature.group       Texas Instruments

  Code Composer Studio IDE C7000 Components              7.3.0.201708221200               com.ti.ccstudio.c7000.feature.group       Texas Instruments

  Code Composer Studio IDE Main Feature           7.3.0.201708221200               com.ti.ccstudio.idemain.feature.group   Texas Instruments

  Code Composer Studio IDE Workflow   7.3.0.201708221200               com.ti.ccstudio.workflow.feature.group               Texas Instruments

  Compiler Tools On-line Documentation              1.1.5      com.ti.cgt.dmed.win32.feature.group               Texas Instruments

  Debug Server   7.3.0.1031          com.ti.ccstudio.debugserver.win32.feature.group            Texas Instruments

  Debug Server Flash       7.3.0.1031          com.ti.dsflash.win32.feature.group         Texas Instruments

  DVT - Graph Visualization          4.1.0.201708101502               com.ti.dvt2.graph.visualization.feature.group     Texas Instruments

  DVT - Profiler Analysis Manager             4.1.0.201708101502               com.ti.dvt2.profileanalysismanager.feature.group            Texas Instruments

  DVT - Resource Explorer            4.1.0.201708101502               com.ti.dvt2.resource.explorer.feature.group       Texas Instruments

  DVT - System Analyzer 4.1.0.201708101502       com.ti.dvt2.uia.feature.group     Texas Instruments

  DVT - Trace Control      4.1.0.201708101502       com.ti.dvt2.trace.control.feature.group Texas Instruments

  Eclipse Git Team Provider          4.4.0.201606070830-r    org.eclipse.egit.feature.group    Eclipse EGit

  Eclipse Help System      2.2.0.v20160606-1100   org.eclipse.help.feature.group   Eclipse.org

  Eclipse Platform            4.6.0.I20160607-1100    org.eclipse.platform.ide               Eclipse.org

  Equinox p2, Discovery UI support           1.0.400.v20160504-1450               org.eclipse.equinox.p2.discovery.feature.feature.group  Eclipse.org - Equinox

  Equinox p2, Provisioning for IDEs.         2.2.200.v20160606-1311               org.eclipse.equinox.p2.user.ui.feature.group       Eclipse.org - Equinox

  GCC ARM Compiler Tools          6.3.1.2017-q1-update-b               com.ti.gcc.arm.win32.feature.group       Texas Instruments

  GEF (MVC)        3.11.0.201606061308     org.eclipse.gef.feature.group     Eclipse GEF

  Graphical Modeling Framework (GMF) Runtime Third-Party Components               1.10.0.201606071959     org.eclipse.gmf.runtime.thirdparty.feature.group             Eclipse Modeling Project

  GUI Composer Backplane Feature          6.1.0.201708221200               com.ti.gc.backplane.feature.group          Texas Instruments

  GUI Composer Program Model Feature              7.2.0.201708221200               com.ti.gc.pm.feature.group        Texas Instruments

  IDE - Debug Server Integration Feature               6.0.1.201708221200               com.ti.debug.server.feature.group          Texas Instruments

  Image Analyzer              4.1.0.201708101502       com.ti.dvt2.via.ccs.feature.group             Texas Instruments

  Keystone1         1.0.13.0               com.ti.emulation.keystone1.win32.feature.group             Texas Instruments

  Keystone2         1.1.9      com.ti.emulation.keystone2.win32.feature.group             Texas Instruments

  LWInstaller       7.3.0.00019        com.ti.ccstudio.installer.win32.feature.group      Texas Instruments

  Marketplace Client       1.5.0.v20160608-1804   org.eclipse.epp.mpc.feature.group          Eclipse Marketplace Client

  MSVC 2005 Redistributable       6.0.2900.2180               com.ti.ccstudio.installer.msvc.2005.win32.feature.group              Texas Instruments

  Node.js              6.9.1      com.ti.ccstudio.nodejs.win32.feature.group        Texas Instruments

  OMAP Device Support  1.0.9      com.ti.ccstudio.omap.devicesupport.win32.feature.group               Texas Instruments

  p2appf               7.3.0.201708221200       com.ti.ccstudio.p2appf.feature.group     Texas Instruments

  Pin Mux             4.0.1470              com.ti.ccstudio.pinmux.win32.feature.group       Texas Instruments

  Remote System Explorer End-User Runtime      3.7.1.201603211627               org.eclipse.rse.feature.group      Eclipse TM Project

  ROV     4.1.0.201708101502       com.ti.dvt2.rov.feature.group    Texas Instruments

  RTSC/XDCtools (IDE Client)        3.50.3.33               org.eclipse.rtsc.xdctools.product.ui.feature.group            Texas Instruments

  RTSC/XDCtools (Target Runtime Support)           3.50.3.33               org.eclipse.rtsc.xdctools.product_3.50.3.33.feature.group            Texas Instruments

  RTSC/XDCtools (Target Runtime Support)           3.32.2.25               org.eclipse.rtsc.xdctools.product_3.32.2.25.feature.group            Texas Instruments

  RXTX End-User Runtime             2.1.8.0_201606281300  gnu.io.rxtx.feature.group               RXTX.org

  Shared Device Support               1.0.9               com.ti.ccstudio.shared.devicesupport.win32.feature.group          Texas Instruments

  TargetDB Default Props              6.0.0.20131206               com.ti.ccstudio.targetdb.props.default.win32.feature.group        Texas Instruments

  TI Cloud Agent 0.5.1462              com.ti.ccstudio.cloudagent.win32.feature.group              Texas Instruments

  TI Emulators     7.0.48.0               com.ti.emulation.pack.win32.feature.group        Texas Instruments

  TI Target Content          1.0.0.201708091010       com.ti.targetcontent.feature.group         Texas Instruments

  TIREX Desktop 3.5.0.201708181337       com.ti.tirex.feature.group           Texas Instruments

  TM Terminal    4.1.0.201606052351       org.eclipse.tm.terminal.feature.feature.group               Eclipse.org - Target Management

  Trace Analyzer 4.1.0.201708101502       com.ti.dvt2.trace.ccs.feature.group        Texas Instruments

  XDCtools Core Update Feature               3.32.2.25               com.ti.xdctools_3_32.update.feature.group        Texas Instruments

  • Eric,

    I don't have a DRA75x board, but perhaps this may happen with other devices. What is the project you are trying to use?

    Also, are you using Linux or Windows? I know there were some severe issues with breakpoints and Linux versions of CCS in a somewhat recent past (CCSv6.2.0, CCSv7.1.0) but these should have been fixed in 7.3.0.

    Regards,
    Rafael
  • Hi Rafael,

    This is a based on customer multi-core projects in an external make system. 

    This is for Windows.  Also, this has been seen on multiple PC's now, so not isolated to one setup.

    You can use AM572x EVM as it should provide the same results (and potentially other similar A15 SoC devices).  The issue seems to be isolated to A15 w/GCC tools.  So starting with a single core A15 external project may be a reasonable way to reproduce.

    Let me know if you need additional info.  Thanks for the help.

    Regards,
    Eric

  • Eric,

    I am not entirely sure if I can reproduce this issue; please check the (somewhat long) clip below with the procedure of loading code to the A15_0 and finding the corresponding source files for the debug session. 

    I am not very familiar with these examples (nor I have a complete Vision EVM with me), but hopefully that shows an illustration of the behaviour in my system. 

    If your customer is still seeing this issue, perhaps you can ask them to go through the sections 4 and 6 of the CCSv7 Troubleshooting page at:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv7 

    Hope this helps,

    Rafael

  • Hi Rafael,

    The video shows exactly the problem we have:
    You have to manually locate the file before setting the breakpoint. If you try to set it before location of the source file the debbugger won't stop on it.

    This problem was also observed on previous releases of CCS (6.x and 7.x).

    Andrzej
  • Andrzej,

    I really don't know if the debugger was supposed to automatically locate the specific source file, as it is highly dependent on how the debug information was coded in the executable. I will inquiry the debug team but keep in mind this may not be possible to solve without other implications.

    Regards,
    Rafael