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.

MSPM0L1306: Moving project between machines causes errors

Part Number: MSPM0L1306
Other Parts Discussed in Thread: SYSCONFIG

I developed and tested a project with CCS Theia 1.2 on MacOS.

I cleaned the project, zipped the project directory, and moved it to a Windows machine in the lab also with a fresh CCS Theia 1.2 for Windows.

When I try to build it on the Windows machine I get:

[0]**** Build of configuration Debug for project LapisBoot ****
[1]"C:\\ti\\ccstheia120\\ccs\\utils\\bin\\gmake" -k -j 12 all -O 
 
[2]Building target: "LapisBoot.out"
[3]Invoking: Arm Linker
[4]"C:/ti/ccstheia120/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang.exe" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -D__MSPM0L1306__ -gdwarf-3 -Wl,-m"LapisBoot.map" -Wl,-i"C:/Users/ROIC Test 3/workspace_ccstheia/LapisBoot/Debug/syscfg" -Wl,-i"C:/ti/ccstheia120/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/lib" -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="LapisBoot_linkInfo.xml" -Wl,--rom_model -o "LapisBoot.out" "./syscfg/ti_msp_dl_config.o" "./startup_mspm0l130x_ticlang.o" "./LapisBootPMIC.o" "./LapisBootUart.o" "./LapisBoot_Main.o" "./ticlang/startup_mspm0l1306_ticlang.o" "../mspm0l1306.cmd" -Wl,-l"syscfg/device_linker.cmd"  -Wl,-l"C:/ti/mspm0_sdk_1_20_01_06/source/ti/driverlib/lib/ticlang/m0p/mspm0l11xx_l13xx/driverlib.a" -Wl,-llibc.a 
[5]makefile:143: recipe for target 'LapisBoot.out' failed
[6]"syscfg/device_linker.cmd", line 39: error #10263: FLASH memory range has already been specified
[7]"syscfg/device_linker.cmd", line 39: error #10264: FLASH memory range overlaps existing memory range FLASH
[8]"syscfg/device_linker.cmd", line 40: error #10263: SRAM memory range has already been specified
[9]"syscfg/device_linker.cmd", line 40: error #10264: SRAM memory range overlaps existing memory range SRAM
[10]"syscfg/device_linker.cmd", line 41: error #10263: BCR_CONFIG memory range has already been specified
[11]"syscfg/device_linker.cmd", line 41: error #10264: BCR_CONFIG memory range overlaps existing memory range BCR_CONFIG
[12]"syscfg/device_linker.cmd", line 42: error #10263: BSL_CONFIG memory range has already been specified
[13]"syscfg/device_linker.cmd", line 42: error #10264: BSL_CONFIG memory range overlaps existing memory range BSL_CONFIG
[14]error #10056: symbol "interruptVectors" redefined: first defined in "./startup_mspm0l130x_ticlang.o"; redefined in "./ticlang/startup_mspm0l1306_ticlang.o"
[15]error #10010: errors encountered during linking; "LapisBoot.out" not built
[16]tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
[17]gmake[1]: *** [LapisBoot.out] Error 1
[18]gmake: *** [all] Error 2
[19]makefile:139: recipe for target 'all' failed

[20]**** Build Finished ****

What should I try?

  • Hi, Barry

    Check your software version between your Mac and Windows. Especially systemcfg.

    As the error above, caused by the update of systemcfg.

    Please see this thread to solve your issue:

    (+) MSPM0L1106: SKD update Sysconfig linker script - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

    Regards,

    Helic

  • I thought deleting the .cmd file and the ticlang directory as described in the link worked, because the build completed without errors, but now I get these warnings when I build.

    get: "LapisBoot.out"
    [42]Invoking: Arm Linker
    [43]"/Applications/ti/ccstheia120/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -D__MSPM0L1306__ -gdwarf-3 -Wl,-m"LapisBoot.map" -Wl,-i"/Users/barry/workspace_ccstheia/LapisBoot/Debug/syscfg" -Wl,-i"/Applications/ti/ccstheia120/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/lib" -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="LapisBoot_linkInfo.xml" -Wl,--rom_model -o "LapisBoot.out" "./syscfg/ti_msp_dl_config.o" "./LapisBootPMIC.o" "./LapisBootUart.o" "./LapisBoot_Main.o" "./ticlang.old/startup_mspm0l1306_ticlang.o"  -Wl,-l"/Applications/ti/mspm0_sdk_1_20_00_05/source/ti/driverlib/lib/ticlang/m0p/mspm0l11xx_l13xx/driverlib.a" -Wl,-llibc.a 
    [44]warning #10247-D: creating output section ".text" without a SECTIONS specification
    [45]warning #10247-D: creating output section ".data" without a SECTIONS specification
    [46]warning #10247-D: creating output section ".bss" without a SECTIONS specification
    [47]warning #10247-D: creating output section ".cinit" without a SECTIONS specification
    [48]warning #10247-D: creating output section ".rodata" without a SECTIONS specification
    [49]warning #10247-D: creating output section ".intvecs" without a SECTIONS specification
    [50]warning #10247-D: creating output section ".stack" without a SECTIONS specification
    [51]warning #10210-D: creating ".stack" section with default size of 0x800; use the -stack option to change the default size
    [52]Finished building target: "LapisBoot.out"
     
    

    I can't debug the project now either.  I get these errors when I try to run the debugger.

    SEC_AP: DisAsmTPI: Failed to create TPI_DISASM.
    Flash Programmer: Error in image size. Length of block is 16620, but it should be divisible by 8 since Flash Programmer writes in 64-bits 
    Flash Programmer: Error in image size. Length of block is 1796, but it should be divisible by 8 since Flash Programmer writes in 64-bits 
    Error: (Error -1001 @ 0x0) Requested operation is not supported on this device. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Error: (Error -614 @ 0x0) The target indicates there is an error condition from a previous SWD  request. Clear the error the condition, and try the SWD request again. (Emulation package 12.6.0.00017) 
    Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00017) 
    Unable to determine target status after 20 attempts
    Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
    

  • I do not ave the option to have sysconfig generate a linker file.

  • Hi, 

    Please update to latest software.

    Regards,

    Helic