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.

CCSv3.1 : cc_app.Exe The application failed to initialize properly (0xc0000005)



Hi

( .. Help !.. )

I get this error message  since this morning. :

CCSv3.1 : cc_app.Exe The application failed to initialize properly (0xc0000005)

 

The last time I encountered it, I did not find the issue. And I had to format and reinstall.

I try a system restoration without success.

 Any help would be greatly  welcomed

Thanks for all

  • Pierre,

    This is a message from the Windows exception handler, therefore it is a very generic message that can indicate several possible issues with your installation. I recall having a similar scenario a long time ago with a slightly different version of CCS (2.2 at that time) - it was caused by a disk corruption on the <cc_app.exe> file that forced me to reinstall CCS.

    Since you mentioned that a System Restore did not work, I think that disk corruption can be a plausible cause. Otherwise any corrupt registry keys would be restored after reverting your system to a previous state.

    Maybe someone else can ping with additional ideas...

    Hope this helps,

    Rafael

    P.S. I deleted the other identical post 

  • Pierre,

    There was one known issue in older versions of CCS including CCS 3.1 that resulted in this type of error (defect # SDSCM00008016). The issue was fixed in CCS 3.3. Are you able to update to CCS 3.3? That would be the recommended solution. If that is not an option, let me know and I could send you a dll to try out that you would need to replace in your installation.

  • Thanks for your answers.

    I do not understand the problem

    - I check for disk error : none (The Hard Disk is new < 15 days)

    - I change Ram : Same Error.

    - If i desinstall CCSv4 ( MSP430 licence) and reinstall it. CCSv3.1  works for a while. (Do not know why).

    (simply desinstall /reboot / and resintall CCSV3.1 does not solve the problem)

    I compare System32 directory before and after resintallation : no significant differents

    I made a Registry BAckup with Erunt, (when CCSv3.1 works).

    This morning I have the same error : I restore the registry without success.

     

  • hi Pierre,

     

    Do you have the error when you launch CCS? since you said it works for a while and after it did not, did you check the last exit was ok? i.e. do you see some existing cc_app.exe process running ( in the task manager) before you 're launching CCS?

    regards

  • Yes

    I check-it. No  instance of ccs_app.exe when  I launch it .

     

    I just desinstall and resintall CCSV4 and CCSV3.1 starts now correctly (until next reboot ?)

    I made a snapshot with Total uninstall (freew<are edition) to see  what could be the changes

    1: CCSV4 already installed  and CCSV3.1 doest not start

    2: System  Files and Registry snapshot

    3: Desinstall and resinstall CCSV4 : CCSV3.1 starts normally

    4: System Files and Registry snapshot.

    For whom are interested , differences report can be found here

    http://e2e.ti.com/cfs-filesystemfile.ashx/__key/CommunityServer.Discussions.Components.Files/81/0412.CCS.txt

     or here

    http://cjoint.com/data/iklghI0YlB.htm

     

     

     

     

  •  Do you update the enviroment variables?

    I guess at least TI_DIR is needed

    Did you re launch the ccs init prior to launch ccs? are you using a simulator or a board? If simulator, you can maybe track the error if ther eis a trace flag in the simulator config file..

  •  

     Do you update the enviroment variables?

    [/quote]

    No I do not. But I will check  them on next error.

    Claudio said:

     

    Did you re launch the ccs init prior to launch ccs? are you using a simulator or a board? If simulator, you can maybe track the error if ther eis a trace flag in the simulator config file..

    If you mean cc_setup.exe , not  i do not relaunch it.  I am using  USB XDS510 Emulator with a TMS320C5409A

    What i did not try is to remove the configuration from CCS Setup (no board / no target) and relaunch cc_app.exe to see if this error happens

     

     

  • Claudio said:

     Do you update the enviroment variables?

    I guess at least TI_DIR is needed

    Did you re launch the ccs init prior to launch ccs? are you using a simulator or a board? If simulator, you can maybe track the error if ther eis a trace flag in the simulator config file..

     

    Bingo.

    After Reboot , same Error Message.

    Setting TI_DIR vaiable solves problem.

    could it be possible that CCSV4 suppress this environement variable ?

     Thanks to all for your help

    (back to business)

  • for sure when installing ccsv4 the TI_DIR needs to reflect this install.

    If you need to go with the 2 versions, you can always create a batch file that sets the environment variable to the correct value prior to launch ccs.

    something like

    ccsv3.bat

    set TI_DIR=<ccs v3 install dir>

    call %TI_DIR%/<cc_app.exe

     

    and same for ccsv4.bat

    set TI_DIR=<ccs v4 install dir>

    call %TI_DIR%/<cc_app.exe

  • Unfortunaly, I have the same error message this Morning

    TI_DIR variable is correctly set

    echo %TI_DIR%=c:\CCSStudio_v3.1

    (Installation Path)

     

     

     

  • If I suppress TI_DIR from system properties and relaunch CCSV3.1, it works

    I do not understand.

     

  • After Reboot , I have to set  any environnment variable through Windows  system properties to start correctly CCS.

    If i do not, I have the 'failed to initizialise application' Message. CCS Starts even if TI_DIR is not defined.

     

  • Hi ALL

    The problem comes with the __COMPAT_LAYER environnement variable

    This variable does not appear (on my computer) in the system properties. The  'Set'  command displays it

    At startup __COMPAT_LAYER=DisableNXSShowUI

    CCS failed to initialize properly.

    If i remove this variable (from a command line)  and run cc_app.exe (from this same command line). CCS starts.

    If I update environment variable through the system properties (any dumb variable), __COMPAT_LAYER is destroyed, And CCS starts normally

     

  • Hi All,

    I know this is an old thread but recently I bumped into a similar problem

    I tried reinstalling, cleaning registry, putting TI_DIR in the environment variables to no luck. I still get the same "cc_app.exe the application was unable to start correctly (0xc0000005)" error.

    The difference might be that I'm using a Win 7 Enterprise 32-bit here. Will it be different? Should I set something else if I install this in win 7?

    Just to check, putting TI_DIR means add a new variable named TI_DIR with the value of installation folder in the system variables, right? If that's so, then I already tried it.

    Is there any suggestion?

    Thanks before,

    Fajar