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.

CODECOMPOSER: Unable to flash code to Launchpad - Could not load file error

Part Number: CODECOMPOSER

Hi

I am unable to flash the code on the LP. It gives me the following error:

I have checked that the .out and .map files are present. 

This error is for all projects and workspaces that I have. 

  • Hello,

    Can you provide all the build messages in the build console? You can copy&paste the text to a text file and attach it to this thread.

    Thanks

    ki

  • Hi,

    since I have the same problem, so I can provide you with my build output: 

    BuildLog_sbl_null_am_243x.txt
    **** Clean-only build of configuration Debug for project sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang ****
    
    "C:\\swe\\tools\\CodeComposerStudio1220\\ccs\\ccs\\utils\\bin\\gmake" -k -j 24 clean -O 
     
    DEL /F  "syscfg\ti_dpl_config.h" "syscfg\ti_drivers_config.h" "syscfg\ti_drivers_open_close.h" "syscfg\ti_board_config.h" "syscfg\ti_board_open_close.h" "syscfg\ti_enet_config.h" "syscfg\ti_enet_open_close.h" "syscfg\ti_enet_lwipif.h" "syscfg\ti_pru_io_config.inc"  "syscfg\ti_dpl_config.c" "syscfg\ti_drivers_config.c" "syscfg\ti_drivers_open_close.c" "syscfg\ti_pinmux_config.c" "syscfg\ti_power_clock_config.c" "syscfg\ti_board_config.c" "syscfg\ti_board_open_close.c" "syscfg\ti_enet_config.c" "syscfg\ti_enet_open_close.c" "syscfg\ti_enet_soc.c" "syscfg\ti_enet_lwipif.c"  "sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out" 
    DEL /F "syscfg\ti_dpl_config.o" "syscfg\ti_drivers_config.o" "syscfg\ti_drivers_open_close.o" "syscfg\ti_pinmux_config.o" "syscfg\ti_power_clock_config.o" "syscfg\ti_board_config.o" "syscfg\ti_board_open_close.o" "syscfg\ti_enet_config.o" "syscfg\ti_enet_open_close.o" "syscfg\ti_enet_soc.o" "syscfg\ti_enet_lwipif.o" "main.o" 
    DEL /F "syscfg\ti_dpl_config.d" "syscfg\ti_drivers_config.d" "syscfg\ti_drivers_open_close.d" "syscfg\ti_pinmux_config.d" "syscfg\ti_power_clock_config.d" "syscfg\ti_board_config.d" "syscfg\ti_board_open_close.d" "syscfg\ti_enet_config.d" "syscfg\ti_enet_open_close.d" "syscfg\ti_enet_soc.d" "syscfg\ti_enet_lwipif.d" "main.d" 
    RMDIR /S/Q  "syscfg\" 
    Finished clean
     
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang ****
    
    "C:\\swe\\tools\\CodeComposerStudio1220\\ccs\\ccs\\utils\\bin\\gmake" -k -j 24 all -O 
     
    Building file: "../example.syscfg"
    Invoking: SysConfig
    "C:/swe/tools/CodeComposerStudio1220/sysconfig_1_14_0/sysconfig_cli.bat" -s "C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/.metadata/product.json" --script "C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/example.syscfg" --context "r5fss0-0" -o "syscfg" --part ALV --package ALV --compiler ticlang
    Running script...
    Validating...
    Generating Code (example.syscfg)...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_dpl_config.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_dpl_config.h...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_config.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_config.h...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.h...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_pinmux_config.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_power_clock_config.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_config.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_config.h...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_open_close.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_open_close.h...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_config.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_config.h...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_open_close.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_open_close.h...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_soc.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_lwipif.c...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_lwipif.h...
    Writing C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_pru_io_config.inc...
    Finished building: "../example.syscfg"
     
    Building file: "syscfg/ti_dpl_config.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_dpl_config.d_raw" -MT"syscfg/ti_dpl_config.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_dpl_config.o" "syscfg/ti_dpl_config.c"
    Finished building: "syscfg/ti_dpl_config.c"
     
    Building file: "syscfg/ti_drivers_open_close.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_open_close.d_raw" -MT"syscfg/ti_drivers_open_close.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_open_close.o" "syscfg/ti_drivers_open_close.c"
    Finished building: "syscfg/ti_drivers_open_close.c"
     
    Building file: "syscfg/ti_drivers_config.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
    Finished building: "syscfg/ti_drivers_config.c"
     
    Building file: "syscfg/ti_enet_config.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_config.d_raw" -MT"syscfg/ti_enet_config.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_config.o" "syscfg/ti_enet_config.c"
    Finished building: "syscfg/ti_enet_config.c"
     
    Building file: "syscfg/ti_pinmux_config.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_pinmux_config.d_raw" -MT"syscfg/ti_pinmux_config.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_pinmux_config.o" "syscfg/ti_pinmux_config.c"
    Finished building: "syscfg/ti_pinmux_config.c"
     
    Building file: "syscfg/ti_enet_open_close.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_open_close.d_raw" -MT"syscfg/ti_enet_open_close.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_open_close.o" "syscfg/ti_enet_open_close.c"
    Finished building: "syscfg/ti_enet_open_close.c"
     
    Building file: "syscfg/ti_enet_lwipif.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_lwipif.d_raw" -MT"syscfg/ti_enet_lwipif.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_lwipif.o" "syscfg/ti_enet_lwipif.c"
    Finished building: "syscfg/ti_enet_lwipif.c"
     
    Building file: "syscfg/ti_power_clock_config.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_power_clock_config.d_raw" -MT"syscfg/ti_power_clock_config.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_power_clock_config.o" "syscfg/ti_power_clock_config.c"
    Finished building: "syscfg/ti_power_clock_config.c"
     
    Building file: "../main.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"main.d_raw" -MT"main.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"main.o" "../main.c"
    Finished building: "../main.c"
     
    Building file: "syscfg/ti_board_config.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_config.d_raw" -MT"syscfg/ti_board_config.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_config.o" "syscfg/ti_board_config.c"
    Finished building: "syscfg/ti_board_config.c"
     
    Building file: "syscfg/ti_board_open_close.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_open_close.d_raw" -MT"syscfg/ti_board_open_close.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_open_close.o" "syscfg/ti_board_open_close.c"
    Finished building: "syscfg/ti_board_open_close.c"
     
    Building file: "syscfg/ti_enet_soc.c"
    Invoking: Arm Compiler
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source" -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_soc.d_raw" -MT"syscfg/ti_enet_soc.o" -I"C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_soc.o" "syscfg/ti_enet_soc.c"
    Finished building: "syscfg/ti_enet_soc.c"
     
    Building target: "sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out"
    Invoking: Arm Linker
    "C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"sbl_null.Debug.map" -Wl,-i"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/nortos/lib" -Wl,-i"C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source/drivers/lib" -Wl,-i"C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./main.o" "../linker.cmd"  -Wl,-lnortos.am243x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am243x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.a -Wl,-llibsysbm.a 
    Finished building target: "sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out"
     
    C:/swe/tools/CodeComposerStudio1220/ccs/ccs/utils/bin/gmake -C C:\swe\projects\GABEL_neu\CCS_Test_Projekt3\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang -f makefile_ccs_bootimage_gen OUTNAME=sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang PROFILE=Debug MCU_PLUS_SDK_PATH=C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24 CG_TOOL_ROOT=C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS CCS_INSTALL_DIR=C:\swe\tools\CodeComposerStudio1220\ccs\ccs CCS_IDE_MODE=desktop
     Boot image: am243x:r5fss0-0:nortos:ti-arm-clang C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.tiimage ...
    C:/swe/tools/CodeComposerStudio1220/ccs/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmobjcopy --strip-sections -O binary Debug/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.bin
    python C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/tools/boot/signing/rom_image_gen.py --swrv 1 --sbl-bin C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.bin --sysfw-bin C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-fs-enc.bin --sysfw-inner-cert C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-fs-enc-cert.bin --boardcfg-blob C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source/drivers/sciclient/sciclient_default_boardcfg/am64x_am243x/boardcfg_blob.bin --sbl-loadaddr 0x70000000 --sysfw-loadaddr 0x44000 --bcfg-loadaddr 0x7B000 --key C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/tools/boot/signing/rom_degenerateKey.pem --rom-image C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_null.Debug.hs_fs.tiimage
    python C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/tools/boot/signing/rom_image_gen.py --swrv 1 --sbl-bin C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.bin --sysfw-bin C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source/drivers/sciclient/soc/am64x_am243x/sysfw.bin --boardcfg-blob C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/source/drivers/sciclient/sciclient_default_boardcfg/am64x_am243x/boardcfg_blob.bin --sbl-loadaddr 0x70000000 --sysfw-loadaddr 0x44000 --bcfg-loadaddr 0x7B000 --key C:/swe/tools/CodeComposerStudio1220/mcu_plus_sdk_am243x_08_05_00_24/tools/boot/signing/rom_degenerateKey.pem --rom-image C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.tiimage
    C:\swe\tools\CodeComposerStudio1220\ccs\ccs/utils/cygwin/cp C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.tiimage C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/tiboot3.bin
     Boot image: am243x:r5fss0-0:nortos:ti-arm-clang C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_null.Debug.hs_fs.tiimage Done !!!
     Boot image: am243x:r5fss0-0:nortos:ti-arm-clang C:/swe/projects/GABEL_neu/CCS_Test_Projekt3/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.tiimage Done !!!
     .
     
    
    **** Build Finished ****
    .

    I doubt that you will find anything in there since it is a successfull build, so all files get generated. If the .out file is missing it says so in the error message, but not in this case, so I assume this error has to do with some CCS internal file.

    At least on my computer the error seems to happen randomly. The only fix that works is to reinstall CCS. I also tried putting the CCS directory under version control to see if I accidentially change some files but that does not happen.

    Let's be honest, the message "Could not load file" is not helpfull. Is there some way to get more information?

    Also interesting, I only have this problem with R5 cores of the AM243x but not with the ICSS cores.

    Best regards

    André

  • Let's be honest, the message "Could not load file" is not helpfull. Is there some way to get more information?

    Since the *.out file is there. I suspect it is some other file... a file that is referenced in the GEL file.

    You can enable debug server logging for more details:

    https://software-dl.ti.com/ccs/esd/documents/ccs_diagnostic-logs.html

    Enable logging before launching the debug session and then disable it after the error is reproduced. Then zip the log and attach it to this thread. 

    Thanks

    ki

  • Thanks for tip,

    I will do that as soon as the error manifests on my system again. For some reason the error vanished after a few restarts of my computer over the last week. But since I encountered this error multiple times over the last weeks I am pretty confident that I will run into it again.

    Best regards

    André

  • Please keep us posted. 

    Thanks

    ki

  • Good Morning,

    here is the Debug Server log. If you search for "Could not load file" you find that the .out file could not be read. I checked that the file is present and suspect that there could be some issue with user privileges since I use CCS only for debugging and build my SW using CMake in another program.

    One odd thing is that I only have this problem with the binary for the R5F core but not for the PRU core, which I am also using.

    CCC_DebugServer.log

    Do you see anything else or have another idea what could be the cause of the problem?

    Also, where and how can I suggest a change for CCS to also print the name of the file if this error happens?

    Have a good start of the day and best regards

    André

  • This is the error:

    0x000054D4 696448 3 MAIN_Cortex_R5_0_0 GEL I: Evaluation of "GEL_Load("C:\swe\projects\gabel-le-spielwiese\build\bin\app_pru_blink_led.out")" failed: Could not load file

    Where does this come from? Does this exist in the above path?
    Also, where and how can I suggest a change for CCS to also print the name of the file if this error happens?

    This is not something you could configure. It would need to be done by the CCS team.

    Thanks

    ki

  • Hi,

    as I already stated with my last post: Yes the mentioned .out file is present and the metioned path is correct.

    Since today it is working again I also have the Debug Server log when everything works fine:

    CAN_LOAD_FILE_CCC_DebugServer.log

    So how do we tell the CCS team that such a change would be neat? Can you do it or can you point me towards a formular or sth.?

  • Yes the mentioned .out file is present and the metioned path is correct.

    Ok, I just wanted to confirm it was app_pru_blink_led.out that we were discussing and not sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out that was discussed earlier.

    I believe I misunderstood the original question. I assumed you were trying to debug the sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang project and getting an error when in fact you were just trying to load app_pru_blink_led.out all along. sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang just happened to be the last project you built.

    So how do we tell the CCS team that such a change would be neat? Can you do it or can you point me towards a formular or sth.?

    I have informed them already regarding more descriptive error messages. This would be something they would need to implement for a future release.

  • Good morning,

    well, that one is on me for assuming it was clear which binary was meant. To prevent further confussion here are my steps to reproduce the error (keep in mind that the error happens sporadically):

    1. Compile the binary outside of CCS (I happen to have a CMake project which I call from the terminal inside VS Code)
    2. in CCS have a project for the Sitara TDMS243EVM and a corresponding "Target configuration" for the debugger
    3. right click on "target configuration" -> Launch Selected Configuration
    4. CCS switches to debugger view
    5. right click on R5 core and click on Connect Target
    6. click "CPU Reset"
    7. load symbols/program from the created binary under Run -> Load -> Load Symbols/Program
    8. navigate to the binary created in step one and click Ok
    9. Console prints error "GEL: Could not load file"

    So, looking at the log do you or any of the CCS people have any idea what could be causing that error, other than file permissions?

    Update:

    Today it isn't working again and I tried running CCS as Admin. See the attached Debug Server log. I didn't see a striking difference to the other error log and don't know if starting CCS as Admin even could have an impact.4456.CCS_Debug_Server.log

  • Can you provide the executable you are trying to load?

    Thanks

    ki

  • Hi,

    here is the executable:

    app_pru_blink_led.zip

    Best regards

    André

  • Thank you. Can you also share the ccxml file you are using?

  • Thank you. I am unable to reproduce this issue however. I used the same CCS version, ccxml file and executable. My target was a bit different (AM243x LaunchPad) but i don't think this would make a difference. I am following up with engineering

  • Can you reproduce the issue on another PC?

  • Good morning,

    not yet, I am currently working on getting another System set up. So if there is anything I can try right now without another system, let me know. Otherwise I will come back to you when I have tested the issue with another system.

    Best regards

    André

  • We are still uncertain on what the root cause could be. However, engineering feels it could be some other case specific to your machine, hence the request to try on another system. They also suggested rebooting your PC if you have not done so already.

  • Hi,

    I agree completly with the engineering guys. If there are no additional ideas I can test at the moment, then we have to wait until I have another machine at my disposal.

    I will keep you posted.

    Best regards

    André

  • I assume the reboot did not help? 

    Are you doing anything with like virtual paths? Like directory mapping?

  • Hi,

    nothing like that, I also don't use any kind of virtualization like a VM or Docker.

    Best regards

    André

  • Thank you for the update. I am at a loss on the issue. Please let me know how it goes on your other system that is being setup.