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.

CCS/CODECOMPOSER: Optimization code

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: AM3358

Tool/software: Code Composer Studio

Hi!

I am using sitara AM3358 processor on custom board. I have turned off optimization level earlier and no error was there  but now to optimize the code I have turned on optimization level and speed vs size off is 1. Now after switching on optimization level, it is giving redefined error.

For ex, 

Description Resource Path Location Type
symbol "ATP_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/NAND_Test.obj" null: symbol "ATP_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/NAND_Test.obj" NONOS_DU C/C++ Problem

There are 105 errors like this. I have declared these global variables only once.

Binary .bin  file size is around 2 MB infact .out file is around 500KB only. How is it so? Because .bin file size should be less than .out file.

I want to reduce .bin file size as much as possible because large file size taking large booting time.

Please suggest any solution for this.

Regards,

Gaurav

  • I need to see all the build diagnostics.  Please right click on the name of the project and choose Rebuild Project.  In the Console (not Problems) view, use the icon Copy Build Log to save all the build diagnostics to a text file.  Be sure the use the file extension .txt.  Please attach that file to your next post.

    Thanks and regards,

    -George

  • Hi George,

    I am attaching build log without optimization, with optimization 4(Whole Program) and speed vs size of trade off is 0 and another file is AM335x_cmd.c file.

    I have converted .cmd file to .c to attach.

    How can I remove warning warning #10247-D: creating output section ".cinit" without a SECTIONS specification?

    Could you please tell me in CCS where I will get "--remove-section="stack"" option?

    In app.bin there are bunch of zeros, I feel this could be the reason to increase size of binary file. 

    One more thing, When I started this project in August that time size of app.out file was 397KB and app.bin was 65KB. I don't know how it went wrong as project goes on.

    Now, in same project as functionality increases size of app.out is approx 1MB and app.bin is 1.5MB. Is there any way to check at your end? 

    Size of binary file should be less than .out file.

    **** Build of configuration Debug for project NONOS_DU ****
    
    "C:\\ti\\ccs901\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "../echod.c"
    Invoking: ARM Compiler
    "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7A8 --code_state=32 -me -O4 --opt_for_speed=0 --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/hw" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/armv7a" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/armv7a/am335x" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/src/include" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/src/include/ipv4" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/src/include/lwip" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/include" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/apps/echoserver_raw" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw" --define=am3358 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="echod.d_raw"  "../echod.c"
    Finished building: "../echod.c"
     
    Building file: "../main.c"
    Invoking: ARM Compiler
    "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7A8 --code_state=32 -me -O4 --opt_for_speed=0 --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/hw" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/armv7a" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/armv7a/am335x" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/src/include" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/src/include/ipv4" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/src/include/lwip" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/include" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/apps/echoserver_raw" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw" --define=am3358 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw"  "../main.c"
    "E:\Projects\2019-2020\Display Unit\Software\Development\NONOS_DU\NONOS_DU\include\hw_gpmc.h", line 122: warning #1557-D: white space between backslash and newline in line splice ignored
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/DU_APP.h", line 63: warning #303-D: typedef name has already been declared (with same type)
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/DU_APP.h", line 64: warning #303-D: typedef name has already been declared (with same type)
    "../main.c", line 53: warning #179-D: function "MMUConfigAndEnable" was declared but never referenced
    Finished building: "../main.c"
     
    Building file: "../lwiplib.c"
    Invoking: ARM Compiler
    "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7A8 --code_state=32 -me -O4 --opt_for_speed=0 --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/hw" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/armv7a" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/include/armv7a/am335x" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/src/include" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/src/include/ipv4" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/src/include/lwip" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/include" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/apps/echoserver_raw" --include_path="E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw" --define=am3358 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="lwiplib.d_raw"  "../lwiplib.c"
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/locator.c", line 129: warning #225-D: function "udp_sendto" declared implicitly
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/locator.c", line 92: warning #552-D: variable "pucData" was set but never used
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/locator.c", line 93: warning #179-D: variable "ulIdx" was declared but never referenced
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/locator.c", line 144: warning #551-D: variable "adrr" is used before its value is set
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/locator.c", line 141: warning #179-D: variable "pcb" was declared but never referenced
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/locator.c", line 142: warning #179-D: variable "p" was declared but never referenced
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/locator.c", line 145: warning #179-D: variable "pucData" was declared but never referenced
    "E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/AM335X_StarterWare_02_00_01_01/third_party/lwip-1.4.0/ports/cpsw/locator.c", line 146: warning #179-D: variable "ulIdx" was declared but never referenced
    Finished building: "../lwiplib.c"
     
    Building target: "NONOS_DU.out"
    Invoking: ARM Linker
    Flags: -mv7A8 --code_state=32 -me -O4 --opt_for_speed=0 --define=am3358 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number -z -m"NONOS_DU.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/lib" -i"E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/Library/armv7a/cgt_ccs/am335x/system_config/Debug" -i"E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/Library/armv7a/cgt_ccs/utils/Debug" -i"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --reread_libs --define=A8_CORE=1 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="NONOS_DU_linkInfo.xml" --rom_model
    "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -@"ccsLinker.opt" -o "NONOS_DU.out"
    <Linking>
    error #10056: symbol "nandInfo" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "TimerTick" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "sContext" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "version" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "BootLoader_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "ATP_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "shop_mode" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "m_nCBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "m_nIBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "sample1" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "BaudRate" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "lux" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "Test_Disp_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "Shop_Mode_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "Brightness_Flag_Incr" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "Brightness_Flag_Decr" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "NVG_Mode" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "NVG_Mode_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "Mode_Select" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "Mode_Select_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "RWR_Page_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "Processor_ID" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DDR3_Test.obj"
    error #10056: symbol "nandInfo" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "TimerTick" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "sContext" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "version" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "BootLoader_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "ATP_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "shop_mode" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "m_nCBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "m_nIBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "sample1" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "BaudRate" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "lux" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "Test_Disp_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "Shop_Mode_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "Brightness_Flag_Incr" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "Brightness_Flag_Decr" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "NVG_Mode" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "NVG_Mode_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "Mode_Select" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "Mode_Select_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "RWR_Page_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "Processor_ID" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Discrete_Test.obj"
    error #10056: symbol "nandInfo" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "TimerTick" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "sContext" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "version" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "BootLoader_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "ATP_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "shop_mode" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "m_nCBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "m_nIBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "sample1" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "BaudRate" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "lux" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "Test_Disp_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "Shop_Mode_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "Brightness_Flag_Incr" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "Brightness_Flag_Decr" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "NVG_Mode" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "NVG_Mode_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "Mode_Select" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "Mode_Select_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "RWR_Page_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "Processor_ID" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/DisplayADC_Test.obj"
    error #10056: symbol "nandInfo" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "TimerTick" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "sContext" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "version" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "BootLoader_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "ATP_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "shop_mode" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "m_nCBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "m_nIBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "sample1" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "BaudRate" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "lux" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "Test_Disp_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "Shop_Mode_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "Brightness_Flag_Incr" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "Brightness_Flag_Decr" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "NVG_Mode" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "NVG_Mode_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "Mode_Select" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "Mode_Select_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "RWR_Page_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "Processor_ID" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/EEPROM_Test.obj"
    error #10056: symbol "nandInfo" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "TimerTick" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "sContext" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "version" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "BootLoader_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "ATP_Checksum" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "shop_mode" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "m_nCBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "m_nIBITResult" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "sample1" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "BaudRate" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "lux" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    error #10056: symbol "Test_Disp_Flag" redefined: first defined in "<whole-program>"; redefined in "./Built_In_Tests/Ethernet_Test.obj"
    fatal error #99900: error limit reached; 100 errors detected
     
    >> Compilation failure
    makefile:664: recipe for target 'NONOS_DU.out' failed
    gmake[1]: *** [NONOS_DU.out] Error 1
    gmake: *** [all] Error 2
    makefile:660: recipe for target 'all' failed
    
    **** Build Finished ****
    

    **** Build of configuration Debug for project NONOS_DU ****
    
    "C:\\ti\\ccs901\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building target: "NONOS_DU.out"
    Invoking: ARM Linker
    Flags: -mv7A8 --code_state=32 -me -Ooff --opt_for_speed=0 --define=am3358 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number -z -m"NONOS_DU.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/lib" -i"E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/Library/armv7a/cgt_ccs/am335x/system_config/Debug" -i"E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/Library/armv7a/cgt_ccs/utils/Debug" -i"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --reread_libs --define=A8_CORE=1 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="NONOS_DU_linkInfo.xml" --rom_model
    "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -@"ccsLinker.opt" -o "NONOS_DU.out"
    <Linking>
    warning #10247-D: creating output section ".cinit" without a SECTIONS specification
    Finished building target: "NONOS_DU.out"
     
    "C:/ti/ccs901/ccs/utils/tiobj2bin/tiobj2bin.bat" 	"NONOS_DU.out" "NONOS_DU.bin" 	"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/ofd470.exe" 	"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/hex470.exe" 	"C:/ti/ccs901/ccs/utils/tiobj2bin/mkhex4bin.exe"
     
    
    **** Build Finished ****
    

    /*
    * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
    */
    /*
    *  Redistribution and use in source and binary forms, with or without
    *  modification, are permitted provided that the following conditions
    *  are met:
    *
    *    Redistributions of source code must retain the above copyright
    *    notice, this list of conditions and the following disclaimer.
    *
    *    Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in the
    *    documentation and/or other materials provided with the
    *    distribution.
    *
    *    Neither the name of Texas Instruments Incorporated nor the names of
    *    its contributors may be used to endorse or promote products derived
    *    from this software without specific prior written permission.
    *
    *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    *
    */
    
    /****************************************************************************/
    /* LNK32.CMD - v4.5.0 COMMAND FILE FOR LINKING TMS470 32BIS C/C++ PROGRAMS  */
    /*                                                                          */
    /*   Usage:  lnk470 <obj files...>    -o <out file> -m <map file> lnk32.cmd */
    /*           cl470 <src files...> -z -o <out file> -m <map file> lnk32.cmd  */
    /*                                                                          */
    /*   Description: This file is a sample command file that can be used       */
    /*                for linking programs built with the TMS470 C/C++          */
    /*                Compiler.   Use it as a guideline; you may want to change */
    /*                the allocation scheme according to the size of your       */
    /*                program and the memory layout of your target system.      */
    /*                                                                          */
    /*   Notes: (1)   You must specify the directory in which run-time support  */
    /*                library is located.  Either add a "-i<directory>" line to */
    /*                this file, or use the system environment variable C_DIR   */
    /*                to specify a search path for libraries.                   */
    /*                                                                          */
    /*          (2)   If the run-time support library you are using is not      */
    /*                named below, be sure to use the correct name here.        */
    /*                                                                          */
    /****************************************************************************/
    -stack  0x0008                             /* SOFTWARE STACK SIZE           */
    -heap   0x2000                             /* HEAP AREA SIZE                */
    -e Entry
    /*  Since we used 'Entry' as the entry-point symbol the compiler issues a   */
    /*  warning (#10063-D: entry-point symbol other than "_c_int00" specified:  */
    /*  "Entry"). The CCS Version (5.1.0.08000) stops building from command     */
    /*  line when there is a warning. So this warning is suppressed with the    */
    /*  below flag. */
    
    --diag_suppress=10063
    
    /* SPECIFY THE SYSTEM MEMORY MAP *///0x7FFFFFF /* RAM */
    
    MEMORY
    {
            DDR_MEM     : org = 0x80000000  len = 0x1FFFFFFF
    }
    
    /* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY */
    
    SECTIONS
    {
        .text:Entry : load > 0x80000000
    
        .text    : load > DDR_MEM              /* CODE                          */
        .data    : load > DDR_MEM              /* INITIALIZED GLOBAL AND STATIC VARIABLES */
        .bss     : load > DDR_MEM              /* UNINITIALIZED OR ZERO INITIALIZED */
                                               /* GLOBAL & STATIC VARIABLES */
                        RUN_START(bss_start)
                        RUN_END(bss_end)
        .const   : load > DDR_MEM              /* GLOBAL CONSTANTS              */
        .stack   : load > 0x87FFFFF0           /* SOFTWARE SYSTEM STACK         */
    
    }
    
    

    Regards,

    Gaurav

  • Thank you for the build logs.  They look a bit unusual to me.  Does your CCS project build with a custom makefile you maintain?  

    Thanks and regards,

    -George

  • George,

    Yes, Project build every time with same makefile.

    Regards,

    Gaurav

  • The command that performs the link is ...

    "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -@"ccsLinker.opt" -o "NONOS_DU.out"

    Except for one option, all the options and file names the linker sees are in the temporary file ccsLinker.opt.  I need to see that file.  Please attach it to your next post.  So that the forum does not reject it, add the file extension .txt to it.

    Thanks and regards,

    -George

  • George,

    PFA ccsLinker.txt.

    -mv7A8 --code_state=32 -me -Ooff --opt_for_speed=0 --define=am3358 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number -z -m"NONOS_DU.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/lib" -i"E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/Library/armv7a/cgt_ccs/am335x/system_config/Debug" -i"E:/Projects/2019-2020/Display Unit/Software/Development/NONOS_DU/NONOS_DU/Library/armv7a/cgt_ccs/utils/Debug" -i"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --reread_libs --define=A8_CORE=1 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="NONOS_DU_linkInfo.xml" --rom_model 
    "./echod.obj" "./lwiplib.obj" "./main.obj" "./Built_In_Tests/DDR3_Test.obj" "./Built_In_Tests/Discrete_Test.obj" "./Built_In_Tests/DisplayADC_Test.obj" "./Built_In_Tests/EEPROM_Test.obj" "./Built_In_Tests/Ethernet_Test.obj" "./Built_In_Tests/LCD_Heater_Backlight_Test.obj" "./Built_In_Tests/NAND_Test.obj" "./Built_In_Tests/PowerSupply_Test.obj" "./Built_In_Tests/RS422.obj" "./Built_In_Tests/Watchdog_Timer_Test.obj" "./Modules/Bezel_keys.obj" "./Modules/GPIO_Module.obj" "./Modules/I2C_Module.obj" "./Modules/LCD_Initialize.obj" "./Modules/Light_To_Digital_Sensor.obj" "./Modules/Pmic.obj" "./Modules/SPI_Module.obj" "./Modules/Timer_Module.obj" "./Modules/UART_Module.obj" "./Modules/WatchDogTimer_Module.obj" "./drivers/cpsw.obj" "./drivers/dmtimer.obj" "./drivers/elm.obj" "./drivers/gpio_v2.obj" "./drivers/gpmc.obj" "./drivers/hsi2c.obj" "./drivers/mcspi.obj" "./drivers/mdio.obj" "./drivers/phy.obj" "./drivers/raster.obj" "./drivers/tsc_adc.obj" "./drivers/uart_irda_cir.obj" "./drivers/watchdog.obj" "./grlib/canvas.obj" "./grlib/checkbox.obj" "./grlib/circle.obj" "./grlib/container.obj" "./grlib/context.obj" "./grlib/image.obj" "./grlib/imgbutton.obj" "./grlib/line.obj" "./grlib/listbox.obj" "./grlib/offscr16bpp.obj" "./grlib/offscr1bpp.obj" "./grlib/offscr24bpp.obj" "./grlib/offscr4bpp.obj" "./grlib/offscr8bpp.obj" "./grlib/pushbutton.obj" "./grlib/radiobutton.obj" "./grlib/rectangle.obj" "./grlib/slider.obj" "./grlib/string.obj" "./grlib/widget.obj" "./grlib/fonts/fontcm12.obj" "./grlib/fonts/fontcm12b.obj" "./grlib/fonts/fontcm12i.obj" "./grlib/fonts/fontcm14.obj" "./grlib/fonts/fontcm14b.obj" "./grlib/fonts/fontcm14i.obj" "./grlib/fonts/fontcm16.obj" "./grlib/fonts/fontcm16b.obj" "./grlib/fonts/fontcm16i.obj" "./grlib/fonts/fontcm18.obj" "./grlib/fonts/fontcm18b.obj" "./grlib/fonts/fontcm18i.obj" "./grlib/fonts/fontcm20.obj" "./grlib/fonts/fontcm20b.obj" "./grlib/fonts/fontcm20i.obj" "./grlib/fonts/fontcm22.obj" "./grlib/fonts/fontcm22b.obj" "./grlib/fonts/fontcm22i.obj" "./grlib/fonts/fontcm24.obj" "./grlib/fonts/fontcm24b.obj" "./grlib/fonts/fontcm24i.obj" "./grlib/fonts/fontcm26.obj" "./grlib/fonts/fontcm26b.obj" "./grlib/fonts/fontcm26i.obj" "./grlib/fonts/fontcm28.obj" "./grlib/fonts/fontcm28b.obj" "./grlib/fonts/fontcm28i.obj" "./grlib/fonts/fontcm30.obj" "./grlib/fonts/fontcm30b.obj" "./grlib/fonts/fontcm30i.obj" "./grlib/fonts/fontcm32.obj" "./grlib/fonts/fontcm32b.obj" "./grlib/fonts/fontcm32i.obj" "./grlib/fonts/fontcm34.obj" "./grlib/fonts/fontcm34b.obj" "./grlib/fonts/fontcm34i.obj" "./grlib/fonts/fontcm36.obj" "./grlib/fonts/fontcm36b.obj" "./grlib/fonts/fontcm36i.obj" "./grlib/fonts/fontcm38.obj" "./grlib/fonts/fontcm38b.obj" "./grlib/fonts/fontcm38i.obj" "./grlib/fonts/fontcm40.obj" "./grlib/fonts/fontcm40b.obj" "./grlib/fonts/fontcm40i.obj" "./grlib/fonts/fontcm42.obj" "./grlib/fonts/fontcm42b.obj" "./grlib/fonts/fontcm42i.obj" "./grlib/fonts/fontcm44.obj" "./grlib/fonts/fontcm44b.obj" "./grlib/fonts/fontcm44i.obj" "./grlib/fonts/fontcm46.obj" "./grlib/fonts/fontcm46b.obj" "./grlib/fonts/fontcm46i.obj" "./grlib/fonts/fontcm48.obj" "./grlib/fonts/fontcm48b.obj" "./grlib/fonts/fontcm48i.obj" "./grlib/fonts/fontcmsc12.obj" "./grlib/fonts/fontcmsc14.obj" "./grlib/fonts/fontcmsc16.obj" "./grlib/fonts/fontcmsc18.obj" "./grlib/fonts/fontcmsc20.obj" "./grlib/fonts/fontcmsc22.obj" "./grlib/fonts/fontcmsc24.obj" "./grlib/fonts/fontcmsc26.obj" "./grlib/fonts/fontcmsc28.obj" "./grlib/fonts/fontcmsc30.obj" "./grlib/fonts/fontcmsc32.obj" "./grlib/fonts/fontcmsc34.obj" "./grlib/fonts/fontcmsc36.obj" "./grlib/fonts/fontcmsc38.obj" "./grlib/fonts/fontcmsc40.obj" "./grlib/fonts/fontcmsc42.obj" "./grlib/fonts/fontcmsc44.obj" "./grlib/fonts/fontcmsc46.obj" "./grlib/fonts/fontcmsc48.obj" "./grlib/fonts/fontcmss12.obj" "./grlib/fonts/fontcmss12b.obj" "./grlib/fonts/fontcmss12i.obj" "./grlib/fonts/fontcmss14.obj" "./grlib/fonts/fontcmss14b.obj" "./grlib/fonts/fontcmss14i.obj" "./grlib/fonts/fontcmss16.obj" "./grlib/fonts/fontcmss16b.obj" "./grlib/fonts/fontcmss16i.obj" "./grlib/fonts/fontcmss18.obj" "./grlib/fonts/fontcmss18b.obj" "./grlib/fonts/fontcmss18i.obj" "./grlib/fonts/fontcmss20.obj" "./grlib/fonts/fontcmss20b.obj" "./grlib/fonts/fontcmss20i.obj" "./grlib/fonts/fontcmss22.obj" "./grlib/fonts/fontcmss22b.obj" "./grlib/fonts/fontcmss22i.obj" "./grlib/fonts/fontcmss24.obj" "./grlib/fonts/fontcmss24b.obj" "./grlib/fonts/fontcmss24i.obj" "./grlib/fonts/fontcmss26.obj" "./grlib/fonts/fontcmss26b.obj" "./grlib/fonts/fontcmss26i.obj" "./grlib/fonts/fontcmss28.obj" "./grlib/fonts/fontcmss28b.obj" "./grlib/fonts/fontcmss28i.obj" "./grlib/fonts/fontcmss30.obj" "./grlib/fonts/fontcmss30b.obj" "./grlib/fonts/fontcmss30i.obj" "./grlib/fonts/fontcmss32.obj" "./grlib/fonts/fontcmss32b.obj" "./grlib/fonts/fontcmss32i.obj" "./grlib/fonts/fontcmss34.obj" "./grlib/fonts/fontcmss34b.obj" "./grlib/fonts/fontcmss34i.obj" "./grlib/fonts/fontcmss36.obj" "./grlib/fonts/fontcmss36b.obj" "./grlib/fonts/fontcmss36i.obj" "./grlib/fonts/fontcmss38.obj" "./grlib/fonts/fontcmss38b.obj" "./grlib/fonts/fontcmss38i.obj" "./grlib/fonts/fontcmss40.obj" "./grlib/fonts/fontcmss40b.obj" "./grlib/fonts/fontcmss40i.obj" "./grlib/fonts/fontcmss42.obj" "./grlib/fonts/fontcmss42b.obj" "./grlib/fonts/fontcmss42i.obj" "./grlib/fonts/fontcmss44.obj" "./grlib/fonts/fontcmss44b.obj" "./grlib/fonts/fontcmss44i.obj" "./grlib/fonts/fontcmss46.obj" "./grlib/fonts/fontcmss46b.obj" "./grlib/fonts/fontcmss46i.obj" "./grlib/fonts/fontcmss48.obj" "./grlib/fonts/fontcmss48b.obj" "./grlib/fonts/fontcmss48i.obj" "./grlib/fonts/fontcmtt12.obj" "./grlib/fonts/fontcmtt14.obj" "./grlib/fonts/fontcmtt16.obj" "./grlib/fonts/fontcmtt18.obj" "./grlib/fonts/fontcmtt20.obj" "./grlib/fonts/fontcmtt22.obj" "./grlib/fonts/fontcmtt24.obj" "./grlib/fonts/fontcmtt26.obj" "./grlib/fonts/fontcmtt28.obj" "./grlib/fonts/fontcmtt30.obj" "./grlib/fonts/fontcmtt32.obj" "./grlib/fonts/fontcmtt34.obj" "./grlib/fonts/fontcmtt36.obj" "./grlib/fonts/fontcmtt38.obj" "./grlib/fonts/fontcmtt40.obj" "./grlib/fonts/fontcmtt42.obj" "./grlib/fonts/fontcmtt44.obj" "./grlib/fonts/fontcmtt46.obj" "./grlib/fonts/fontcmtt48.obj" "./grlib/fonts/fontfixed6x8.obj" "./platform/bl_nand.obj" "./platform/bl_platform.obj" "./platform/cpsw.obj" "./platform/ctlregcontext.obj" "./platform/dmtimer.obj" "./platform/gpio.obj" "./platform/hsi2c.obj" "./platform/lcd.obj" "./platform/nand.obj" "./platform/nand_gpmc.obj" "./platform/nandlib.obj" "./platform/sysdelay.obj" "./platform/sysperf.obj" "./platform/tscAdc.obj" "./platform/uart.obj" "./platform/uartConsole.obj" "./platform/watchdog.obj" "../NONOS_DU.cmd" "../Library/armv7a/cgt_ccs/am335x/beaglebone/platform/Release/platform.lib" "../Library/armv7a/cgt_ccs/am335x/drivers/Debug/drivers.lib" "../Library/armv7a/cgt_ccs/am335x/drivers/Release/drivers.lib" "../Library/armv7a/cgt_ccs/am335x/evmAM335x/platform/Release/platform.lib" "../Library/armv7a/cgt_ccs/am335x/evmskAM335x/platform/Debug/platform.lib" "../Library/armv7a/cgt_ccs/am335x/evmskAM335x/platform/Release/platform.lib" "../Library/armv7a/cgt_ccs/am335x/system_config/Debug/system.lib" "../Library/armv7a/cgt_ccs/am335x/system_config/Release/system.lib" "../Library/armv7a/cgt_ccs/am335x/usblib/Release/usblib.lib" "../Library/armv7a/cgt_ccs/grlib/Release/libgr.lib" "../Library/armv7a/cgt_ccs/mmcsdlib/Release/libmmcsd.lib" "../Library/armv7a/cgt_ccs/nandlib/Release/libnand.lib" "../Library/armv7a/cgt_ccs/utils/Debug/utils.lib" "../Library/armv7a/cgt_ccs/utils/Release/utils.lib" -llibc.a -lsystem.lib -lutils.lib 

    Regards,

    Gaurav

  • Thank you for this linker options file.

    There is one thing I didn't expect.  I see -Ooff (optimization disabled) instead of -O4 (optimization level 4).  I suspect that, if you send me the correct file, it will have only this one difference.  

    Therefore, I conclude I will not find the problem just by looking through the build commands and diagnostics.  I have to reproduce the problem in order to understand it.

    Please send me the full CCS project.  Zip up the project by following the directions in the article Sharing projects.  Attach that zip file to your next post.

    Thanks and regards,

    -George

  • George,

    Full Project I can't send due to some security reasons. Please tell me another way to solve the problem. 

    Regards,

    Gaurav

  • Gaurav Aggarwal1 said:
    Full Project I can't send due to some security reasons.

    I understand.

    Gaurav Aggarwal1 said:
    Please tell me another way to solve the problem. 

    Unfortunately, the only way forward is for me to reproduce the problem.  Are you able to send the project just to me?  If so, hover your mouse over my screen name or avatar. A box will pop up. Click on Send a private message. In the message compose interface which comes up, use the paper clip icon to attach the zip file.

    Thanks and regards,

    -George

  • George,

    Please check your private message inbox.

    Regards,

    Gaurav

  • This thread is marked resolved, even though that is not the case.  It is being handled through private messages  When it is resolved, I will post a short summary.  

    Thanks and regards,

    -George