Hello,
I installed CCS V6.1.0.00104 including the MSP Ultra Low Power MCUs (exept GGC ARM Compiler, which is the default option) on Windows 10. Afterwards I updated to CCS V6.1.1.00022 and installed Grace from the App Center.
I created two projects, both for the MSP430G2533: the first as an empty project (with main.c) and the second as a Grace (MSP430) project.
There are now problems with the non-Grace project, but a build error occurs with the Grace project. I tried to build the just created and untouched project and this error occurs:
**** Build of configuration Debug for project Second **** "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all making ../src/grace/grace.lib ... gmake[1]: Entering directory `C:/Users/Alexander/workspace_v6_1/Second/src/grace' cle430 Grace_init.c ... "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/bin/cl430" --abi=eabi -c --obj_directory=objs/ -vmsp -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" --advice:power=all -g --define=__MSP430G2533__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal -qq -pdsw225 --advice:power=all -D__MSP430G2533__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" -I "C:/ti/grace_3_10_00_82/packages" -I "C:/ti/ccsv6/ccs_base/msp430/include" "Grace_init.c" 0 [main] sh 9656 sync_with_child: child 7516(0x1F4) died before initialization with status code 0xC0000142 23 [main] sh 9656 sync_with_child: *** child state waiting for longjmp C:/Users/ALEXAN~1/AppData/Local/Temp/make3736-1.sh: fork: Resource temporarily unavailable gmake[1]: *** [objs/Grace_init.obj] Error 128 cle430 CSL_init.c ... "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/bin/cl430" --abi=eabi -c --obj_directory=objs/ -vmsp -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" --advice:power=all -g --define=__MSP430G2533__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal -qq -pdsw225 --advice:power=all -D__MSP430G2533__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" -I "C:/ti/grace_3_10_00_82/packages" -I "C:/ti/ccsv6/ccs_base/msp430/include" "CSL_init.c" 0 [main] sh 7452 sync_with_child: child 464(0x1EC) died before initialization with status code 0xC0000142 15 [main] sh 7452 sync_with_child: *** child state waiting for longjmp C:/Users/ALEXAN~1/AppData/Local/Temp/make3736-1.sh: fork: Resource temporarily unavailable gmake[1]: *** [objs/CSL_init.obj] Error 128 cle430 GPIO_init.c ... "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/bin/cl430" --abi=eabi -c --obj_directory=objs/ -vmsp -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" --advice:power=all -g --define=__MSP430G2533__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal -qq -pdsw225 --advice:power=all -D__MSP430G2533__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" -I "C:/ti/grace_3_10_00_82/packages" -I "C:/ti/ccsv6/ccs_base/msp430/include" "GPIO_init.c" 0 [main] sh 1904 sync_with_child: child 7560(0x1EC) died before initialization with status code 0xC0000142 15 [main] sh 1904 sync_with_child: *** child state waiting for longjmp C:/Users/ALEXAN~1/AppData/Local/Temp/make3736-1.sh: fork: Resource temporarily unavailable gmake[1]: *** [objs/GPIO_init.obj] Error 128 cle430 BCSplus_init.c ... "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/bin/cl430" --abi=eabi -c --obj_directory=objs/ -vmsp -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" --advice:power=all -g --define=__MSP430G2533__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal -qq -pdsw225 --advice:power=all -D__MSP430G2533__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" -I "C:/ti/grace_3_10_00_82/packages" -I "C:/ti/ccsv6/ccs_base/msp430/include" "BCSplus_init.c" 0 [main] sh 5956 sync_with_child: child 864(0x1EC) died before initialization with status code 0xC0000142 17 [main] sh 5956 sync_with_child: *** child state waiting for longjmp C:/Users/ALEXAN~1/AppData/Local/Temp/make3736-1.sh: fork: Resource temporarily unavailable gmake[1]: *** [objs/BCSplus_init.obj] Error 128 cle430 InterruptVectors_init.c ... "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/bin/cl430" --abi=eabi -c --obj_directory=objs/ -vmsp -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" --advice:power=all -g --define=__MSP430G2533__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal -qq -pdsw225 --advice:power=all -D__MSP430G2533__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" -I "C:/ti/grace_3_10_00_82/packages" -I "C:/ti/ccsv6/ccs_base/msp430/include" "InterruptVectors_init.c" 0 [main] sh 9060 sync_with_child: child 7252(0x1EC) died before initialization with status code 0xC0000142 15 [main] sh 9060 sync_with_child: *** child state waiting for longjmp C:/Users/ALEXAN~1/AppData/Local/Temp/make3736-1.sh: fork: Resource temporarily unavailable gmake[1]: *** [objs/InterruptVectors_init.obj] Error 128 cle430 System_init.c ... "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/bin/cl430" --abi=eabi -c --obj_directory=objs/ -vmsp -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" --advice:power=all -g --define=__MSP430G2533__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal -qq -pdsw225 --advice:power=all -D__MSP430G2533__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" -I "C:/ti/grace_3_10_00_82/packages" -I "C:/ti/ccsv6/ccs_base/msp430/include" "System_init.c" 0 [main] sh 8300 sync_with_child: child 9920(0x1EC) died before initialization with status code 0xC0000142 17 [main] sh 8300 sync_with_child: *** child state waiting for longjmp C:/Users/ALEXAN~1/AppData/Local/Temp/make3736-1.sh: fork: Resource temporarily unavailable gmake[1]: *** [objs/System_init.obj] Error 128 cle430 WDTplus_init.c ... "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/bin/cl430" --abi=eabi -c --obj_directory=objs/ -vmsp -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" --advice:power=all -g --define=__MSP430G2533__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal -qq -pdsw225 --advice:power=all -D__MSP430G2533__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" -I "C:/ti/grace_3_10_00_82/packages" -I "C:/ti/ccsv6/ccs_base/msp430/include" "WDTplus_init.c" 0 [main] sh 9684 sync_with_child: child 4676(0x1F0) died before initialization with status code 0xC0000142 25 [main] sh 9684 sync_with_child: *** child state waiting for longjmp C:/Users/ALEXAN~1/AppData/Local/Temp/make3736-1.sh: fork: Resource temporarily unavailable gmake[1]: *** [objs/WDTplus_init.obj] Error 128 gmake[1]: Leaving directory `C:/Users/Alexander/workspace_v6_1/Second/src/grace' gmake[1]: Target `all' not remade because of errors. gmake: *** [../src/grace/grace.lib] Error 2 'Building file: ../main.cfg' 'Invoking: XDCtools' "C:/ti/xdctools_3_31_00_24_core/xs" --xdcpath="C:/ti/grace_3_10_00_82/packages;C:/ti/msp430/driverlib_2_10_00_09/packages;C:/ti/msp430/driverlib_2_10_00_09;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.elf.MSP430 -p ti.platforms.msp430:MSP430G2533 -r debug -c "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3" -Dxdc.cfg.tsort.policy=fast -Dxdc.cfg.gen.metadataFiles=false -Dxdc.cfg.SourceDir.verbose=7 --compileOptions "-vmsp --abi=eabi --use_hw_mpy=none --include_path=\"C:/ti/ccsv6/ccs_base/msp430/include\" --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include\" --advice:power=all -g --define=__MSP430G2533__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal " "../main.cfg" configuring main.xe430 from package/cfg/main_pe430.cfg ... Starting build of library sources ... cd C:/Users/Alexander/workspace_v6_1/Second/src C:/ti/xdctools_3_31_00_24_core/gmake.exe -f C:/Users/Alexander/workspace_v6_1/Second/src/makefile.libs GEN_SRC_DIR=C:/Users/Alexander/workspace_v6_1/Second/src making C:/Users/Alexander/workspace_v6_1/Second/src/grace/grace.lib ... gmake[1]: Entering directory `C:/Users/Alexander/workspace_v6_1/Second/src/grace' cle430 Grace_init.c ... "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/bin/cl430" --abi=eabi -c --obj_directory=objs/ -vmsp -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" --advice:power=all -g --define=__MSP430G2533__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal -qq -pdsw225 --advice:power=all -D__MSP430G2533__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" -I "C:/ti/grace_3_10_00_82/packages" -I "C:/ti/ccsv6/ccs_base/msp430/include" "Grace_init.c" 0 [main] sh 2184 sync_with_child: child 3796(0x20C) died before initialization with status code 0xC0000142 25 [main] sh 2184 sync_with_child: *** child state waiting for longjmp C:/Users/ALEXAN~1/AppData/Local/Temp/make7220-1.sh: fork: Resource temporarily unavailable gmake[1]: Leaving directory `C:/Users/Alexander/workspace_v6_1/Second/src/grace' gmake[1]: *** [objs/Grace_init.obj] Error 128 gmake: *** [C:/Users/Alexander/workspace_v6_1/Second/src/grace/grace.lib] Error 2 Build of libraries failed. error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/cfg/SourceDir.xs", line 184: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: js: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed! xdctools_3_31_00_24_core\gmake.exe: *** [package/cfg/main_pe430.xdl] Error 1 xdctools_3_31_00_24_core\gmake.exe: *** Deleting file `package/cfg/main_pe430.xdl' xdctools_3_31_00_24_core\gmake.exe: *** [package/cfg/main_pe430.xdl] Deleting file `package/cfg/main_pe430.h' xdctools_3_31_00_24_core\gmake.exe: *** [package/cfg/main_pe430.xdl] Deleting file `package/cfg/main_pe430.c' Warning: directory "C:/ti/msp430/driverlib_2_10_00_09" on package path has a "packages" subdirectory - did you mean this instead? js: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted. gmake: *** [configPkg/linker.cmd] Error 1 gmake: Target `all' not remade because of errors. **** Build Finished ****
In the problem window the following error showed up:
xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: .xdchelp /Second line 184 C/C++ Problem
The error occurs with both compiler versions TI v4.4.3 and v4.4.6.
I tried to build the empty project to make sure that the problem is not my code but the installation. After receiving this error in the first place, I deinstalled CCS, deleted every old TI folder and old registry entries regarding CCS (with the program CCleaner) and reinstalled everything like described above.
I read that CCS can run properly on Win 10 and I have seen it working on another PC, but could the problem still be caused by the OS? What else might cause this problem?
Do you need any other information?
Thank you for your help.
Regards
Alexander