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.
Tool/software:
Hello
I want to Update Firmware LP-MSPM0G3507.
I'm did Update for Led Toggle Example
provided by TI.
Then, I was update new Firmware File.
https://www.ti.com/tool/TIDA-010935
I was Import and try build "TIDA_010935_UART_echo" Folder.
but it's failed and I can view error log.
[0]**** Build of configuration Debug for project TIDA_010935_UART_echo ****
[1]"C:\\ti\\ccs2000\\ccs\\utils\\bin\\gmake" -k -j 12 all -O
[2]Building target: "TIDA_010935_UART_echo.out"
[3]Invoking: Arm Linker
[4]"C:/ti/ccs2000/ccs/tools/compiler/ti-cgt-armllvm_4.0.1.LTS/bin/tiarmclang.exe" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O0 -D__MSPM0G3507__ -gdwarf-3 -Wl,-m"TIDA_010935_UART_echo.map" -Wl,--stack_size=512 -Wl,-i"C:/Users/D-Tech/workspace_ccstheia/TIDA_010935_UART_echo/Debug/syscfg" -Wl,-i"C:/ti/ccs2000/ccs/tools/compiler/ti-cgt-armllvm_4.0.1.LTS/lib" -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="TIDA_010935_UART_echo_linkInfo.xml" -Wl,--rom_model -o "TIDA_010935_UART_echo.out" "./TIDA_010935_echo.o" "./syscfg/ti_msp_dl_config.o" "./startup_mspm0g350x_ticlang.o" "./ticlang/startup_mspm0g3507_ticlang.o" "../mspm0g3507.cmd" -Wl,-l"syscfg/device_linker.cmd" -Wl,-l"C:/ti/mspm0_sdk_2_03_00_07/source/ti/driverlib/lib/ticlang/m0p/mspm0g1x0x_g3x0x/driverlib.a" -Wl,-llibc.a
[5]makefile:141: recipe for target 'TIDA_010935_UART_echo.out' failed
[6]"syscfg/device_linker.cmd", line 40: error #10263: FLASH memory range has already been specified
[7]"syscfg/device_linker.cmd", line 40: error #10264: FLASH memory range overlaps existing memory range FLASH
[8]"syscfg/device_linker.cmd", line 41: error #10263: SRAM memory range has already been specified
[9]"syscfg/device_linker.cmd", line 41: error #10264: SRAM memory range overlaps existing memory range SRAM
[10]"syscfg/device_linker.cmd", line 42: error #10263: BCR_CONFIG memory range has already been specified
[11]"syscfg/device_linker.cmd", line 42: error #10264: BCR_CONFIG memory range overlaps existing memory range BCR_CONFIG
[12]"syscfg/device_linker.cmd", line 43: error #10263: BSL_CONFIG memory range has already been specified
[13]"syscfg/device_linker.cmd", line 43: error #10264: BSL_CONFIG memory range overlaps existing memory range BSL_CONFIG
[14]error #10056: symbol "interruptVectors" redefined: first defined in "./startup_mspm0g350x_ticlang.o"; redefined in "./ticlang/startup_mspm0g3507_ticlang.o"
[15]error #10010: errors encountered during linking; "TIDA_010935_UART_echo.out" not built
[16]tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
[17]gmake[1]: *** [TIDA_010935_UART_echo.out] Error 1
[18]makefile:137: recipe for target 'all' failed
[19]gmake: *** [all] Error 2
[20]**** Build Finished ****
I was view this error the first.
Can you give me some advice about this error?
Hi HWANG,
Could you please provide you .cmd file? The error seems caused by linker file about memory allocation.
Best Regards,
Pengfei
Hi HWANG,
I think the cmd file looks fine itself. But it seems you have such two cmd in your project? And it is not accepetable.
You could try delete one of their and try to rebuilt again.
Best Regards,
Pengfei
Hello
I delete the one cmd file. cmd name is mspm0g3507.
I am view the new error.
[40]Building target: "TIDA_010935_UART_echo.out"
[41]Invoking: Arm Linker
[42]"C:/ti/ccs2000/ccs/tools/compiler/ti-cgt-armllvm_4.0.1.LTS/bin/tiarmclang.exe" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O0 -D__MSPM0G3507__ -gdwarf-3 -Wl,-m"TIDA_010935_UART_echo.map" -Wl,--stack_size=512 -Wl,-i"C:/Users/D-Tech/Downloads/TIDA_010935_UART_ExampleProjects/TIDA_010935_UART_echo/Debug/syscfg" -Wl,-i"C:/ti/ccs2000/ccs/tools/compiler/ti-cgt-armllvm_4.0.1.LTS/lib" -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="TIDA_010935_UART_echo_linkInfo.xml" -Wl,--rom_model -o "TIDA_010935_UART_echo.out" "./TIDA_010935_echo.o" "./syscfg/ti_msp_dl_config.o" "./startup_mspm0g350x_ticlang.o" "./ticlang/startup_mspm0g3507_ticlang.o" -Wl,-l"syscfg/device_linker.cmd" -Wl,-l"C:/ti/mspm0_sdk_2_03_00_07/source/ti/driverlib/lib/ticlang/m0p/mspm0g1x0x_g3x0x/driverlib.a" -Wl,-llibc.a
[43]makefile:140: recipe for target 'TIDA_010935_UART_echo.out' failed
[44]error #10056: symbol "interruptVectors" redefined: first defined in "./startup_mspm0g350x_ticlang.o"; redefined in "./ticlang/startup_mspm0g3507_ticlang.o"
[45]error #10010: errors encountered during linking; "TIDA_010935_UART_echo.out" not built
[46]tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
[47]gmake[1]: *** [TIDA_010935_UART_echo.out] Error 1
[48]makefile:136: recipe for target 'all' failed
[49]gmake: *** [all] Error 2
the problem is occur near Arm Linker?
Hi JunHyeson,
I think there is some thing wrong with you project file architechture.
[44]error #10056: symbol "interruptVectors" redefined: first defined in "./startup_mspm0g350x_ticlang.o"; redefined in "./ticlang/startup_mspm0g3507_ticlang.o"
The message above shows there is two startup_mspm0g350x_ticlang.c in your project. One of them needed to be deleted eighter.
Please double check their is no other files reused by twice in you project.
Best Regards
Pengfei
this issue resolved.
I was deleted the overlap cmd and startup file.
Thank you very much, sir.