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.

Tiva C Series - Load program error

Other Parts Discussed in Thread: TM4C129ENCPDT, EK-TM4C129EXL

hi,


I´ve been trying to load my program into EK-TM4C123GXL board but continuously get the following error. Other sample codes get loaded into it while only my code shows the following error. Tried to solve by changing path but in vain. The program doesn't get complied fully but i don´t get any errors in the program. I use windows 10 OS and CCS.

 error as displayed while trying to debug:

Load program Error

Encountered a problem loading file: C:\users\Akshaya Ramachandran\workspace_v6_1\uart_echo\Debug\uart_echo.out                                                                            

Could not open file

 The compilation problem is the following:

"C:/ti/TivaWare_C_Series-2.1.2.111/grlib/ccs/Debug/grlib.lib", line 1: error #171: expected a declaration

"C:/ti/TivaWare_C_Series-2.1.2.111/grlib/ccs/Debug/grlib.lib", line 2: error #7: unrecognized token

"C:/ti/TivaWare_C_Series-2.1.2.111/grlib/ccs/Debug/grlib.lib", line 3: warning #1268-D: null (zero) character in input line ignored

Error limit reached.

100 errors detected in the compilation of "../drivers/buttons.c".

Compilation terminated.

 

>> Compilation failure

gmake: *** [drivers/buttons.obj] Error 1

gmake: Target `all' not remade because of errors.

 

**** Build Finished ****

  • Hello Akshaya

    What are the compilation options?

    Regards
    Amit
  • Hi Amit,

    What do you exactly mean by compilation options?
    whenever I try to build my program, I see the error in my console.

    Regards
    Akshaya
  • Hello Akshaya,

    When you compile the code, there are options and switches that have been used to compile the code, that is printed on CCS console.

    Regards
    Amit
  • Hi Amit ,

    Do you mean clear console, pin options etc?

    Regards

    Akshaya

  • Hello Akshaya,

    I am referring to the following

    'Building file: ../tidm_tm4cpoegateway_gpio_test.c'
    'Invoking: ARM Compiler'
    "D:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="D:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/include" --include_path="D:/ti/TivaWare_C_Series-2.1.3.129" --advice:power=all -g --gcc --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=TARGET_IS_TM4C129_RA1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="tidm_tm4cpoegateway_gpio_test.pp" "../tidm_tm4cpoegateway_gpio_test.c"
    'Finished building: ../tidm_tm4cpoegateway_gpio_test.c'
    ' '
    'Building target: tidm_tm4cpoegateway_gpio_test.out'
    'Invoking: ARM Linker'
    "D:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --advice:power=all -g --gcc --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=TARGET_IS_TM4C129_RA1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual -z -m"blinky_ccs.map" --heap_size=0 --stack_size=512 -i"D:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/lib" -i"D:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/include" --reread_libs --warn_sections --diag_wrap=off --display_error_number --xml_link_info="tidm_tm4cpoegateway_gpio_test_linkInfo.xml" --rom_model -o "tidm_tm4cpoegateway_gpio_test.out" "./startup_ccs.obj" "./tidm_tm4cpoegateway_gpio_test.obj" "../tidm_tm4cpoegateway_gpio_test.cmd" -l"libc.a" -l"D:/ti/TivaWare_C_Series-2.1.3.129/examples/boards/ek-tm4c129exl/blinky/ccs/../../../../../driverlib/ccs/Debug/driverlib.lib"
    <Linking>

    Regards
    Amit
  • hi Amit ,

    Took some time but I´ve resolved the issue. Thanks for helping me.

    Regards

    Akshaya
  • Hello Akshaya

    What was the issue in the end? Wrong options or missing options?

    Regards
    Amit
  • Hi Amit,

    It was wrong options.

    Regards,

    Akshaya