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.

MSPM0L1105: Build error when trying to switch development board MSPM0L1306 to our device MSPM0L1105

Part Number: MSPM0L1105
Other Parts Discussed in Thread: MSPM0L1306,

Dear Ti team,

1157.adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.zip

This is the souce code we modified based on adc12_sequence_coversion example, and it can build successfully on CCS when we are not changing device model MSPM0L1306.

Now we want to rebuild to our MSPM0L1105 platform, and modify adc12_sequence)coversion.syscfg to it.

But we will get the following build error. Please tell us how to fix it. Thanks. (complete buid log is also attached)

"C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-armllvm_3.2.1.LTS/bin/tiarmclang.exe" @"device.opt" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -gdwarf-3 -Wl,-m"adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.map" -Wl,-i"C:/ti/mspm0_sdk_1_30_00_03/source" -Wl,-i"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang" -Wl,-i"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg" -Wl,-i"C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-armllvm_3.2.1.LTS/lib" -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang_linkInfo.xml" -Wl,--rom_model -o "adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.out" "./adc12_sequence_conversion.o" "./ti_msp_dl_config.o" "./startup_mspm0l110x_ticlang.o" "../mspm0l1105.cmd" -Wl,-l"./device_linker.cmd" -Wl,-ldevice.cmd.genlibs -Wl,-llibc.a
makefile:138: recipe for target 'adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.out' failed
"./device_linker.cmd", line 39: error #10263: FLASH memory range has already been specified
"./device_linker.cmd", line 39: error #10264: FLASH memory range overlaps existing memory range FLASH
"./device_linker.cmd", line 40: error #10263: SRAM memory range has already been specified
"./device_linker.cmd", line 40: error #10264: SRAM memory range overlaps existing memory range SRAM
"./device_linker.cmd", line 41: error #10263: BCR_CONFIG memory range has already been specified
"./device_linker.cmd", line 41: error #10264: BCR_CONFIG memory range overlaps existing memory range BCR_CONFIG
"./device_linker.cmd", line 42: error #10263: BSL_CONFIG memory range has already been specified
"./device_linker.cmd", line 42: error #10264: BSL_CONFIG memory range overlaps existing memory range BSL_CONFIG
error #10010: errors encountered during linking; "adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.out" not built
tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.out] Error 1
gmake: *** [all] Error 2
makefile:134: recipe for target 'all' failed

build_error.txt
**** Build of configuration Debug for project adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang ****

"C:\\ti\\ccs1260\\ccs\\utils\\bin\\gmake" -k -j 12 all -O 
 
Building file: "../adc12_sequence_conversion.syscfg"
Invoking: SysConfig
"C:/ti/ccs1260/ccs/utils/sysconfig_1.19.0/sysconfig_cli.bat" --script "C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang/adc12_sequence_conversion.syscfg" -o "." -s "C:/ti/mspm0_sdk_1_30_00_03/.metadata/product.json" --compiler ticlang
Running script...
Validating...
warning: /ti/project_config/ProjectConfig deviceSpin: Migrating requires going through the Switch Board or Device menu in the Device View section.
info: /ti/project_config/ProjectConfig deviceSpin: Note: User must select a device after migration. User must make sure to select the same device as the CCS Launch Device setting for proper configuration.
Generating Code (adc12_sequence_conversion.syscfg)...
Writing C:\Users\811430\0417\adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang\Debug\device_linker.cmd...
Writing C:\Users\811430\0417\adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang\Debug\device.opt...
Writing C:\Users\811430\0417\adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang\Debug\device.cmd.genlibs...
Writing C:\Users\811430\0417\adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang\Debug\ti_msp_dl_config.c...
Writing C:\Users\811430\0417\adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang\Debug\ti_msp_dl_config.h...
Writing C:\Users\811430\0417\adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang\Debug\Event.dot...
0 error(s), 1 warning(s)
Finished building: "../adc12_sequence_conversion.syscfg"
 
Building file: "C:/ti/mspm0_sdk_1_30_00_03/source/ti/devices/msp/m0p/startup_system_files/ticlang/startup_mspm0l110x_ticlang.c"
Invoking: Arm Compiler
"C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-armllvm_3.2.1.LTS/bin/tiarmclang.exe" -c @"device.opt"  -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -I"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang" -I"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_1_30_00_03/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_1_30_00_03/source" -gdwarf-3 -MMD -MP -MF"startup_mspm0l110x_ticlang.d_raw" -MT"startup_mspm0l110x_ticlang.o"  @"./device.opt"  -o"startup_mspm0l110x_ticlang.o" "C:/ti/mspm0_sdk_1_30_00_03/source/ti/devices/msp/m0p/startup_system_files/ticlang/startup_mspm0l110x_ticlang.c"
Finished building: "C:/ti/mspm0_sdk_1_30_00_03/source/ti/devices/msp/m0p/startup_system_files/ticlang/startup_mspm0l110x_ticlang.c"
 
Building file: "../adc12_sequence_conversion.c"
Invoking: Arm Compiler
"C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-armllvm_3.2.1.LTS/bin/tiarmclang.exe" -c @"device.opt"  -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -I"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang" -I"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_1_30_00_03/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_1_30_00_03/source" -gdwarf-3 -MMD -MP -MF"adc12_sequence_conversion.d_raw" -MT"adc12_sequence_conversion.o"  @"./device.opt"  -o"adc12_sequence_conversion.o" "../adc12_sequence_conversion.c"
Finished building: "../adc12_sequence_conversion.c"
 
Building file: "ti_msp_dl_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-armllvm_3.2.1.LTS/bin/tiarmclang.exe" -c @"device.opt"  -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -I"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang" -I"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_1_30_00_03/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_1_30_00_03/source" -gdwarf-3 -MMD -MP -MF"ti_msp_dl_config.d_raw" -MT"ti_msp_dl_config.o"  @"./device.opt"  -o"ti_msp_dl_config.o" "ti_msp_dl_config.c"
Finished building: "ti_msp_dl_config.c"
 
Building target: "adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.out"
Invoking: Arm Linker
"C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-armllvm_3.2.1.LTS/bin/tiarmclang.exe" @"device.opt"  -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -gdwarf-3 -Wl,-m"adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.map" -Wl,-i"C:/ti/mspm0_sdk_1_30_00_03/source" -Wl,-i"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang" -Wl,-i"C:/Users/811430/0417/adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg" -Wl,-i"C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-armllvm_3.2.1.LTS/lib" -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang_linkInfo.xml" -Wl,--rom_model -o "adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.out" "./adc12_sequence_conversion.o" "./ti_msp_dl_config.o" "./startup_mspm0l110x_ticlang.o" "../mspm0l1105.cmd" -Wl,-l"./device_linker.cmd"  -Wl,-ldevice.cmd.genlibs -Wl,-llibc.a 
makefile:138: recipe for target 'adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.out' failed
"./device_linker.cmd", line 39: error #10263: FLASH memory range has already been specified
"./device_linker.cmd", line 39: error #10264: FLASH memory range overlaps existing memory range FLASH
"./device_linker.cmd", line 40: error #10263: SRAM memory range has already been specified
"./device_linker.cmd", line 40: error #10264: SRAM memory range overlaps existing memory range SRAM
"./device_linker.cmd", line 41: error #10263: BCR_CONFIG memory range has already been specified
"./device_linker.cmd", line 41: error #10264: BCR_CONFIG memory range overlaps existing memory range BCR_CONFIG
"./device_linker.cmd", line 42: error #10263: BSL_CONFIG memory range has already been specified
"./device_linker.cmd", line 42: error #10264: BSL_CONFIG memory range overlaps existing memory range BSL_CONFIG
error #10010: errors encountered during linking; "adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.out" not built
tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [adc12_sequence_conversion_LP_MSPM0L1306_nortos_ticlang.out] Error 1
gmake: *** [all] Error 2
makefile:134: recipe for target 'all' failed

**** Build Finished ****