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/DRA72XEVM: Run time exception while loading our image to TI board

Part Number: DRA72XEVM

Tool/software: Code Composer Studio

hi,

below exception message we are getting every time, we don't know of this meaning.

please explain why i am getting below message 

[CortexA15_0] 0x80106a00 R8 = 0x00000001
R1 = 0x00000001 R9 = 0xffffffff
R2 = 0x00000000 R10 = 0x00000000
R3 = 0x00000000 R11 = 0x801c1a8c
R4 = 0x80093c48 R12 = 0x00000004
R5 = 0x00000000 SP(R13) = 0x801c1a78
R6 = 0x80106a00 LR(R14) = 0x8003f3b8
R7 = 0x800f1e4c PC(R15) = 0x8003d190
PSR = 0x200001df
DFSR = 0x00000205 IFSR = 0x00000210
DFAR = 0x00000004 IFAR = 0x00000000
ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x8003d190, lr = 0x8003f3b8.
xdc.runtime.Error.raise: terminating execution.

thanks,

  • Hi Swati,

    can you give more details what SW you try to run?

    Regards,
    Yordan
  • we are tying to run "NIMU_BasicExample_evmDRA75x_armExampleproject" application on DRA7xx (TDA2xx EVM) with ccs v7.
    while running the nimu application immediately we are getting run time exception every time and program terminates.

    [CortexA15_0] 0x80106a00 R8 = 0x00000001
    R1 = 0x00000001 R9 = 0xffffffff
    R2 = 0x00000000 R10 = 0x00000000
    R3 = 0x00000000 R11 = 0x801c1a8c
    R4 = 0x80093c48 R12 = 0x00000004
    R5 = 0x00000000 SP(R13) = 0x801c1a78
    R6 = 0x80106a00 LR(R14) = 0x8003f3b8
    R7 = 0x800f1e4c PC(R15) = 0x8003d190
    PSR = 0x200001df
    DFSR = 0x00000205 IFSR = 0x00000210
    DFAR = 0x00000004 IFAR = 0x00000000
    ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x8003d190, lr = 0x8003f3b8.
    xdc.runtime.Error.raise: terminating execution.

    [waiting for immediate response]

    other installed packages:

    --------------------------------
    Analysis Suite 4.1.0.201612061750 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.0.LTS com.ti.cgt.tms470.15.linux.feature.group Texas Instruments
    Automotive Processor Device Support 1.0.3 com.ti.ccstudio.automotive.devicesupport.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 v8 Compiler Tools 8.1.2 com.ti.cgt.c6000.8.1.linux-x64.feature.group Texas Instruments
    CCS and SAT Common Components Feature 6.2.0.201612021400 com.ti.tools.common.feature.group Texas Instruments
    CCS Documentation 7.0.0.20161213-3 com.ti.ccstudio.doc.linux.feature.group Texas Instruments
    CCS Launcher 7.0.0.20161031 com.ti.ccstudio.launcher.linux.feature.group Texas Instruments
    CCS Utilities 1.0.0.20160210 com.ti.ccstudio.utils.cli.linux.feature.group Texas Instruments
    CCStudio p2 Tool Feature 7.0.0.201611291427 com.ti.ccstudio.p2tool.feature.group Texas Instruments
    Chromium Browser Feature 6.2.0.201612021400 com.ti.chromium.browser.feature.group Texas Instruments
    Code Composer Studio Base Components 7.0.0.01808 com.ti.ccstudio.base.feature.group Texas Instruments
    Code Composer Studio IDE ARM Components 7.0.0.201612021400 com.ti.ccstudio.tms470.feature.group Texas Instruments
    Code Composer Studio IDE C6000 Components 7.0.0.201612021400 com.ti.ccstudio.c6000.feature.group Texas Instruments
    Code Composer Studio IDE C7000 Components 7.0.0.201612021400 com.ti.ccstudio.c7000.feature.group Texas Instruments
    Code Composer Studio IDE Main Feature 6.2.0.201612021400 com.ti.ccstudio.idemain.feature.group Texas Instruments
    Code Composer Studio IDE Workflow 7.0.0.201612021400 com.ti.ccstudio.workflow.feature.group Texas Instruments
    Compiler Tools On-line Documentation 1.1.4 com.ti.cgt.dmed.linux.feature.group Texas Instruments
    CTools Library 2.2.0.00 com.ti.ctoolslib.product_2.2.0.00.feature.group Texas Instruments Inc.
    Debug Server 7.0.0.1808 com.ti.ccstudio.debugserver.linux.feature.group Texas Instruments
    Debug Server Flash 7.0.0.1808 com.ti.dsflash.linux.feature.group Texas Instruments
    dra7xx PDK 1.0.10 com.ti.pdk.dra7xx.product_1.0.10.feature.group Texas Instruments Inc.
    DSPLIB C66x 3.4.0.0 ti.mas.dsplib.c66x_3.4.0.0.feature.group Texas Instruments Inc.
    DVT - Graph Visualization 4.1.0.201612061750 com.ti.dvt2.graph.visualization.feature.group Texas Instruments
    DVT - Profiler Analysis Manager 4.1.0.201612061750 com.ti.dvt2.profileanalysismanager.feature.group Texas Instruments
    DVT - Resource Explorer 4.1.0.201612061750 com.ti.dvt2.resource.explorer.feature.group Texas Instruments
    DVT - System Analyzer 4.1.0.201612061750 com.ti.dvt2.uia.feature.group Texas Instruments
    DVT - Trace Control 4.1.0.201612061750 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.I20160606-1100 org.eclipse.platform.ide Eclipse.org
    EDMA3 2.12.5 com.ti.sdo.edma3.product_02.12.05.feature.group Texas Instruments Inc.
    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 4.9.3.2015q3_20150921 com.ti.gcc.arm.linux.feature.group Texas Instruments
    GEF (MVC) 3.11.0.201606061308 org.eclipse.gef.feature.group Eclipse GEF
    GUI Composer Backplane Feature 6.1.0.201612021400 com.ti.gc.backplane.feature.group Texas Instruments
    GUI Composer Program Model Feature 6.1.0.201612021400 com.ti.gc.pm.feature.group Texas Instruments
    IDE - Debug Server Integration Feature 6.0.1.201612021400 com.ti.debug.server.feature.group Texas Instruments
    Image Analyzer 4.1.0.201612061750 com.ti.dvt2.via.ccs.feature.group Texas Instruments
    IPC (IDE Client) 3.47.1.00 com.ti.rtsc.IPC.product.ui.feature.group Texas Instruments Incorporated
    IPC (Target Content) 3.47.1.00 com.ti.rtsc.IPC.product_3.47.1.00.feature.group Texas Instruments Incorporated
    LWInstaller 7.0.0.00042 com.ti.ccstudio.installer.linux64.feature.group Texas Instruments
    Marketplace Client 1.5.0.v20160608-1804 org.eclipse.epp.mpc.feature.group Eclipse Marketplace Client
    MATHLIB C66x 3.1.1.0 ti.mathlib.c66x_3.1.1.0.feature.group Texas Instruments Inc.
    NDK (IDE Client) 2.26.0.08 com.ti.rtsc.NDK.product.ui.feature.group Texas Instruments
    NDK (Target Content) 2.26.0.08 com.ti.rtsc.NDK.product_2.26.0.08.feature.group Texas Instruments
    Node.js 6.9.1 com.ti.ccstudio.nodejs.linux.feature.group Texas Instruments
    p2appf 6.0.0.201612021400 com.ti.ccstudio.p2appf.feature.group Texas Instruments
    Pin Mux 4.0.1470 com.ti.ccstudio.pinmux.linux.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.201612061750 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.1.22 org.eclipse.rtsc.xdctools.product_3.32.1.22.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.linux.feature.group Texas Instruments
    Spectrum Digital Emulators 6.2.0.02 com.sd.ccstudio.emulation.linux.feature.group Texas Instruments
    SYS/BIOS (IDE Client) 6.52.0.12 com.ti.rtsc.SYSBIOS.product.ui.feature.group Texas Instruments
    SYS/BIOS (Target Content) 6.52.0.12 com.ti.rtsc.SYSBIOS.product_6.52.0.12.feature.group Texas Instruments
    System Analyzer (UIA Target) (IDE Client) 2.21.2.07 com.ti.uia.product.ui.feature.group Texas Instruments
    System Analyzer (UIA Target) (Target Content) 2.21.2.07 com.ti.uia.product_2.21.2.07.feature.group Texas Instruments
    TargetDB Default Props 6.0.0.20131206 com.ti.ccstudio.targetdb.props.default.linux.feature.group Texas Instruments
    TI Cloud Agent 0.5.1057 com.ti.ccstudio.cloudagent.linux.feature.group Texas Instruments
    TI Emulators 6.0.504.0 com.ti.emulation.pack.linux.feature.group Texas Instruments
    TI Target Content 1.0.0.201608011655 com.ti.targetcontent.feature.group Texas Instruments
    TIREX Desktop 3.0.0.137 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.201612061750 com.ti.dvt2.trace.ccs.feature.group Texas Instruments
    XDAIS (IDE Client) 7.24.0.04 com.ti.rtsc.XDAIS.product.ui.feature.group Texas Instruments Inc.
    XDAIS (Target Content) 7.24.0.04 com.ti.rtsc.XDAIS.product_7.24.0.04.feature.group Texas Instruments Inc.
    Xulrunner 24.0.0 com.ti.ccstudio.xulrunner.linux64.feature.group Texas Instruments
  • Hi Swati,

    This thread title says you are having issue on DRA72x EVM but the example you're trying to build is for DRA75x. Please build NIMU test app for DRA72x and it should run on the EVM without issue.

    Thanks,
    Stephen
  • When we are trying with DRA75x NIMU application working fine but we are getting run time exception.

    DRA72x we are getting Ethernet timed out error.

    Thanks,

  • Hi Swati,

    You are pinging 192.168.2.4 which is the wrong IP address. Please try pinging the correct IP address of your target: 192.168.1.4.

    Thanks,
    Stephen
  • Thanks for your quick answer.

    above case is working fine.

    after this, we are calling pthread_create creation, we are facing the same kind of issue


    console log
    ============
    Network Added: If-1:192.168.1.4

    main entered

    pthread start

    pret1:0 sret1:0
    Exception occurred in ThreadType_Task.
    Task handle: 0x80106bc0.
    Task stack base: 0x80106c10.
    Task stack size: 0x800.
    R0 = 0x800ece80 R8 = 0x80107330
    R1 = 0x80107330 R9 = 0x00000000
    R2 = 0x00000001 R10 = 0xffffffff
    R3 = 0x00000000 R11 = 0x801073cc
    R4 = 0x00000090 R12 = 0x00000000
    R5 = 0x800ece74 SP(R13) = 0x80107318
    R6 = 0x800ece80 LR(R14) = 0x8003b770
    R7 = 0x2000015f PC(R15) = 0x8003b3c4
    PSR = 0x600001df
    DFSR = 0x00000a05 IFSR = 0x00000000
    DFAR = 0x00000000 IFAR = 0x00000000
    ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x8003b3c4, lr = 0x8003b770.
    xdc.runtime.Error.raise: terminating execution


    Posix API
    ==========
    pthread_create(&reqThread,NULL,Handler,acceptor);
    sem_wait(&ota_Sem);

    like this we created 3 threads.
    all pthread return was success (0).

    Thanks,
  • Swati,

    It's hard to say what is going on because the NIMU example does not use pthread API. It seems like you have modified the example in some way so we need to understand the changes you've made.

    Generally, a data abort means that the A15 is reading/writing memory which is inaccessible (e.g. through MMU, or bus fault, or otherwise). Specifically in this case, DFSR indicates that its a first-level MMU translation error caused by a write access. The LR indicates the address which the error was generated

    Perhaps you are dereferencing a bad pointer. Do you know what is happening at the LR address?

    Thanks,
    Stephen
  • stephen,

    yes, your understanding is correct,

    We are trying to develop client server application in ti-rtos,we took NIMU example project ,from there we are developing client server code
    Below attached sample code where i have called socket api

    // Below code from NIMU application
    void netOpenHook(void)
    {
    NIMU_log("netOpenHook: SYS/BIOS Ethernet/IP (CPSW) Sample application, EVM IP address: %s\n", LocalIPAddr);
    #ifdef NIMU_DUAL_MAC_MODE
    NIMU_log("netOpenHook: SYS/BIOS Ethernet/IP (CPSW) Sample application, EVM IP address 2: %s\n", ip2Addr);
    #endif

    SOCKET m_lsds = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
    NIMU_log("sockect id %d",m_lsds);

    }


    But socket call always return -1.
    1.Is socket() calling is in right place??
    2.With NIMU ping application can we call socket API
    3.our aim is to create client server application using tcp/ip ,Can we use NIMU application as base??
    4 we are using TDA2xx evm (DRA7XX ) board ,any sample tcp/ip client server application with configuration file available or is there any way to generate the configuration file for this hardware .

    [Important]

    Thanks,
  • Hi Swati,

    I see you are asking the same questions here as in your other thread related to socket use: https://e2e.ti.com/support/processors/f/791/t/782389.  If the crash is resoled at this point, please mark this as resolved and track the socket usage issues in the other thread.

    Thanks,
    Stephen

  • Hi Stephen,

    We are waiting for reply for this e2e.ti.com/.../782389. ,can you please help in getting quiker reply.

    Thanks,
    Swati
  • Hi Swati,

    The expert is already assigned to that thread. There is not much more I can contribute here - we will need to wait for reply there.

    Thanks,
    Stephen