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.

XDC Tools with GRACE error

Other Parts Discussed in Thread: MSP430G2553

Hello, I have been searching the forums for a couple days now, with no fix for my issue

I opened my CCS ( Version: 6.1.0.00104 ) the other day, to change a constant. when i went to build the new version to test, i got an xdc tools error.

 

Description Resource Path Location Type
xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: .xdchelp /t2 line 184

trying to search the details of the error through my files was no help, i had no luck following what went wrong
i made a couple other small changes, and changed everything to the way it was before, and i still get the same error

i then tried to make a basic program using GRACE to see if it would work, same error

i tried updating CCS, and all of my plug ins, no luck
i uninstalled CCS, re downloaded and installed everything after scrubbing the old version and files off, same error

below are my specs and full build console output

thanks for your help!

CCS  Version: 6.1.0.00104 
Windows 8.1
Samsung series 7 chronos

using GRACE with CCS v6.1 for msp430g2553 over launchpad

 







**** Build of configuration Debug for project t2 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
        1 file(s) copied.
making ../src/grace/grace.lib ...
gmake[1]: Entering directory `C:/Users/USER/workspace_v6_1/t2/src/grace'
cle430 Grace_init.c ...
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/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.4/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal   -qq -pdsw225  --advice:power=all -D__MSP430G2553__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/include" -I "C:/ti/grace_3_10_00_82/packages"  -I "C:/ti/ccsv6/ccs_base/msp430/include"  "Grace_init.c"
      0 [main] sh 37892 sync_with_child: child 38656(0x1A0) died before initialization with status code 0xC0000142
     16 [main] sh 37892 sync_with_child: *** child state waiting for longjmp
C:/Users/USER/AppData/Local/Temp/make38000-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.4/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.4/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal   -qq -pdsw225  --advice:power=all -D__MSP430G2553__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/include" -I "C:/ti/grace_3_10_00_82/packages"  -I "C:/ti/ccsv6/ccs_base/msp430/include"  "CSL_init.c"
      0 [main] sh 38616 sync_with_child: child 38832(0x19C) died before initialization with status code 0xC0000142
     15 [main] sh 38616 sync_with_child: *** child state waiting for longjmp
C:/Users/USER/AppData/Local/Temp/make38000-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.4/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.4/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal   -qq -pdsw225  --advice:power=all -D__MSP430G2553__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/include" -I "C:/ti/grace_3_10_00_82/packages"  -I "C:/ti/ccsv6/ccs_base/msp430/include"  "GPIO_init.c"
      0 [main] sh 37500 sync_with_child: child 31648(0x1A0) died before initialization with status code 0xC0000142
     14 [main] sh 37500 sync_with_child: *** child state waiting for longjmp
C:/Users/USER/AppData/Local/Temp/make38000-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.4/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.4/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal   -qq -pdsw225  --advice:power=all -D__MSP430G2553__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/include" -I "C:/ti/grace_3_10_00_82/packages"  -I "C:/ti/ccsv6/ccs_base/msp430/include"  "BCSplus_init.c"
      0 [main] sh 38280 sync_with_child: child 38388(0x19C) died before initialization with status code 0xC0000142
     12 [main] sh 38280 sync_with_child: *** child state waiting for longjmp
C:/Users/USER/AppData/Local/Temp/make38000-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.4/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.4/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal   -qq -pdsw225  --advice:power=all -D__MSP430G2553__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/include" -I "C:/ti/grace_3_10_00_82/packages"  -I "C:/ti/ccsv6/ccs_base/msp430/include"  "InterruptVectors_init.c"
      0 [main] sh 38516 sync_with_child: child 38464(0x19C) died before initialization with status code 0xC0000142
     14 [main] sh 38516 sync_with_child: *** child state waiting for longjmp
C:/Users/USER/AppData/Local/Temp/make38000-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.4/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.4/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal   -qq -pdsw225  --advice:power=all -D__MSP430G2553__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/include" -I "C:/ti/grace_3_10_00_82/packages"  -I "C:/ti/ccsv6/ccs_base/msp430/include"  "System_init.c"
      0 [main] sh 38652 sync_with_child: child 35240(0x19C) died before initialization with status code 0xC0000142
     16 [main] sh 38652 sync_with_child: *** child state waiting for longjmp
C:/Users/USER/AppData/Local/Temp/make38000-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.4/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.4/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal   -qq -pdsw225  --advice:power=all -D__MSP430G2553__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/include" -I "C:/ti/grace_3_10_00_82/packages"  -I "C:/ti/ccsv6/ccs_base/msp430/include"  "WDTplus_init.c"
      0 [main] sh 38808 sync_with_child: child 38004(0x19C) died before initialization with status code 0xC0000142
     15 [main] sh 38808 sync_with_child: *** child state waiting for longjmp
C:/Users/USER/AppData/Local/Temp/make38000-1.sh: fork: Resource temporarily unavailable
gmake[1]: *** [objs/WDTplus_init.obj] Error 128
gmake[1]: Leaving directory `C:/Users/USER/workspace_v6_1/t2/src/grace'
gmake[1]: Target `all' not remade because of errors.
gmake: *** [../src/grace/grace.lib] Error 2
'Building file: ../main.c'
'Invoking: MSP430 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/bin/cl430" -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.4/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal --preproc_with_compile --preproc_dependency="main.pp" --cmd_file="./configPkg/compiler.opt"  "../main.c"
'Finished building: ../main.c'
' '
'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/MSPWare_2_20_00_19/driverlib/packages;C:/ti/msp430/MSPWare_2_20_00_19/driverlib;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.elf.MSP430 -p ti.platforms.msp430:MSP430G2553 -r debug -c "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4" -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.4/include\" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal  " -v "../main.cfg"
#
# configuring main.xe430 from package/cfg/main_pe430.cfg ...
C:/ti/xdctools_3_31_00_24_core/xs -Dxdc.path="C:/ti/grace_3_10_00_82/packages;C:/ti/msp430/MSPWare_2_20_00_19/driverlib/packages;C:/ti/msp430/MSPWare_2_20_00_19/driverlib;C:/ti/ccsv6/ccs_base;C:/ti/xdctools_3_31_00_24_core/packages;.." -Dxdc.root=C:/ti/xdctools_3_31_00_24_core -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/grace_3_10_00_82/packages;C:/ti/msp430/MSPWare_2_20_00_19/driverlib/packages;C:/ti/msp430/MSPWare_2_20_00_19/driverlib;C:/ti/ccsv6/ccs_base;C:/ti/xdctools_3_31_00_24_core/packages;..;C:/ti/xdctools_3_31_00_24_core;C:/ti/xdctools_3_31_00_24_core/etc" -Dxdc.bld.targets="" -DTOOLS=  -Dxdc.cfg.tsort.policy=fast -Dxdc.cfg.gen.metadataFiles=false -Dxdc.cfg.SourceDir.verbose=7 xdc.cfg main.xe430 package/cfg/main_pe430.cfg package/cfg/main_pe430
Starting build of library sources ...
    cd C:/Users/USER/workspace_v6_1/t2/src
    C:/ti/xdctools_3_31_00_24_core/gmake.exe -f C:/Users/USER/workspace_v6_1/t2/src/makefile.libs GEN_SRC_DIR=C:/Users/USER/workspace_v6_1/t2/src
making C:/Users/USER/workspace_v6_1/t2/src/grace/grace.lib ...
gmake[1]: Entering directory `C:/Users/USER/workspace_v6_1/t2/src/grace'
cle430 Grace_init.c ...
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/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.4/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal   -qq -pdsw225  --advice:power=all -D__MSP430G2553__ -I "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.4/include" -I "C:/ti/grace_3_10_00_82/packages"  -I "C:/ti/ccsv6/ccs_base/msp430/include"  "Grace_init.c"
      0 [main] sh 39068 sync_with_child: child 39084(0x1BC) died before initialization with status code 0xC0000142
     14 [main] sh 39068 sync_with_child: *** child state waiting for longjmp
C:/Users/USER/AppData/Local/Temp/make39048-1.sh: fork: Resource temporarily unavailable
gmake[1]: Leaving directory `C:/Users/USER/workspace_v6_1/t2/src/grace'
gmake[1]: *** [objs/Grace_init.obj] Error 128
Build of libraries failed.
gmake: *** [C:/Users/USER/workspace_v6_1/t2/src/grace/grace.lib] Error 2
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/MSPWare_2_20_00_19/driverlib" 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 ****

  • sorry, I screwed up the formatting:

    Hello, I have been searching the forums for a couple days now, with no fix for my issueI opened my CCS ( Version: 6.1.0.00104 ) the other day, to change a constant. when i went to build the new version to test, i got an xdc tools error.

    xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: .xdchelp /simple_PWM line 209

    trying to search the details of the error through my files was no help, i had no luck following what went wrong
    i made a couple other small changes, and changed everything to the way it was before, and i still get the same error
    i then tried to make a basic program using GRACE to see if it would work, same error
    i tried updating CCS, and all of my plug ins, no luck
    i uninstalled CCS, re downloaded and installed everything after scrubbing the old version and files off, same error

    below are my specs and full build console output

    thanks for your help!
    CCS Version: 6.1.0.00104
    Windows 8.1
    Samsung series 7 chronos
    using GRACE with CCS v6.1 for msp430g2553 over launchpad
  • Hello,
    There have been a few threads that seem related to your issue. Perhaps an answer exists in some of the discussions in them:
    e2e.ti.com/.../1551678

    Thanks
    ki