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/LAUNCHXL-CC2650: Build gets stuck at 25%

Part Number: LAUNCHXL-CC2650


Tool/software: Code Composer Studio

Hi, I was running a ProjectZero-based application, trying to introduce some features described here. Suddenly, I couldn't build any more. Build process gets stuck at 25% and I can only cancel it. Aparently, that happens when it is trying to execute the command: "C:\ti\ccsv7\utils\bin\gmake -j -k all -O".

When I cancel it, the output Console says:

**** Build of configuration Debug for project mt8442_cc2650launchxl ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -j -k all -O 
gmake[1]: Entering directory 'C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Debug'
'Building file: ../TOOLS/app_ble_uartlog.cfg'
'Invoking: XDCtools'
"C:/ti/tirex-content/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/packages;C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages;C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/uia_2_00_05_50/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Profiles\" --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Application\" --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/ICallBLE\" --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Startup\" --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Board\" --include_path=\"C:/ti/simplelink_academy_01_09_00_0000/modules/projects/support_files/Components/uart_log\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/examples/simple_peripheral/cc26xx/app\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/icall/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/roles\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/dev_info\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/simple_profile/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/simple_profile\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/heapmgr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/controller/cc26xx/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/target/_common\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/target\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/osal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/services/src/sdata\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/services/src/saddr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/icall/src/inc\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/cc26xxware_2_23_03_17162\" --include_path=\"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/include\" -g --c99 --gcc --define=USE_ICALL --define=POWER_SAVING --define=SBP_TASK_STACK_SIZE=700 --define=GAPROLE_TASK_STACK_SIZE=520 --define=HEAPMGR_SIZE=0 --define=Display_DISABLE_ALL --define=BOARD_DISPLAY_EXCLUDE_UART --define=xBOARD_DISPLAY_EXCLUDE_LCD --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_MAX_NUM_ENTITIES=6 --define=xdc_runtime_Assert_DISABLE_ALL --define=Xxdc_runtime_Log_DISABLE_ALL --define=MAX_NUM_BLE_CONNS=1 --define=CC26XX --define=xdc_FILE=\"\"\"\" --define=UARTLOG_NUM_EVT_BUF=32 --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on  " "../TOOLS/app_ble_uartlog.cfg"
      4 [main] ? (1356) C:\ti\tirex-content\xdctools_3_32_00_06_core\bin\sh.exe: *** fatal error - system shared memory version mismatch detected - 0x75BE009C/0x8A88009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.

**** Build of configuration Debug for project mt8442_cc2650launchxl ****

!CommandLauncher.error.commandCanceled!
Error: Program "C:/ti/ccsv7/utils/bin/gmake" is not found in PATH

PATH=[C:\ti\ccsv7\ccs_base\common\bin;C:\ti\ccsv7\ccs_base\common\uscif;C:/ti/ccsv7/eclipse/jre/bin/client;C:/ti/ccsv7/eclipse/jre/bin;C:/ti/ccsv7/eclipse/jre/lib/i386;C:\ti\ccsv7\ccs_base\common\bin;C:\ti\ccsv7\ccs_base\common\uscif;C:/ti/ccsv7/eclipse/jre/bin/client;C:/ti/ccsv7/eclipse/jre/bin;C:/ti/ccsv7/eclipse/jre/lib/i386;D:\app\Oracle\product\12.1.0\dbhome_1\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit-32;C:\Program Files (x86)\Subversion\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Flash Magic;C:\Program Files (x86)\HI-TECH Software\PICC-18\PRO\9.63\bin;C:\Program Files (x86)\Microchip\MPLAB C32 Suite\bin;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;D:\xampp\mysql\bin;D:\xampp\php;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_79\bin;C:\Users\Esteban\AppData\Local\Android\sdk\platform-tools;C:\Users\Esteban\AppData\Local\Android\sdk;C:\Users\Esteban\AppData\Local\Programs\Python\Python35-32;C:\Program Files (x86)\nodejs\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Microsoft SQL Server Migration Assistant for MySQL\bin\;C:\Program Files\Git\cmd;C:\ProgramData\ComposerSetup\bin;C:\Users\Esteban\AppData\Roaming\npm;C:\Program Files (x86)\Nmap;C:\Users\Esteban\AppData\Roaming\Composer\vendor\bin;c:\ti\ccsv7\eclipse;;C:\ti\ccsv7\eclipse;]

**** Build Finished ****


And the "Problems" windows says:

Description Resource Path Location
Type
Program "C:/ti/ccsv7/utils/bin/gmake" is not found in PATH Program "C:/ti/ccsv7/utils/bin/gmake" is not found in PATH
app_ble_uartlog.cfg
/mt8442_cc2650launchxl/TOOLS
C/C++ Problem


Here is what I did:
  • I undid all the changes and restored the application to a stable version.
  • I uninstalled the antivirus.
  • I updated the CCS from Version 6.2.0.00050 to Version 7.3.0.00019 but I did not delete the old version.

Everything remains the same.

Anyone has been in this situation? I need to solve this issue as soon as possible. Thank you for reading.


**** Build of configuration Debug for project mt8442_cc2650launchxl ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -j -k all -O gmake[1]: Entering directory 'C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Debug''Building file: ../TOOLS/app_ble_uartlog.cfg''Invoking: XDCtools'"C:/ti/tirex-content/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/packages;C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages;C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/uia_2_00_05_50/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Profiles\" --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Application\" --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/ICallBLE\" --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Startup\" --include_path=\"C:/Users/Esteban/Documents/GitHub/workspace_ccsv7/mt8442_cc2650launchxl/Board\" --include_path=\"C:/ti/simplelink_academy_01_09_00_0000/modules/projects/support_files/Components/uart_log\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/examples/simple_peripheral/cc26xx/app\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/icall/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/roles\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/dev_info\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/simple_profile/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/simple_profile\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/heapmgr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/controller/cc26xx/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/target/_common\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/target\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/osal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/services/src/sdata\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/services/src/saddr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/icall/src/inc\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/cc26xxware_2_23_03_17162\" --include_path=\"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/include\" -g --c99 --gcc --define=USE_ICALL --define=POWER_SAVING --define=SBP_TASK_STACK_SIZE=700 --define=GAPROLE_TASK_STACK_SIZE=520 --define=HEAPMGR_SIZE=0 --define=Display_DISABLE_ALL --define=BOARD_DISPLAY_EXCLUDE_UART --define=xBOARD_DISPLAY_EXCLUDE_LCD --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_MAX_NUM_ENTITIES=6 --define=xdc_runtime_Assert_DISABLE_ALL --define=Xxdc_runtime_Log_DISABLE_ALL --define=MAX_NUM_BLE_CONNS=1 --define=CC26XX --define=xdc_FILE=\"\"\"\" --define=UARTLOG_NUM_EVT_BUF=32 --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on  " "../TOOLS/app_ble_uartlog.cfg"      4 [main] ? (1356) C:\ti\tirex-content\xdctools_3_32_00_06_core\bin\sh.exe: *** fatal error - system shared memory version mismatch detected - 0x75BE009C/0x8A88009C.This problem is probably due to using incompatible versions of the cygwin DLL.Search for cygwin1.dll using the Windows Start->Find/Search facilityand delete all but the most recent version.  The most recent version *should*reside in x:\cygwin\bin, where 'x' is the drive on which you haveinstalled the cygwin distribution.  Rebooting is also suggested if youare unable to find another cygwin DLL.
**** Build of configuration Debug for project mt8442_cc2650launchxl ****
!CommandLauncher.error.commandCanceled!Error: Program "C:/ti/ccsv7/utils/bin/gmake" is not found in PATH
PATH=[C:\ti\ccsv7\ccs_base\common\bin;C:\ti\ccsv7\ccs_base\common\uscif;C:/ti/ccsv7/eclipse/jre/bin/client;C:/ti/ccsv7/eclipse/jre/bin;C:/ti/ccsv7/eclipse/jre/lib/i386;C:\ti\ccsv7\ccs_base\common\bin;C:\ti\ccsv7\ccs_base\common\uscif;C:/ti/ccsv7/eclipse/jre/bin/client;C:/ti/ccsv7/eclipse/jre/bin;C:/ti/ccsv7/eclipse/jre/lib/i386;D:\app\Oracle\product\12.1.0\dbhome_1\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit-32;C:\Program Files (x86)\Subversion\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Flash Magic;C:\Program Files (x86)\HI-TECH Software\PICC-18\PRO\9.63\bin;C:\Program Files (x86)\Microchip\MPLAB C32 Suite\bin;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;D:\xampp\mysql\bin;D:\xampp\php;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_79\bin;C:\Users\Esteban\AppData\Local\Android\sdk\platform-tools;C:\Users\Esteban\AppData\Local\Android\sdk;C:\Users\Esteban\AppData\Local\Programs\Python\Python35-32;C:\Program Files (x86)\nodejs\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Microsoft SQL Server Migration Assistant for MySQL\bin\;C:\Program Files\Git\cmd;C:\ProgramData\ComposerSetup\bin;C:\Users\Esteban\AppData\Roaming\npm;C:\Program Files (x86)\Nmap;C:\Users\Esteban\AppData\Roaming\Composer\vendor\bin;c:\ti\ccsv7\eclipse;;C:\ti\ccsv7\eclipse;]
**** Build Finished ****

  • I also run the next command to include gmake path on windows PATH:

    set PATH=%PATH%;C:\ti\ccsv7\utils\bin\

    By the way, I forgot this info:

    • OS: Windows 7 64-bit, Service Pack 1
    • Debug Probe: LAUNCHXL-CC2650 XDS100



  • Martin, 

    Could you please take a look at the related threads here and here, and see if they help? 

    In one instance, the error was due to incompatible version of cygwin that was installed with another toolset. In the other, cleaning the workspace helped resolve the error.

  • AartiG, thanks for your answer.

    I've already seen that post,I forgot to mention.

    I tell you what I've just done:

    • I downloaded and instaled last version of cygwin for Win64 in the same path where it was previously. Should I signal someway to CCS of this?
    • I delete ".metadata" folder and also the project folder from workspace in order to clean up it. Then I imported my project again.

    I found a new symptom. I can not open app_ble_uartlog.cfg file with XGCONF tool. CSS gets stuck here too. I can open it with text editor.

    When I was trying to delete project folder after close CCS, Windows Explorer doesn't allow me to do it, I open Task Manager and I founded 3 instances of gmake running. I'm not sure if this is helpfull, Just in case I share it.

    In conclusion, the problem persists. What else could I check?

    Thanks again.

  • Do you see the issue when building only your custom project or does it happen also when building example projects from the SDK?

    Martin Gleria said:
    I can not open app_ble_uartlog.cfg file with XGCONF tool. CSS gets stuck here too. I can open it with text editor.

    Have you tried right-clicking on the file and selecting Open with -> XGONF?

  • AartiG said:

    Do you see the issue when building only your custom project or does it happen also when building example projects from the SDK?

    I haven't tried with examples projects, but I tried with a previos functional version of my project. Tomorrow morning I will try with examples from the SDK.

    AartiG said:

    Have you tried right-clicking on the file and selecting Open with -> XGONF?

    Yes, that doesn't work.

  • AartiG,

    Finally I could build and debug again.

    I downloaded "HelloWorld Project" from Resource Explorer and built it without any problem. After that, I "magically" could build my project again and also I could open again the *.cfg file with XGCONF tool (using CCSv7, I haven't tried with CCSv6 yet). 

    Any idea what caused this inconvenience?

    Regards

  • I'm in trouble again.
    I tried to modify a semaphore instanstiated by XGCONF and building stopped working again. But now it stoped working at 1%, intead 25%.
    I tried to repeat the actions that solved my problem before:
    -Clean workspace
    -Download an Example from Resource Explorer (HelloWorldExample)
    -Build it
    But this time, this is not solving my issue.
    The problem is presented in CCSv6 and CCSv7 in the same way and in both cases it appeared after using the XGCONF tool.
    What is going on? I need help please!
  • Now, when I tried to build, it gets stucked at 1% of process progress, and console output says:

    And after cancel the process:

    Anybody has an idea why is this happening and how could I solve once for all?

  • Martin,

    It seems to be something specific to your environment/PC settings.

    As indicated in the message, do you have another version of cygwin installed? If so, where, and is that directory in your Windows system PATH? If it is in your PATH could you try temporarily removing it from your PATH and see if that helps?

    Have you tried rebooting the PC?
  • Finally, I installed all software components in a different PC and everything is working. I don't konw what is wrong in the original instalation, I didn't update or change nothing about Texas software.

    I will uninstall everything related to Texas and then I will install it again, in order to solve the issue. 

    Thanks for your help!