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.

Build project using 2 PCs in the same environment, but there is a difference.

Other Parts Discussed in Thread: SYSCONFIG, SYSBIOS

Hi experts,

My client is experiencing a strange phenomenon.

[Question]
Could you please let me know if there is any solution to the following problematic phenomenon?

[PROBLEM]
The project is built in the same environment using two PCs, but there is a difference in behavior after the project is written.
The difference is only in the OS version of the PCs.

[Details]

  • There is a difference in the OS version of the PCs(PC1=Windows10pro 22H2, PC2=Windows10pro 21H2)
  • No difference in CCS: 10.1.1.00004
  • No difference in Compiler: TI v20.2.1LTS
  • There is no difference between the compiler and linker settings (Summary of flag set).
  • No difference in source code
  • Export the OK project from PC1, import it to PC2, and build it, and the result is NG.
    Export the NG project of PC2, import it to PC1, and build it, and the result is OK.
  • There is a difference in the file after using "Code Generation Tools XML Processing Utilities" and entering the .out file.
    There is a difference in the .map file.
    "HOLE-- [fill = 0]" increased by 8Byte in both .text and .cinit area.
    In addition, the order of each .obj in the .text area is different.

Best regards,
O.H

  • Hello,

    there is a difference in behavior after the project is written.
    Export the OK project from PC1, import it to PC2, and build it, and the result is NG.
    Export the NG project of PC2, import it to PC1, and build it, and the result is OK.

    What exactly is the difference in behavior or result? Is it that the program does not run as expected on the target? Please explain.

    Thanks

    ki 

  • Hello ki,

    Thank you for your reply.

    What exactly is the difference in behavior or result? Is it that the program does not run as expected on the target? Please explain.

    We are not sure how exactly there is a difference, and have not yet been able to confirm the details with Disassembly, Step execution, etc.
    The program does not behave as expected on the target when built on PC2.

    Best regards,
    O.H

  • What about a possible differences in the SDKs? For example are the contents of c\:ti\C2000\* identical on both machines?

  • The program does not behave as expected on the target when built on PC2.

    How is the customer determining that the program is not behaving? Is it hitting some exception? Is it supposed to produce some result but the result is incorrect?

    Kier also brings up a good about check any dependencies for differences like SDK, etc.

    Also, please have the customer provide the FULL build output in the build console for both OK and NG builds. They can copy and paste to a text file which can then be attached to this thread.

    Thanks

    ki 

  • Hello ki,

    Sorry for the late reply.

    The device we are using is MSP432P401R and the SKD is "simplelink_msp432p4_sdk_3_40_01_02".
    The purpose of using the device is for temporary validation purposes, but if this problem is device-independent, any advice would be appreciated.

    How is the customer determining that the program is not behaving? Is it hitting some exception? Is it supposed to produce some result but the result is incorrect?

    They are using UART for serial communication with the outside world, but they have confirmed that only when we write on the abnormal PC, they always get an error at the same point when executing certain commands.

    Kier also brings up a good about check any dependencies for differences like SDK, etc.

    Both PCs are saved in C:\ti\simplelink_msp432p4_sdk_3_40_01_02, and both the size and number of files in the folder are exactly the same, so we have determined that there is no difference.

    Also, please have the customer provide the FULL build output in the build console for both OK and NG builds. They can copy and paste to a text file which can then be attached to this thread.

    Attached are the console results of the same project built on both PCs.
    (The project name and the names under the C drive are intentionally hidden as they concern customer information.)

    /* OK Build */
    
    **** Clean-only build of configuration Debug for project PROJECT_A ****
    
    "C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O
    
    DEL /F  "syscfg\ti_drivers_config.h" "syscfg\syscfg_c.rov.xs"  "PROJECT_A.hex"  "syscfg\ti_drivers_config.c"  "PROJECT_A.out"
    DEL /F "ADXL346.obj" "syscfg\ti_drivers_config.obj" "FlashSettings.obj" "StartStop.obj" "Status_thread.obj" "adc_bat.obj" "deepsleep.obj" "empty.obj" "fram.obj" "main_tirtos.obj" "rtc.obj" "subThread.obj" "uart_thread.obj" "waitTimer.obj"
    DEL /F "ADXL346.d" "syscfg\ti_drivers_config.d" "FlashSettings.d" "StartStop.d" "Status_thread.d" "adc_bat.d" "deepsleep.d" "empty.d" "fram.d" "main_tirtos.d" "rtc.d" "subThread.d" "uart_thread.d" "waitTimer.d"
    RMDIR /S/Q  "syscfg\"
    C:\Users\XXXX\workspace_v10\PROJECT_A\Debug\PROJECT_A.hex が見つかりませんでした。
    Finished clean
    
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project PROJECT_A ****
    
    "C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
    
    Building file: "../PROJECT_A.syscfg"
    Invoking: SysConfig
    "C:/ti/ccs1011/ccs/utils/sysconfig_1.6.0/sysconfig_cli.bat" -s "C:/ti/simplelink_msp432p4_sdk_3_40_01_02/.metadata/product.json" -o "syscfg" "../PROJECT_A.syscfg"
    Running script...
    Validating...
    Generating Code...
    Writing C:\Users\XXXX\workspace_v10\PROJECT_A\Debug\syscfg\ti_drivers_config.c...
    Writing C:\Users\XXXX\workspace_v10\PROJECT_A\Debug\syscfg\ti_drivers_config.h...
    Writing C:\Users\XXXX\workspace_v10\PROJECT_A\Debug\syscfg\syscfg_c.rov.xs...
    Finished building: "../PROJECT_A.syscfg"
    
    Building file: "../StartStop.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="StartStop.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../StartStop.c"
    Finished building: "../StartStop.c"
    
    Building file: "syscfg/ti_drivers_config.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/ti_drivers_config.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --obj_directory="syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "syscfg/ti_drivers_config.c"
    Finished building: "syscfg/ti_drivers_config.c"
    
    Building file: "../FlashSettings.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="FlashSettings.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../FlashSettings.c"
    Finished building: "../FlashSettings.c"
    
    Building file: "../Status_thread.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Status_thread.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../Status_thread.c"
    "../Status_thread.c", line 161: warning #225-D: function "Flash_DebugWriteSettings" declared implicitly
    Finished building: "../Status_thread.c"
    
    Building file: "../ADXL346.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="ADXL346.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../ADXL346.c"
    "../ADXL346.c", line 273: warning #552-D: variable "transferOK" was set but never used
    "../ADXL346.c", line 311: warning #552-D: variable "transferOK" was set but never used
    "../ADXL346.c", line 606: warning #994-D: missing return statement at end of non-void function "ADXL346_Logging2"
    "../ADXL346.c", line 765: warning #552-D: variable "avrd" was set but never used
    "../ADXL346.c", line 766: warning #552-D: variable "maxd" was set but never used
    "../ADXL346.c", line 767: warning #552-D: variable "mind" was set but never used
    "../ADXL346.c", line 768: warning #179-D: variable "a" was declared but never referenced
    "../ADXL346.c", line 768: warning #179-D: variable "b" was declared but never referenced
    "../ADXL346.c", line 768: warning #179-D: variable "c" was declared but never referenced
    Finished building: "../ADXL346.c"
    
    Building file: "../adc_bat.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="adc_bat.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../adc_bat.c"
    "../adc_bat.c", line 74: warning #552-D: variable "res" was set but never used
    Finished building: "../adc_bat.c"
    
    Building file: "../deepsleep.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="deepsleep.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../deepsleep.c"
    Finished building: "../deepsleep.c"
    
    Building file: "../fram.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="fram.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../fram.c"
    "../fram.c", line 360: warning #994-D: missing return statement at end of non-void function "fram_IsCapacity"
    Finished building: "../fram.c"
    
    Building file: "../main_tirtos.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="main_tirtos.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../main_tirtos.c"
    Finished building: "../main_tirtos.c"
    
    Building file: "../empty.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="empty.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../empty.c"
    "../empty.c", line 364: warning #179-D: variable "i" was declared but never referenced
    Finished building: "../empty.c"
    
    Building file: "../subThread.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="subThread.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../subThread.c"
    Finished building: "../subThread.c"
    
    Building file: "../rtc.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="rtc.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../rtc.c"
    "../rtc.c", line 70: warning #225-D: function "Flash_DebugWriteSettings" declared implicitly
    Finished building: "../rtc.c"
    
    Building file: "../waitTimer.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="waitTimer.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../waitTimer.c"
    Finished building: "../waitTimer.c"
    
    Building file: "../uart_thread.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="uart_thread.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../uart_thread.c"
    "../uart_thread.c", line 826: warning #179-D: variable "buf" was declared but never referenced
    "../uart_thread.c", line 1001: warning #179-D: variable "bResult" was declared but never referenced
    "../uart_thread.c", line 1055: warning #994-D: missing return statement at end of non-void function "WriteAllParam"
    "../uart_thread.c", line 1201: warning #112-D: statement is unreachable
    "../uart_thread.c", line 1213: warning #552-D: variable "bResult" was set but never used
    "../uart_thread.c", line 1629: warning #179-D: variable "checksum" was declared but never referenced
    "../uart_thread.c", line 1870: warning #179-D: variable "i" was declared but never referenced
    "../uart_thread.c", line 1900: warning #179-D: variable "dx" was declared but never referenced
    "../uart_thread.c", line 1900: warning #179-D: variable "dy" was declared but never referenced
    "../uart_thread.c", line 1900: warning #179-D: variable "dz" was declared but never referenced
    Finished building: "../uart_thread.c"
    
    Building target: "PROJECT_A.out"
    Invoking: ARM Linker
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"PROJECT_A.map" --heap_size=1024 --stack_size=512 -i"C:/ti/ccs1011/ccs/ccs_base/arm/include" -i"C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" -i"C:/ti/simplelink_msp432p4_sdk_3_40_01_02/kernel/tirtos/packages" -i"C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/lib" --diag_wrap=off --display_error_number --warn_sections --xml_link_info="PROJECT_A_linkInfo.xml" --rom_model -o "PROJECT_A.out" "./ADXL346.obj" "./syscfg/ti_drivers_config.obj" "./FlashSettings.obj" "./StartStop.obj" "./Status_thread.obj" "./adc_bat.obj" "./deepsleep.obj" "./empty.obj" "./fram.obj" "./main_tirtos.obj" "./rtc.obj" "./subThread.obj" "./uart_thread.obj" "./waitTimer.obj" "../MSP_EXP432P401R_TIRTOS.cmd" -l"ti/display/lib/display.aem4f" -l"ti/grlib/lib/ccs/m4f/grlib.a" -l"third_party/spiffs/lib/ccs/m4f/spiffs.a" -l"ti/drivers/lib/drivers_msp432p401x.aem4f" -l"third_party/fatfs/lib/ccs/m4f/fatfs.a" -l"ti/dpl/lib/dpl_msp432p401x.aem4f" -l"C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/linker.cmd"  -l"ti/devices/msp432p4xx/driverlib/ccs/msp432p4xx_driverlib.lib" -llibc.a
    <Linking>
    Finished building target: "PROJECT_A.out"
    
    
    **** Build Finished ****
    
    
    
    
    /* NG Build */
    
    **** Clean-only build of configuration Debug for project PROJECT_A ****
    
    "C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O
    
    DEL /F  "syscfg\ti_drivers_config.h" "syscfg\syscfg_c.rov.xs"  "PROJECT_A.hex"  "syscfg\ti_drivers_config.c"  "PROJECT_A.out"
    DEL /F "ADXL346.obj" "syscfg\ti_drivers_config.obj" "FlashSettings.obj" "StartStop.obj" "Status_thread.obj" "adc_bat.obj" "deepsleep.obj" "empty.obj" "fram.obj" "main_tirtos.obj" "rtc.obj" "subThread.obj" "uart_thread.obj" "waitTimer.obj"
    DEL /F "ADXL346.d" "syscfg\ti_drivers_config.d" "FlashSettings.d" "StartStop.d" "Status_thread.d" "adc_bat.d" "deepsleep.d" "empty.d" "fram.d" "main_tirtos.d" "rtc.d" "subThread.d" "uart_thread.d" "waitTimer.d"
    RMDIR /S/Q  "syscfg\"
    C:\Users\XXXX\workspace_v10\PROJECT_A\Debug\PROJECT_A.hex が見つかりませんでした。
    Finished clean
    
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project PROJECT_A ****
    
    "C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
    
    Building file: "../PROJECT_A.syscfg"
    Invoking: SysConfig
    "C:/ti/ccs1011/ccs/utils/sysconfig_1.6.0/sysconfig_cli.bat" -s "C:/ti/simplelink_msp432p4_sdk_3_40_01_02/.metadata/product.json" -o "syscfg" "C:/Users/XXXX/workspace_v10/PROJECT_A/PROJECT_A.syscfg" --compiler ccs
    Running script...
    Validating...
    Generating Code...
    Writing C:\Users\XXXX\workspace_v10\PROJECT_A\Debug\syscfg\ti_drivers_config.c...
    Writing C:\Users\XXXX\workspace_v10\PROJECT_A\Debug\syscfg\ti_drivers_config.h...
    Writing C:\Users\XXXX\workspace_v10\PROJECT_A\Debug\syscfg\syscfg_c.rov.xs...
    Finished building: "../PROJECT_A.syscfg"
    
    Building file: "../StartStop.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="StartStop.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../StartStop.c"
    Finished building: "../StartStop.c"
    
    Building file: "syscfg/ti_drivers_config.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/ti_drivers_config.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --obj_directory="syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "syscfg/ti_drivers_config.c"
    Finished building: "syscfg/ti_drivers_config.c"
    
    Building file: "../FlashSettings.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="FlashSettings.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../FlashSettings.c"
    Finished building: "../FlashSettings.c"
    
    Building file: "../ADXL346.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="ADXL346.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../ADXL346.c"
    "../ADXL346.c", line 273: warning #552-D: variable "transferOK" was set but never used
    "../ADXL346.c", line 311: warning #552-D: variable "transferOK" was set but never used
    "../ADXL346.c", line 606: warning #994-D: missing return statement at end of non-void function "ADXL346_Logging2"
    "../ADXL346.c", line 765: warning #552-D: variable "avrd" was set but never used
    "../ADXL346.c", line 766: warning #552-D: variable "maxd" was set but never used
    "../ADXL346.c", line 767: warning #552-D: variable "mind" was set but never used
    "../ADXL346.c", line 768: warning #179-D: variable "a" was declared but never referenced
    "../ADXL346.c", line 768: warning #179-D: variable "b" was declared but never referenced
    "../ADXL346.c", line 768: warning #179-D: variable "c" was declared but never referenced
    Finished building: "../ADXL346.c"
    
    Building file: "../Status_thread.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Status_thread.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../Status_thread.c"
    "../Status_thread.c", line 161: warning #225-D: function "Flash_DebugWriteSettings" declared implicitly
    Finished building: "../Status_thread.c"
    
    Building file: "../adc_bat.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="adc_bat.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../adc_bat.c"
    "../adc_bat.c", line 74: warning #552-D: variable "res" was set but never used
    Finished building: "../adc_bat.c"
    
    Building file: "../deepsleep.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="deepsleep.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../deepsleep.c"
    Finished building: "../deepsleep.c"
    
    Building file: "../main_tirtos.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="main_tirtos.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../main_tirtos.c"
    Finished building: "../main_tirtos.c"
    
    Building file: "../fram.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="fram.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../fram.c"
    "../fram.c", line 360: warning #994-D: missing return statement at end of non-void function "fram_IsCapacity"
    Finished building: "../fram.c"
    
    Building file: "../empty.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="empty.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../empty.c"
    "../empty.c", line 364: warning #179-D: variable "i" was declared but never referenced
    Finished building: "../empty.c"
    
    Building file: "../subThread.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="subThread.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../subThread.c"
    Finished building: "../subThread.c"
    
    Building file: "../rtc.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="rtc.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../rtc.c"
    "../rtc.c", line 70: warning #225-D: function "Flash_DebugWriteSettings" declared implicitly
    Finished building: "../rtc.c"
    
    Building file: "../waitTimer.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="waitTimer.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../waitTimer.c"
    Finished building: "../waitTimer.c"
    
    Building file: "../uart_thread.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/inc" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/drivers/lib" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include" --include_path="C:/ti/ccs1011/ccs/ccs_base/arm/include/CMSIS" --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="uart_thread.d_raw" --include_path="C:/Users/XXXX/workspace_v10/PROJECT_A/Debug/syscfg" --cmd_file="C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt"  "../uart_thread.c"
    "../uart_thread.c", line 826: warning #179-D: variable "buf" was declared but never referenced
    "../uart_thread.c", line 1001: warning #179-D: variable "bResult" was declared but never referenced
    "../uart_thread.c", line 1055: warning #994-D: missing return statement at end of non-void function "WriteAllParam"
    "../uart_thread.c", line 1201: warning #112-D: statement is unreachable
    "../uart_thread.c", line 1213: warning #552-D: variable "bResult" was set but never used
    "../uart_thread.c", line 1629: warning #179-D: variable "checksum" was declared but never referenced
    "../uart_thread.c", line 1870: warning #179-D: variable "i" was declared but never referenced
    "../uart_thread.c", line 1900: warning #179-D: variable "dx" was declared but never referenced
    "../uart_thread.c", line 1900: warning #179-D: variable "dy" was declared but never referenced
    "../uart_thread.c", line 1900: warning #179-D: variable "dz" was declared but never referenced
    Finished building: "../uart_thread.c"
    
    Building target: "PROJECT_A.out"
    Invoking: Arm Linker
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --define=__MSP432P401R__ --define=ccs -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"PROJECT_A.map" --heap_size=1024 --stack_size=512 -i"C:/ti/ccs1011/ccs/ccs_base/arm/include" -i"C:/ti/simplelink_msp432p4_sdk_3_40_01_02/source" -i"C:/ti/simplelink_msp432p4_sdk_3_40_01_02/kernel/tirtos/packages" -i"C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/lib" --diag_wrap=off --display_error_number --warn_sections --xml_link_info="PROJECT_A_linkInfo.xml" --rom_model -o "PROJECT_A.out" "./ADXL346.obj" "./syscfg/ti_drivers_config.obj" "./FlashSettings.obj" "./StartStop.obj" "./Status_thread.obj" "./adc_bat.obj" "./deepsleep.obj" "./empty.obj" "./fram.obj" "./main_tirtos.obj" "./rtc.obj" "./subThread.obj" "./uart_thread.obj" "./waitTimer.obj" "../MSP_EXP432P401R_TIRTOS.cmd" -l"ti/display/lib/display.aem4f" -l"ti/grlib/lib/ccs/m4f/grlib.a" -l"third_party/spiffs/lib/ccs/m4f/spiffs.a" -l"ti/drivers/lib/drivers_msp432p401x.aem4f" -l"third_party/fatfs/lib/ccs/m4f/fatfs.a" -l"ti/dpl/lib/dpl_msp432p401x.aem4f" -l"C:/Users/XXXX/workspace_v10/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/linker.cmd"  -l"ti/devices/msp432p4xx/driverlib/ccs/msp432p4xx_driverlib.lib" -llibc.a 
    <Linking>
    Finished building target: "PROJECT_A.out"
    
    
    **** Build Finished ****
    
    
    

    Best regards,
    O.H

  • Thank you. The build output between the two are very similar. The compiler order of the files are slightly different but the link order appears the same. The parameters to the sysconfig call are a bit different but I believe that would not make a difference here. Same version of the compiler and CCS is used.

    Can the *.map files for both scenarios be provided also?

  • Hell Ki,

    Thank you for your support.

    *.map file has been sent to you via private chat due to customer requests.

    Best regards,
    O.H

  • Thank you. I do see subtle differences. I don't know what the reasons could be. I will need bring this thread to the attention of the compiler experts for further attention

  • Thank you for submitting the map files.  I can see differences.  I cannot explain them.  

    The version of the tools is in the first few lines.  From the OK map file ...

                      TI ARM Linker PC v20.2.1

    From the NG build ...

                      TI ARM Linker PC v20.2.7

    The NG build uses version 20.2.7.LTS.  This is different from what is shown in the build logs a few posts ago.  In both of those build logs, version 20.2.1.LTS is used.

    Another difference is the size of one of the functions.  Here is the entry from the OK map file...

                      00008af8    000000e0     sysbios.aem4f : BIOS.obj (.text:ti_sysbios_knl_Task_Instance_init__E)
                      

    Here is the corresponding entry from the NG map file ...

                      00008938    000000e4     sysbios.aem4f : BIOS.obj (.text:ti_sysbios_knl_Task_Instance_init__E)
    

    This is the code for the function ti_sysbios_knl_Task_Instance_init__E, from the object file BIOS.obj, which is a member of the library sysbios.aem4f.  The first column is the address.  Just for now, ignore that difference.  The second column is the size.  Focus on that difference.  I cannot explain why they are not the same size.

    There are probably other differences.  But these two differences seem like a good place to start.

    Thanks and regards,

    -George

  • Hi George,

    Thank you for your support.

    The version of the tools is in the first few lines.  From the OK map file ...

    Fullscreen
    1
    TI ARM Linker PC v20.2.1
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    From the NG build ...

    Fullscreen
    1
    TI ARM Linker PC v20.2.7
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    The NG build uses version 20.2.7.LTS.  This is different from what is shown in the build logs a few posts ago.  In both of those build logs, version 20.2.1.LTS is used.

    My apologies.

    We unified the compiler version to "v20.2.1", but there was no difference in the *.map file.
    "sysbios.aem4f : BIOS.obj (.text:ti_sysbios_knl_Task_Instance_init__E)" zise is not affected.

    Another difference is the size of one of the functions.  Here is the entry from the OK map file...

    Fullscreen
    1
    00008af8 000000e0 sysbios.aem4f : BIOS.obj (.text:ti_sysbios_knl_Task_Instance_init__E)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Here is the corresponding entry from the NG map file ...

    Fullscreen
    1
    00008938 000000e4 sysbios.aem4f : BIOS.obj (.text:ti_sysbios_knl_Task_Instance_init__E)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    This is the code for the function ti_sysbios_knl_Task_Instance_init__E, from the object file BIOS.obj, which is a member of the library sysbios.aem4f.  The first column is the address.  Just for now, ignore that difference.  The second column is the size.  Focus on that difference.  I cannot explain why they are not the same size.

    Is there any indicator to determine if the build is working properly?
    By the way, is this case applicable only to MSP432P4?

    For this time only, we have been able to identify a PC that can build normally, so we can deal with the problem if we work only on that PC.
    However, we do not want the build result to change depending on the PC when we think about the future...

    Best regards,
    O.H

  • Is there any indicator to determine if the build is working properly?

    No.  Run your tests to see if it runs correctly.

    is this case applicable only to MSP432P4?

    We don't know what is going on, or the cause.  It is unlikely that it is specific to MSP432P4.

    There is a difference in the file after using "Code Generation Tools XML Processing Utilities" and entering the .out file.

    I'd like to see that.

    There is a difference in the .map file.

    I presume you mean some difference that I have not already addressed.  I'd like to see that.

    Thanks and regards,

    -George

  • Hi George,

    Thank you for your support.

    There is a difference in the file after using "Code Generation Tools XML Processing Utilities" and entering the .out file.

    I'd like to see that.

    Attached is the file.

    /* OK PC */
    
    C:\Program Files (x86)\ti\cgxml-2.61.00\bin>ofd6x -x OK.out | sectti
    Reading from stdin ...
    
    ************************************************************
    REPORT FOR FILE: OK.out
    ************************************************************
                    Name : Size (dec)  Size (hex)  Type   Load Addr   Run Addr
    -------------------- : ----------  ----------  ----   ----------  ----------
                   .text :      66850  0x00010522  CODE   0x00000040  0x00000040
                  .const :       2454  0x00000996  DATA   0x00010564  0x00010564
                  .cinit :       1632  0x00000660  DATA   0x00010f00  0x00010f00
                   .data :       5597  0x000015dd  UDATA  0x20008140  0x20008140
                    .bss :       3409  0x00000d51  UDATA  0x20009800  0x20009800
                .priheap :      32768  0x00008000  UDATA  0x20000140  0x20000140
                  .stack :       1024  0x00000400  UDATA  0x2000fc00  0x2000fc00
              .resetVecs :         60  0x0000003c  DATA   0x00000000  0x00000000
    
    ------------------------------------------------------------
    Totals by section type
    ------------------------------------------------------------
      Uninitialized Data :      42798  0x0000a72e
        Initialized Data :       4146  0x00001032
                    Code :      66850  0x00010522
     
    /* NG PC */
    
    c:\Program Files (x86)\ti\cgxml-2.61.00\bin>ofd6x -x NG.out | sectti
    Reading from stdin ...
    
    ************************************************************
    REPORT FOR FILE: NG.out
    ************************************************************
                    Name : Size (dec)  Size (hex)  Type   Load Addr   Run Addr
    -------------------- : ----------  ----------  ----   ----------  ----------
                   .text :      66858  0x0001052a  CODE   0x00000040  0x00000040
                  .const :       2454  0x00000996  DATA   0x0001056c  0x0001056c
                  .cinit :       1640  0x00000668  DATA   0x00010f08  0x00010f08
                   .data :       5597  0x000015dd  UDATA  0x20008140  0x20008140
                    .bss :       3409  0x00000d51  UDATA  0x20009800  0x20009800
                .priheap :      32768  0x00008000  UDATA  0x20000140  0x20000140
                  .stack :       1024  0x00000400  UDATA  0x2000fc00  0x2000fc00
              .resetVecs :         60  0x0000003c  DATA   0x00000000  0x00000000
    
    ------------------------------------------------------------
    Totals by section type
    ------------------------------------------------------------
      Uninitialized Data :      42798  0x0000a72e
        Initialized Data :       4154  0x0000103a
                    Code :      66858  0x0001052a

    There is a difference in the .map file.

    I presume you mean some difference that I have not already addressed.  I'd like to see that.

    Sorry. I am giving confusing information.
    As for the above, there is no difference between the "Code Generation Tools XML Processing Utilities" output and the .map file.
    The flow is that there is a difference in the output of the "Code Generation Tools XML Processing Utilities", so I examined the .map file.

    Best regards,
    O.H

  • Focus on the 8 byte difference in the size of the .text section.  We already know that 4 bytes of that difference are caused by the function ti_sysbios_knl_Task_Instance_init__E.   To find the function causes the other 4 bytes of difference, use the technique described in the article Find Source of Code Size Increase.  But use it to find all the functions with a different size.  

    I repeat a point I made earlier.  I cannot explain why the function ti_sysbios_knl_Task_Instance_init__E is a different size.

    Thanks and regards,

    -George

  • Hi George,

    Thank you for your reply.

    Is it difficult to come up with some sort of guess as to the cause of this problem?

    Focus on the 8 byte difference in the size of the .text section.  We already know that 4 bytes of that difference are caused by the function ti_sysbios_knl_Task_Instance_init__E.   To find the function causes the other 4 bytes of difference, use the technique described in the article Find Source of Code Size Increase.  But use it to find all the functions with a different size.  

    I repeat a point I made earlier.  I cannot explain why the function ti_sysbios_knl_Task_Instance_init__E is a different size.

    Using the above tools, we found that the only function with a difference is "ti_sysbios_knl_Task_Instance_init__E".
    Also, for some reason, the size was increased to 6Byte...

    OK.out ti_sysbios_knl_Task_Instance_init__E C:/ti/simplelink_msp432p4_sdk_3_40_01_02/kernel/tirtos/packages/ti/sysbios/knl/Task.c 0x00008af8 0x00008bc2 202
    NG.out ti_sysbios_knl_Task_Instance_init__E C:/ti/simplelink_msp432p4_sdk_3_40_01_02/kernel/tirtos/packages/ti/sysbios/knl/Task.c 0x00008938 0x00008a08 208

    Best regards,
    O.H

  • Hi -- what is the difference in the content between the two builds of ti_sysbios_knl_Task_Instance_init__E; can you disassemble it? It sounds like there is something about the environment on each of these PCs that is actually different.

  • Hi Alan Phipps,

    Thank you for your advice.

    "ti_sysbios_knl_Task_Instance_init__E" is defined as "Task_Instance_init" in "task.h".
    Since "Task.c" contains "Task_Instance_init()", I will compare this between PCs as you suggested.

    Best regrads,
    O.H

  • Hi Alan Phipps,

    "ti_sysbios_knl_Task_Instance_init__E" is defined as "Task_Instance_init" in "task.h".
    Since "Task.c" contains "Task_Instance_init()", I will compare this between PCs as you suggested.

    No differences were found as a result of the above...

    Also, they uninstalled the SDK on the abnormal PC and copied and pasted the folder on the normal PC, The .map file did not change as it was in the case of abnormality.

    Best regards,
    O.H

  • Hi -- I'm asking about the disassembled object code, not the source code.  You stated above that the object code for the function was different sizes. You can use the dis2000 tool to disassemble it.  What we're trying to understand is what accounts for the difference in size.  It sounds like something in the environment is resulting in the code being built slightly differently on the different PCs.

    Thanks,

  • Hi Alan Phipps,

    Hi -- I'm asking about the disassembled object code, not the source code.  You stated above that the object code for the function was different sizes. You can use the dis2000 tool to disassemble it.  What we're trying to understand is what accounts for the difference in size.  It sounds like something in the environment is resulting in the code being built slightly differently on the different PCs.

    Sorry for the misunderstanding.

    The CPU is M4F, so we ran the tool in the following path on an OK PC. The results of running the tool without the "armdis.exe" option are attached.
    C:\ti\ccs1011\ccs\tools\compiler\ti-cgt-arm_20.2.1.LTS\bin

    The number of bytes has increased by 4 bytes, but the order and content of the instructions have also changed slightly.

    Is it difficult to consider factors and countermeasures from this difference or from further investigation...?

    /* OK.out */
    
    TEXT Section .text	 0x10522 bytes at 0x00000040
    ~~~~~
    008af8:              ti_sysbios_knl_Task_Instance_init__E:								
    008af8:               .thumb								
    008af8:              .text:ti_sysbios_knl_Task_Instance_init__E:
    ~~~~~
    008b48:              $C$L385:								
    008b48: 002A             CMP             R2	 #0							
    008b4a: 08BF             IT              EQ								
    008b4c: 2362             STREQ           R3	 [R4	 #32]						
    008b4e: 09D0             BEQ             $C$L386 [0x8b64]								
    008b50: 9B18             ADDS            R3	 R3	 R2						
    008b52: 521E             SUBS            R2	 R2	 #1						
    008b54: 5B1E             SUBS            R3	 R3	 #1						
    008b56: 9343             BICS            R3	 R2							
    008b58: 2362             STR             R3	 [R4	 #32]						
    008b5a: E969             LDR             R1	 [R5	 #28]						
    008b5c: FF1A             SUBS            R7	 R7	 R3						
    008b5e: 7F18             ADDS            R7	 R7	 R1						
    008b60: E761             STR             R7	 [R4	 #28]						
    008b62: 9743             BICS            R7	 R2
    ~~~~~
    /* NG.out */
    
    TEXT Section .text	 0x1052a bytes at 0x00000040
    ~~~~~
    008938:              ti_sysbios_knl_Task_Instance_init__E:							
    008938:               .thumb								
    008938:              .text:ti_sysbios_knl_Task_Instance_init__E:
    ~~~~~
    008988:              $C$L385:								
    008988: 002A             CMP             R2	 #0							
    00898a: 04BF             ITT             EQ								
    00898c: 2362             STREQ           R3	 [R4	 #32]						
    00898e: 381C             ADDEQ           R0	 R7	 #0						
    008990: 0BD0             BEQ             $C$L386 [0x89aa]								
    008992: 501E             SUBS            R0	 R2	 #1						
    008994: 9B18             ADDS            R3	 R3	 R2						
    008996: C043             MVNS            R0	 R0							
    008998: 5B1E             SUBS            R3	 R3	 #1						
    00899a: 00EA0302         AND.W           R2	 R0	 R3						
    00899e: 2262             STR             R2	 [R4	 #32]						
    0089a0: E969             LDR             R1	 [R5	 #28]						
    0089a2: BF1A             SUBS            R7	 R7	 R2						
    0089a4: 7F18             ADDS            R7	 R7	 R1						
    0089a6: E761             STR             R7	 [R4	 #28]						
    0089a8: 3840             ANDS            R0	 R7
    ~~~~~

    Best regards,
    O.H

  • Thanks!  Yes you can use armdis (not dis2000 as I incorrectly said above). This definitely proves that the compilation of this function is different for each environment.  I think you're going to have to work backward from this to figure out what is changing in the compile. You may need to reach out to the SDK owners to debug this.

  • Hi Alan Phipps,

    Does this mean that this issue may be dependent on the msp432p4_SDK?

    Best regards,
    O.H

  • I'm not sure it is an issue specifically with the SDK, but I think the SDK product line is in the best position to help figure out what is introducing the issue. It seems dependent on the actual project and something about the build system environments and not the compiler itself.

  • Hi Alan Phipps,

    Sorry for late reply.

    We discussed this with the customer and decided not to carry out any further investigations.
    Using the results of the investigation so far as information, we concluded that "it depends on the build system environment on the PC side".

    I'm not sure it is an issue specifically with the SDK, but I think the SDK product line is in the best position to help figure out what is introducing the issue. It seems dependent on the actual project and something about the build system environments and not the compiler itself.

    Thank you for your kind support!

    Best regards,
    O.H