Tool/software: Code Composer Studio
OS: Windows 7 Home Premium, 64 bit, SP1
CCS: Version 7.0.0.00042
Hardware: Tiva C Series TM4C123G LaunchPad Evaluation Kit
Hi,
I have been trying to work through the tutorials found at the “Getting Started with the TIVA™ C Series TM4C123G LaunchPad” wiki found at:
specifically the workbook pdf linked in the “Workshop Material” section.
I have installed CCS as instructed (albeit v7 rather than v5.5) in the workbook, Lab 1. Also:
TivaWare_C_Series-2.1.3.156 installed into C:\ti\TivaWare_C_Series-2.1.3.156. The C:\ti\ directory attribute is read-only and can’t be changed – don’t know whether this is significant or not.
LM Flash Programmer, Workshop Lab Files, Terminal Program and Windows-side USB Examples also installed as per workbook Lab 1. QuickStart Application verified as working and Stellaris Virtual Serial Port identified as COM3. Communication established with the board via putty.exe. All good so far.
Problems occur when I try to complete Lab 2. I have worked through all the steps in the workbook (allowing for cosmetic differences between CCS v5.5 and v7). Everything appears fine until Step 15 – “Build, Load, Run”. On clicking the Debug button I see fatal errors recorded in the Console view, as follows:
**** Build of configuration Debug for project lab2 ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 2 all -O
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --preinclude="C:/ti/TivaWare_C_Series-2.1.3.156" --define=ccs="ccs" --define=PART_TM4C123GH6PM -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="main.d" "../main.c"
>> Compilation failure
subdir_rules.mk:9: recipe for target 'main.obj' failed
Fatal error #1966: cannot open source file "C:/ti/TivaWare_C_Series-2.1.3.156": Invalid argument
1 catastrophic error detected in the compilation of "../main.c".
Compilation terminated.
gmake: *** [main.obj] Error 1
'Building file: ../tm4c123gh6pm_startup_ccs.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --preinclude="C:/ti/TivaWare_C_Series-2.1.3.156" --define=ccs="ccs" --define=PART_TM4C123GH6PM -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="tm4c123gh6pm_startup_ccs.d" "../tm4c123gh6pm_startup_ccs.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'tm4c123gh6pm_startup_ccs.obj' failed
Fatal error #1966: cannot open source file "C:/ti/TivaWare_C_Series-2.1.3.156": Invalid argument
1 catastrophic error detected in the compilation of "../tm4c123gh6pm_startup_ccs.c".
Compilation terminated.
gmake: *** [tm4c123gh6pm_startup_ccs.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
I’ve tried searching these forums and general Googling but haven’t found much to help me. I’m guessing that there’s some problem with accessing the TivaWare directory, but my near complete lack of experience with CCS means I could be completely wrong, of course. Any help would therefore be greatly appreciated.
Chris.