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.

CCS/CC2650: Relocate spp_ble_server_cc2650lp_app - linking problems

Part Number: CC2650

Tool/software: Code Composer Studio

Hello,

I am trying to relocate an application based on spp_ble_server_cc2650lp_app (it is using .projectspec file) to start from different memory location (e.g. 0x00001000 instead of 0x00000000). It is because I am developing custom bootloader that will start from the 0x0 address.

I am using CC2650F128, so changing the chip start address in CCFG is not possible. I have already configured the linker to not use TI-RTOS ROM implementation - by using "NO_ROM=1,USE_EVENTS=1" options.

I modified cc26xx_app.cmd file so that the FLASH_APP_BASE is set to 0x00001000. However, there is still autogenerated configPkg/linker.cmd file that says:

    .resetVecs: load > 0x0

causing following error:

l"c:/ti_simplelink/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272/driverlib/bin/ccs/driverlib.lib" -l"c:/ti_simplelink/simplelink/ble_sdk_2_02_02_25/src/rom/common_rom_releases/03282014/common_rom.symbols" -llibc.a -llibc.a 
<Linking>
"configPkg/linker.cmd", line 152: warning #10096-D: specified address lies outside memory map

I would appreciate the help in making the app starting from address 0x00001000 and information on how to modify the configPkg/linker.cmd to support that.

Thanks in advance,
Piotr

Some additional information that may be helpful:
I am using XDCtools version: 3.32.0.06_core