I am new to TI-RTOS, and RTOS in general, so I am following the workshop series on TI-RTOS and I must say it is very informative (though it does need some updating, I think). I've gotten to part 4 where we finally start to build the first RTOS project. I followed all the installation instructions carefully, though I have used CCS6 extensively in the past, just not with RTOS. At first, I thought perhaps some of the things I had installed, or my configuration, was the problem, so I uninstalled CCS and did a fresh install. I re-installed TI-RTOS for MSP43X from the App Center, as well as MSPware. I allowed CCS to do all the available updates (one of which failed, because it needed administrator privileges, which I was able to install separately). I noticed that it was trying to use a newer version of XDC tools, and falling back to an older version that was already installed, so I downloaded and extracted the newest version of XDC (3.32.0.06_core). I am using TI-RTOS 2.16.0.08 with the newest version of CCS (downloaded today) -- 6.1.2.00015.
Here is what the console says after attempting to build the example (not minimal) TI-RTOS for MSP43X project, configured to use MSP430F5529:
Starting build of library sources ... making C:/TI_RTOS/Workspace/test/src/sysbios/sysbios.ae430X ... gmake[1]: Entering directory `C:/TI_RTOS/Workspace/test/src/sysbios' cle430X C:/ti/tirtos_msp43x_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ... 0 [main] sh 16412 sync_with_child: child 19012(0x1C4) died before initialization with status code 0xC0000142 287 [main] sh 16412 sync_with_child: *** child state waiting for longjmp C:/Users/Aurelius/AppData/Local/Temp/make18924-1.sh: fork: Resource temporarily unavailable gmake[1]: *** [BIOS.obj] Error 128 gmake[1]: Leaving directory `C:/TI_RTOS/Workspace/test/src/sysbios' gmake: *** [C:/TI_RTOS/Workspace/test/src/sysbios/sysbios.ae430X] 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! gmake.exe: *** [package/cfg/empty_pe430X.xdl] Error 1 gmake.exe: *** Deleting file `package/cfg/empty_pe430X.xdl' gmake.exe: *** [package/cfg/empty_pe430X.xdl] Deleting file `package/cfg/empty_pe430X.h' gmake.exe: *** [package/cfg/empty_pe430X.xdl] Deleting file `package/cfg/empty_pe430X.c' Warning: directory "C:/ti/msp430/MSPWare_3_30_00_18/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 ****
I tried re-building using the other versions of XDC that are installed (3.31.1.33 and 3.31.0.24). It is using the TI v16.3.0STS compiler (which was a huge surprise when I downloaded, I thought last time I used it it was at version 5 or 6?!). Am I missing something? Is there an incompatibility between the version of TI-RTOS and XDC? In the workshop he highlighted the fact that they needed to be compatible versions, though I don't know why the version installed directly from the App Center with the newest version of XDC from the website would be incompatible...
Any and all help is much appreciated -- I'm at a dead standstill until I can figure this out.