主题中讨论的其他器件:UNIFLASH
工具与软件:
我已在 \examples\Development Tools\empty\system_nortos\中打开 MCU-PLUS-SDK -AM243X 中的示例空项目
尝试使用 RF5_0_0和 M4F_0这两个内核构建空工程时、显示错误构建:
Building target: "empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang.out" Invoking: Arm Linker "C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"empty.Debug.map" -Wl,-i"C:/ti/mcu_plus_sdk_am243x_09_02_01_05/source/kernel/nortos/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am243x_09_02_01_05/source/drivers/lib" -Wl,-i"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/lib" -Wl,--reread_libs -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang.out" "./empty.o" "./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" -Wl,-l"syscfg/linker.cmd" -Wl,-lnortos.am243x.m4f.ti-arm-clang.debug.lib -Wl,-ldrivers.am243x.m4f.ti-arm-clang.debug.lib -Wl,-llibc.a -Wl,-llibsysbm.a makefile:149: recipe for target 'empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang.out' failed "syscfg/linker.cmd", line 57: warning #10097: memory range not found: USER_SHM_MEM on page 0 "syscfg/linker.cmd", line 56: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".bss.user_shared_mem" size 0 "syscfg/linker.cmd", line 60: warning #10097: memory range not found: LOG_SHM_MEM on page 0 "syscfg/linker.cmd", line 59: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".bss.log_shared_mem" size 0 "syscfg/linker.cmd", line 63: warning #10097: memory range not found: IPC_VRING_MEM on page 0 "syscfg/linker.cmd", line 62: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".bss.ipc_vring_mem" size 0 error #10010: errors encountered during linking; "empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang.out" not built tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang.out] Error 1 gmake: *** [all] Error 2 makefile:145: recipe for target 'all' failed **** Build Finished **** **** Build of configuration Debug for project empty_am243x-evm_system_nortos **** "C:\\ti\\ccs1271\\ccs\\utils\\bin\\gmake" -k system-post-build C:/ti/ccs1271/ccs/utils/bin/gmake -C C:\dev\ccs\empty_am243x-evm_system_nortos -f makefile_system_ccs_bootimage_gen OUTNAME=empty_system PROFILE=Debug MCU_PLUS_SDK_PATH=C:/ti/mcu_plus_sdk_am243x_09_02_01_05 CG_TOOL_ROOT=C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS CCS_INSTALL_DIR=C:\ti\ccs1271\ccs CCS_IDE_MODE=desktop gmake[1]: Entering directory 'C:/dev/ccs/empty_am243x-evm_system_nortos' Boot multi-core image: Debug/empty_system.appimage ... C:\ti\ccs1271\ccs/tools/node/node C:/ti/mcu_plus_sdk_am243x_09_02_01_05/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out Debug/empty_system.appimage ../empty_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss0-0_nortos_ti-arm-clang.rprc@4 ../empty_am243x-evm_r5fss0-1_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss0-1_nortos_ti-arm-clang.rprc@5 ../empty_am243x-evm_r5fss1-0_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss1-0_nortos_ti-arm-clang.rprc@6 ../empty_am243x-evm_r5fss1-1_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss1-1_nortos_ti-arm-clang.rprc@7 ../empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang/Debug/empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang.rprc@14 >> Debug/temp_stdout_Debug.txt makefile_system_ccs_bootimage_gen:64: recipe for target 'all' failed File ../empty_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss0-0_nortos_ti-arm-clang.rprc does not exist gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory 'C:/dev/ccs/empty_am243x-evm_system_nortos' makefile:15: recipe for target 'system-post-build' failed gmake: [system-post-build] Error 2 (ignored) **** Build Finished ****
我还收到以下消息:
**** Build of configuration Debug for project empty_am243x-evm_system_nortos **** "C:\\ti\\ccs1271\\ccs\\utils\\bin\\gmake" -k system-post-build C:/ti/ccs1271/ccs/utils/bin/gmake -C C:\dev\ccs\empty_am243x-evm_system_nortos -f makefile_system_ccs_bootimage_gen OUTNAME=empty_system PROFILE=Debug MCU_PLUS_SDK_PATH=C:/ti/mcu_plus_sdk_am243x_09_02_01_05 CG_TOOL_ROOT=C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS CCS_INSTALL_DIR=C:\ti\ccs1271\ccs CCS_IDE_MODE=desktop gmake[1]: Entering directory 'C:/dev/ccs/empty_am243x-evm_system_nortos' Boot multi-core image: Debug/empty_system.appimage ... C:\ti\ccs1271\ccs/tools/node/node C:/ti/mcu_plus_sdk_am243x_09_02_01_05/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out Debug/empty_system.appimage ../empty_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss0-0_nortos_ti-arm-clang.rprc@4 ../empty_am243x-evm_r5fss0-1_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss0-1_nortos_ti-arm-clang.rprc@5 ../empty_am243x-evm_r5fss1-0_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss1-0_nortos_ti-arm-clang.rprc@6 ../empty_am243x-evm_r5fss1-1_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss1-1_nortos_ti-arm-clang.rprc@7 ../empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang/Debug/empty_am243x-evm_m4fss0-0_nortos_ti-arm-clang.rprc@14 >> Debug/temp_stdout_Debug.txt makefile_system_ccs_bootimage_gen:64: recipe for target 'all' failed File ../empty_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am243x-evm_r5fss0-0_nortos_ti-arm-clang.rprc does not exist gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory 'C:/dev/ccs/empty_am243x-evm_system_nortos' makefile:15: recipe for target 'system-post-build' failed gmake: [system-post-build] Error 2 (ignored) **** Build Finished ****
是否有人知道如何解决此问题、以便我可以构建这个空的多核工程并将其刷写到电路板中? (我已经尝试了多个 SDK、以了解 SDK 是否可能是个问题)
或者、如果有其他方法可以将多核程序写入我的芯片/电路板并将其刷写到我的芯片/电路板上、请告诉我。







