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.

MSP432P401R: error #10264: DEFAULT memory range overlaps existing memory range RAM

Part Number: MSP432P401R

Hello,

I've received this error message attempting to run some RTOS code sent to me and am pretty clueless as to what it means. I have not handled memory ranges manually prior to this and would appreciate any feedback on how to even start to debug this issue.

The full error message is below:

**** Build of configuration Debug for project MSP432_touch_controller_TI_RTOS ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O 
'Building target: MSP432_touch_controller_TI_RTOS.out'
'Invoking: MSP432 Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --advice:power=none --define=__MSP432P401R__ --define=DeviceFamily_MSP432P401x -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"MSP432_touch_controller_TI_RTOS.map" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="MSP432_touch_controller_TI_RTOS_linkInfo.xml" --rom_model -o "MSP432_touch_controller_TI_RTOS.out" "./MSP_EXP432P401R.obj" "./cmd_parser.obj" "./goertzel.obj" "./main_tirtos.obj" "./netapp_cmd.obj" "./radio_tool.obj" "./socket_cmd.obj" "./str.obj" "./touch_controller.obj" "./transceiver_cmd.obj" "./uart_term.obj" "./wlan_cmd.obj" -l"C:/Users/Jon/somanyworkspaces/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/linker.cmd" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/source/ti/display/lib/display.aem4f" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/source/ti/drivers/lib/drivers_msp432p401x.aem4f" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/source/third_party/fatfs/lib/fatfs.aem4f" -l"C:/ti/simplelink_sdk_wifi_plugin_1_50_00_38/source/ti/drivers/net/wifi/ccs/rtos/msp432p4/simplelink.a" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/kernel/tirtos/packages/ti/dpl/lib/dpl_msp432p401x.aem4f" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/source/ti/devices/msp432p4xx/driverlib/ccs/msp432p4xx_driverlib.lib" -llibc.a 
<Linking>
warning #10247-D: creating output section ".const" without a SECTIONS specification
warning #10247-D: creating output section ".bss" without a SECTIONS specification
warning #10247-D: creating output section ".data" without a SECTIONS specification
warning #10247-D: creating output section ".text" without a SECTIONS specification
warning #10247-D: creating output section ".bss:.common" without a SECTIONS specification
warning #10247-D: creating output section ".cinit" without a SECTIONS specification
warning #10210-D: creating ".stack" section with default size of 0x800; use the -stack option to change the default size
"C:/Users/Jon/somanyworkspaces/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/linker.cmd", line 126: warning #10096-D: specified address lies outside memory map
error #10264: DEFAULT memory range overlaps existing memory range RAM

 undefined              first referenced                                                                                                       
  symbol                    in file                                                                                                            
 ---------              ----------------                                                                                                       
 __primary_heap_end__   C:\Users\me\somanyworkspaces\tirtos_builds_MSP_EXP432P401R_release_ccs\Debug\configPkg\package\cfg\release_pem4f.oem4f
 __primary_heap_start__ C:\Users\me\somanyworkspaces\tirtos_builds_MSP_EXP432P401R_release_ccs\Debug\configPkg\package\cfg\release_pem4f.oem4f

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "MSP432_touch_controller_TI_RTOS.out" not built

>> Compilation failure
makefile:162: recipe for target 'MSP432_touch_controller_TI_RTOS.out' failed
gmake[1]: *** [MSP432_touch_controller_TI_RTOS.out] Error 1
makefile:155: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

Additionally, I have been having an absolute bear of a time trying to get any WiFi samples working on this board with a CC3120/3100. My use case is pretty simple - just sending a string over TCP to a simple socket server on my laptop. If anyone could point me in the direction of a useful sample or something that functions with these two, I would be hugely grateful!

  • Do you have a linker command file in the project?

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/166/MSP_5F00_EXP432P401R_5F00_TIRTOS.cmd

  • No, I don't see one in the linker include paths. As I said, this project was sent to me - do I have to generate one myself?

    Edit: I included the .cmd file you provided, and I have a lot more errors to tackle now (see below). On a side note, can someone perhaps point me in the direction of a useful example of the MSP432/CC31xx being used to simply send data over TCP to a simple socket server? This has been a very painful experience for me trying to use the SimpleLink library and any help would be hugely appreciated.

    **** Build of configuration Debug for project MSP432_touch_controller_TI_RTOS ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O 
    'Building target: MSP432_touch_controller_TI_RTOS.out'
    'Invoking: MSP432 Linker'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --advice:power=none --define=__MSP432P401R__ --define=DeviceFamily_MSP432P401x -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"MSP432_touch_controller_TI_RTOS.map" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="MSP432_touch_controller_TI_RTOS_linkInfo.xml" --rom_model -o "MSP432_touch_controller_TI_RTOS.out" "./MSP_EXP432P401R.obj" "./cmd_parser.obj" "./goertzel.obj" "./main_tirtos.obj" "./netapp_cmd.obj" "./radio_tool.obj" "./socket_cmd.obj" "./str.obj" "./touch_controller.obj" "./transceiver_cmd.obj" "./uart_term.obj" "./wlan_cmd.obj" "../MSP_EXP432P401R_TIRTOS.cmd" -l"C:/Users/Jon/somanyworkspaces/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/linker.cmd" -l"C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/source/ti/display/lib/display.aem4f" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/source/ti/drivers/lib/drivers_msp432p401x.aem4f" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/source/third_party/fatfs/lib/fatfs.aem4f" -l"C:/ti/simplelink_sdk_wifi_plugin_1_50_00_38/source/ti/drivers/net/wifi/ccs/rtos/msp432p4/simplelink.a" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/kernel/tirtos/packages/ti/dpl/lib/dpl_msp432p401x.aem4f" -l"C:/ti/simplelink_msp432p4_sdk_1_50_00_12/source/ti/devices/msp432p4xx/driverlib/ccs/msp432p4xx_driverlib.lib" -llibc.a 
    <Linking>
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 43: error #10263: MAIN memory range has already been specified
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 43: error #10264: MAIN memory range overlaps existing memory range MAIN
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 44: error #10263: INFO memory range has already been specified
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 44: error #10264: INFO memory range overlaps existing memory range INFO
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 47: error #10263: SRAM_CODE memory range has already been specified
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 47: error #10264: SRAM_CODE memory range overlaps existing memory range SRAM_CODE
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 48: error #10263: SRAM_DATA memory range has already been specified
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 48: error #10264: SRAM_DATA memory range overlaps existing memory range SRAM_DATA
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 39: warning #10190-D: absolute symbol "HEAPSIZE" being redefined
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 78: warning #10190-D: absolute symbol "WDTCTL_SYM" being redefined
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 69: warning #10190-D: absolute symbol "__primary_heap_start__" being redefined
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 71: warning #10190-D: absolute symbol "__primary_heap_end__" being redefined
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 69: warning #10190-D: absolute symbol "__primary_heap_start__" being redefined
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 71: warning #10190-D: absolute symbol "__primary_heap_end__" being redefined
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 68: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".priheap" size 0x8000 .  Available memory ranges:
       SRAM_DATA    size: 0x10000      unused: 0x10000      max hole: 0x10000   
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 69: warning #10190-D: absolute symbol "__primary_heap_start__" being redefined
    "C:/Users/Jon/somanyworkspaces/MSP432_touch_controller_TI_RTOS/MSP_EXP432P401R_TIRTOS.cmd", line 71: warning #10190-D: absolute symbol "__primary_heap_end__" being redefined
    error #10010: errors encountered during linking; "MSP432_touch_controller_TI_RTOS.out" not built
    
    >> Compilation failure
    makefile:164: recipe for target 'MSP432_touch_controller_TI_RTOS.out' failed
    gmake[1]: *** [MSP432_touch_controller_TI_RTOS.out] Error 1
    makefile:157: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****
    

  • You should be able to see it in the project.  Like this:

    You can use the default one I provided in the earlier post.

    Chris

**Attention** This is a public forum