Jump to content
Sign in to follow this  
maelli01

Cannot get TI-RTOS to work, not exen the examples

Recommended Posts

Hello there

I am trying to get the simple example given in Ti Rtos to work. 

 

I am using CCS 6.1.0 and TI rtos 2.14.00.10 on a Tiva Connected lauchpad.

Installed the Ti-Rtos for Tiva from CCS. Fresh.  Windows 8.1

 

What I get is a compiler error (see below). And it does not build anything.

Haven't touched any of the source code of the example files in  "PWM Example".

 

anybody any clue?

 

cheers and thanks for any help

 

 

**** Build of configuration Debug for project pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT ****
 
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/Roland Manser/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/BIOS.c ...
>> ERROR: no source files, nothing to do
asmem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
>> ERROR: no source files, nothing to do
asmem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
>> ERROR: no source files, nothing to do
asmem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
>> ERROR: no source files, nothing to do
asmem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
>> ERROR: no source files, nothing to do
arem4f BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
  -->  error: 'BIOS.obj' not found
  -->  error: 'm3_Hwi_asm.obj' not found
  -->  error: 'm3_Hwi_asm_switch.obj' not found
gmake[1]: Leaving directory `C:/Users/Roland Manser/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios'
  -->  error: 'm3_IntrinsicsSupport_asm.obj' not found
  -->  error: 'm3_TaskSupport_asm.obj' not found
gmake[1]: *** [sysbios.aem4f] Error 1
gmake[1]: Target `all' not remade because of errors.
gmake: *** [../src/sysbios/sysbios.aem4f] Error 2
'Building file: ../EK_TM4C1294XL.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include" --include_path="C:/Users/Roland Manser/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_14_00_10/packages/ti/drivers/wifi/cc3100/Simplelink" --include_path="C:/ti/tirtos_tivac_2_14_00_10/packages/ti/drivers/wifi/cc3100/Simplelink/Include" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="EK_TM4C1294XL.pp" --cmd_file="./configPkg/compiler.opt"  "../EK_TM4C1294XL.c"
"C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/global.h", line 39: fatal error #1965: cannot open source file "C:/Users/Roland Manser/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/Debug/configPkg/package/cfg/pwmled_pem4f.h"
 
1 catastrophic error detected in the compilation of "../EK_TM4C1294XL.c".
>> Compilation failure
Compilation terminated.
gmake: *** [EK_TM4C1294XL.obj] Error 1
'Building file: ../pwmled.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include" --include_path="C:/Users/Roland Manser/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_14_00_10/packages/ti/drivers/wifi/cc3100/Simplelink" --include_path="C:/ti/tirtos_tivac_2_14_00_10/packages/ti/drivers/wifi/cc3100/Simplelink/Include" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="pwmled.pp" --cmd_file="./configPkg/compiler.opt"  "../pwmled.c"
"C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/global.h", line 39: fatal error #1965: cannot open source file "C:/Users/Roland Manser/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/Debug/configPkg/package/cfg/pwmled_pem4f.h"
 
1 catastrophic error detected in the compilation of "../pwmled.c".
>> Compilation failure
Compilation terminated.
gmake: *** [pwmled.obj] Error 1
'Building file: ../pwmled.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_31_01_33_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_14_00_10/packages;C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages;C:/ti/tirtos_tivac_2_14_00_10/products/ndk_2_24_03_35/packages;C:/ti/tirtos_tivac_2_14_00_10/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include\" --include_path=\"C:/Users/Roland Manser/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT\" --include_path=\"C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_14_00_10/packages/ti/drivers/wifi/cc3100/Simplelink\" --include_path=\"C:/ti/tirtos_tivac_2_14_00_10/packages/ti/drivers/wifi/cc3100/Simplelink/Include\" -g --gcc --define=ccs=\"ccs\" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on  " "../pwmled.cfg"
configuring pwmled.xem4f from package/cfg/pwmled_pem4f.cfg ...
generating custom ti.sysbios library makefile ... 
Starting build of library sources ...
making C:/Users/ROLAND~1/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/ROLAND~1/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/BIOS.c ...
C:/Users/ROLAND~1/AppData/Local/Temp/make21736-1.sh: 1: Syntax error: Unterminated quoted string
gmake[1]: *** [bIOS.obj] Error 2
gmake[1]: Leaving directory `C:/Users/ROLAND~1/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios'
gmake: *** [C:/Users/ROLAND~1/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios/sysbios.aem4f] Error 2
Build of libraries failed.
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
 
js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_31_01_33_core\gmake.exe: *** [package/cfg/pwmled_pem4f.xdl] Error 1
xdctools_3_31_01_33_core\gmake.exe: *** Deleting file `package/cfg/pwmled_pem4f.xdl'
xdctools_3_31_01_33_core\gmake.exe: *** [package/cfg/pwmled_pem4f.xdl] Deleting file `package/cfg/pwmled_pem4f.h'
xdctools_3_31_01_33_core\gmake.exe: *** [package/cfg/pwmled_pem4f.xdl] Deleting file `package/cfg/pwmled_pem4f.c'
js: "C:/ti/xdctools_3_31_01_33_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 ****
 

Share this post


Link to post
Share on other sites
"C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/global.h", line 39: fatal error #1965: cannot open source file "C:/Users/Roland Manser/Tiva_connected/pwmled_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/Debug/configPkg/package/cfg/pwmled_pem4f.h"

 

Does the file pwmled_pem4f.h exist at the path listed above?

 

If it does exist then maybe try setting up a new CCS workspace at a path with no spaces in the name. I've had trouble with that in TI's software before...

Share this post


Link to post
Share on other sites

Problem solved, thanks, tripwire  :)

 

The space in the path was the culprit. 

 

Nice little trap that is....

The space wasn't even mine, it was created by Windows....

Share this post


Link to post
Share on other sites

The space in the path was the culprit. 

 

Nice little trap that is....

The space wasn't even mine, it was created by Windows....

 

Yeah, CCS doesn't handle such things well.

 

The other classic trap is with characters other than the standard a-z|A-Z|0-9 and common punctuation. I seem to remember it chokes on accented characters, which isn't great if you happen to have any in your name...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×