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.

TI ARM compiler - acpia470.exe : INTERNAL ERROR: acpia470.exe experienced a segmentation fault while processing

Other Parts Discussed in Thread: CCSTUDIO

Team,

The following error has been reported. Some more details (Compiler version, log message, ..etc) will be added soon:

"I have just updated to CCS V5.1 RC 2. When I try to compile my OMAP_L137 project (ARM core) I get the following error message:
INTERNAL ERROR: C:\Tools\TI\ccsv5\tools\compiler\tms470\bin\acpia470.exe experienced a segmentation fault while processing"

Thanks and best regards,

Anthony

  • Hello,

     

    Anthony asked me to answer some questions to give some more details about this error.

    - Is the CCS 5.1 you use the one listed at the below page (CCS5.1.0.09000 - Nov 3rd)?

    Yes. Altough I downloaded it while it was still named as RC2.

    - Please confirm the:
        - ARM compiler version
        - CCS5 version

    copied from menu Help->About:

    CCS Version: 5.1.0.201110281600   Build id: N201110281600

    ARM Compiler Tools 4.9.1

    - You mentionned line 305 of the log you attached but I have not seen any specific errors at this line? Could you clarify which C file and line is being compiled when the error occurs? Can you provide a reduce test case (ideally 1 single C file)?    

    The error at line 305 of the log reads as following. I replaced my real project path with <project_path>.

     

    [...]

     

    'Building file: <project_path>/src/states.c'
    'Invoking: TMS470 Compiler'
    "C:/Tools/TI/ccsv5/tools/compiler/tms470/bin/cl470" -mv5e -g --gcc --define=SC_DEBUG=1 --define=FLASH_DEBUG --define=CHIP_OMPL138 --define=ARM_DEBUG=0 --include_path="<project_path>/MCU-Volker" --include_path="<project_path>/include" --include_path="<project_path>/inc" --include_path=<project_path>/inc/common" --include_path=<project_path>/sfs" --include_path="<project_path>/mci_drv" --include_path="<project_path>/usbd" --include_path="<project_path>" --include_path="<project_path>/arm" --include_path="<project_path>/include" --include_path="<project_path>/bsp/arm/include" --include_path="<project_path>/bsp/arm/am180x_l13x/include" --include_path="<project_path>/bsp/common/include" --include_path="<project_path>/bsp/arm/am180x_l13x/evmam1808/include" --include_path="C:/Tools/TI/ccsv5/tools/compiler/tms470/include" --diag_warning=225 --display_error_number -me --abi=eabi --code_state=32 --preproc_with_compile --preproc_dependency="src/states.pp" --obj_directory="src"  <project_path>/src/states.c"
    "<project_path>/inc/common/structures.h", line 878: warning #163-D: unrecognized #pragma
    "<project_path>/structures.h", line 1838: warning #163-D: unrecognized #pragma
    "<project_path>/inc/dspcomm.h", line 67: warning #163-D: unrecognized #pragma
    "<project_path>/inc/dspcomm.h", line 102: warning #163-D: unrecognized #pragma
    "<project_path>/inc/setup.h", line 103: warning #163-D: unrecognized #pragma
    "<project_path>/inc/setup.h", line 110: warning #163-D: unrecognized #pragma
    "<project_path>/src/states.c", line 773: warning #552-D: variable "s_u32BootEndTime" was set but never used

    INTERNAL ERROR: C:\Tools\TI\ccsv5\tools\compiler\tms470\bin\acpia470.exe experienced a segmentation fault while
                    processing

    This is a serious problem.  Please contact Customer
    Support with this message and a copy of the input file
    and help us to continue to make the tools more robust.


    >> Compilation failure
    gmake: *** [src/states.obj] Error 1

     

    [...]

     

    The same project compiled well with CCS5.1.0.08000.

    Thank you for any help.


  • Marko Bester said:
    The same project compiled well with CCS5.1.0.08000.

    When the build works, is the compiler version also 4.9.1, or something else?

    We cannot make progress on this issue without a test case that allows us to reproduce that error message.  For tips on doing that, please see the last part of the forum welcome message.

    Thanks and regards,

    -George

  • Hello George,

     

    the working compiler is of version 4.9.0.

    The creation of a sample project will take some time.

    Regards,

    Marko

  • Hi Marko

    When I open  the programs from RDK-IDM-L35  following warring appears in  the error window:

     

    This project was created using a version of compiler that is not currently installed:

    4.9.0 [ARM]. Another version of the compiler will be used during build:

    5.1.6. Please go to <a href="liveaction:OpenAppCenter">CCS App Center</a>

    to install the compiler of the required version, or migrate the project to one of the available

    compiler versions by adjusting project properties.

     

    When I click on CCSApp Center I get the windows with some download programs for CCS6

    I’d like to find compiler 4.9.0 [ARM]. But I do not know, which the windows I can click on.

     

    Can You help me?

     

    The best regards.

    Andrzej M.

  • Hello George,

    I send you  picture of Properties window , where is show following message:

    Compiler TI v 4_9_0 is not currently installed compatible version TI v 5_1_6 will be used during the build

    I think, if I shall download the compiler TI v 4_9_0 the other programs will be run.

    The program Hello World is running. CCS6 found compatible version of compiler.

    But I do not know where can I find the compiler TI v4.9.0?

     

    The best regards

    Andrzej M.

     

  • Andrzej Maciejewski said:
    But I do not know where can I find the compiler TI v4.9.0?

    Use CCS Help -> Install New Software

    Select "Code Generation Tools Updates" in the Work with list box

    Untick "Show only the latest versions of available software"

    You should then be able to select to install ARM Compiler Tools 4.9.0

  • Hello Chester,

    After instalation compiler 4.9.0 [ARM]

    appears message:

    Cannot complete the install because some dependencies are not satisfiable
     com.ti.cgt.tms470.4.9.win32.feature.group [4.9.0] cannot be installed in this environment
     because its filter is not applicable.

    What can I do with filter?

    The best regards.

    Andrzej M.

  • Andrzej Maciejewski said:
    Cannot complete the install because some dependencies are not satisfiable
     com.ti.cgt.tms470.4.9.win32.feature.group [4.9.0] cannot be installed in this environment
     because its filter is not applicable.

    Are you running CCS on Linux?

    If so, in the "Work with" dialog you need to select "Code Generation Tools Updates - http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/p2linux" which is the Linux versions of the code generation tools.

  • Hi Chester,

    I am working with Windows 7.

    I specially bought the new notebook and  the new ccs6.

    I choose: Code Generation Tools Updates - http://softwaredl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/p2win32

    There is not  4.9.0 compiler  in the window "Install"  now there is  only  4.7.1 or 4.9.1.

    Which of them I can install?

    The best regards.

    Andrzej M.

  • We cannot reproduce your installation problem, so we aren't much help with that.

    I'm not certain you really need to use the ARM 4.9.0 compiler.  That RDK-IDM-L35 software you are using was built with that ARM compiler.  You reduce your chances of having problems by using the same compiler version.  But using a later version of the compiler is very likely to work.  For more discussion on this issue, I recommend you start a new thread in the Stellarisware forum.

    Thanks and regards,

    -George

  • Dear George,

    I got compiler 4.9.9 from TI.But  I got message after installation it:

    CORTEX_M3_0: Can't Run Target CPU: (Error -1268 @ 0x90001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.507.0)

    in Console window.

    and message:

    No source available for "SysCtlDelay() at C:/Users\Andrzej\workspace_2\hello\Debug\hello.out:{3} 0xfffffffe{4}"

    in SysCtkDelay() window.

    Then I changed compiler from 4.9.9 on 4.9.0.

    I got the same message like above  and Warring:

     
    This project was created using a version of compiler that is not currently installed: 4.9.9 [ARM].
    Another version of the compiler will be used during build: 4.9.0.
    Please go to <a href="liveaction:OpenAppCenter">CCS App Center</a> to install
     the compiler of the required version, or migrate the project to one of the available
     compiler versions by adjusting project properties.

     

    What can I do now????

    The best regards.

    Andrzej M.


     

  • Andrzej Maciejewski said:
    CORTEX_M3_0: Can't Run Target CPU: (Error -1268 @ 0x90001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.507.0)

    That is too vague a description to work from.  It is likely the the root cause failure happened long before.  While it could be a compiler problem, that is doubtful.  It is much more likely to be a hardware configuration problem.

    Andrzej Maciejewski said:
    No source available for "SysCtlDelay() at C:/Users\Andrzej\workspace_2\hello\Debug\hello.out:{3} 0xfffffffe{4}"

    This means the PC is at an address which corresponds to the function SysCtlDelay.  But the source code for SysCtlDelay cannot be found.

    Andrzej Maciejewski said:
    This project was created using a version of compiler that is not currently installed: 4.9.9 [ARM].
    Another version of the compiler will be used during build: 4.9.0.
    Please go to <a href="liveaction:OpenAppCenter">CCS App Center</a> to install
     the compiler of the required version, or migrate the project to one of the available
     compiler versions by adjusting project properties.

    I'm not sure why you are seeing that message.  You already installed version 4.9.9 through the CCS App Center, correct?  You might need to modify the compiler version you are using.  Please go here for details.

    Thanks and regards,

    -George

  • Hi George,

    Somebody  send me 4.9.9 compiler from TI by upgrades some minutes ago.

    I had this version of compiler and nothing better was not.

    It was even worse .

    CCSv6 with 5.1.5 or 5.1.6 compiler open Hello World! (one of all programs).

    Now i can not open any program.Screen is black.

    I load 4.9.0 compiler  from Windows Help-->Install-->"Code Generation Tools Updates" and I downloaded it, but after install operation appears the same error like in latest e-mail for you.

    Then I do not know load this 4.9.9 compiler second time or not?

    The best regards.

    Andrzej M.

  • Hi George,

    You are right.

    i installed this 4.9.9 compiler the second time.

    There is not warrings and errors in the problem window.

    But same problems are show in the Console windows, which I send you in first e-mail.

    This is other problem .

    I find under Emulation package 5.1.507.0 in WIKI and I downloaded  it to my computer.

    But I do not know can I install it.

    The name is :"ti_emupack_setup_5.1.507"

    The best regards.

    Andrzej M.

     

  • Andrzej Maciejewski said:
    But same problems are show in the Console windows, which I send you in first e-mail.

    I'm not sure which diagnostics you mean.  Please show, by using copy-n-paste, the relevant lines from the Console view.

    Andrzej Maciejewski said:

    I find under Emulation package 5.1.507.0 in WIKI and I downloaded  it to my computer.

    But I do not know can I install it.

    The name is :"ti_emupack_setup_5.1.507"

    Always try to update packages like this from within CCS.  That is likely to go much smoother.  In this particular case ... Did the wiki page which hosts this download describe how to install it?  That's the usual case.

    If none of this is helpful, please start a new thread on this topic in the CCS forum.  We who watch this forum have very little expertise with emulation.

    Thanks and regards,

    -George

  • Hi George,

    But same problems are show in the Console windows, which I send you in first e-mail.

    These are:

    CORTEX_M3_0: Can't Run Target CPU: (Error -1268 @ 0x90001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.507.0)

    in Console window

    and

    No source available for "SysCtlDelay() at C:/Users\Andrzej\workspace_2\hello\Debug\hello.out:{3} 0xfffffffe{4}"

    in SysCtkDelay() window.

    The best regards.

    Andrzej M.

     

  • I've already said everything I can about these diagnostics.

    Andrzej Maciejewski said:
    CORTEX_M3_0: Can't Run Target CPU: (Error -1268 @ 0x90001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.507.0)

    That is too vague a description to work from.  It is likely the the root cause failure happened long before.  While it could be a compiler problem, that is doubtful.  It is much more likely to be a hardware configuration problem.

    Andrzej Maciejewski said:
    No source available for "SysCtlDelay() at C:/Users\Andrzej\workspace_2\hello\Debug\hello.out:{3} 0xfffffffe{4}"

    This means the PC is at an address which corresponds to the function SysCtlDelay.  But the source code for SysCtlDelay cannot be found.

    Thanks and regards,

    -George