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/CC2640R2F: Data overlapped in Ti CCS CC2640 OAD project?

Part Number: CC2640R2F


Tool/software: Code Composer Studio

Hi TI,

I'm studing TI CC2640R2F platform, I use CCS (SDK 3.40) to develop.

Now I will merge "bim_oad_offchip_cc2640r2lp_app", "simple_peripheral_cc2640r2lp_oad_offchip_app", "simple_peripheral_cc2640r2lp_oad_offchip_stack" hex files to 1 merged hex file.

I use merge.bat but it show data overlapped error message shown below:

---

Merging: C:\Users\203006\workspace_v10\Test_EBT\bim_oad_offchip_cc2640r2lp_app\FlashOnly\bim_oad_offchip_cc2640r2lp_app.hex
Data overlapped at address 0x1C000

---

My map files and flash address shown below:

---

******************************************************************************
TI ARM Linker PC v18.1.2
******************************************************************************
>> Linked Wed Apr 1 17:47:12 2020

OUTPUT FILE NAME: <simple_peripheral_cc2640r2lp_oad_offchip_app_FlashROM.out>
ENTRY POINT SYMBOL: "ResetISR" address: 00009015


MEMORY CONFIGURATION

name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
FLASH_IMG_HDR 00000000 000000a8 00000050 00000058 R X
ENTRY 000000a8 00000040 0000003c 00000004 R X
FLASH 000000e8 00012f98 0000bed2 000070c6 R X
SRAM 20000000 00003f68 00002709 0000185f RW X

---

******************************************************************************
TI ARM Linker PC v18.1.2
******************************************************************************
>> Linked Wed Apr 1 16:16:03 2020

OUTPUT FILE NAME: <simple_peripheral_cc2640r2lp_oad_offchip_stack_FlashROM.out>
ENTRY POINT SYMBOL: "startup_entry" address: 0001c579


MEMORY CONFIGURATION

name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
FLASH 00000000 0001e000 0000b000 00013000 R X
SRAM 20000000 00004400 00000494 00003f6c RW X


SEGMENT ALLOCATION MAP

run origin load origin length init length attrs members
---------- ----------- ---------- ----------- ----- -------
00013000 00013000 0000990c 0000990c r-x
00013000 00013000 00000050 00000050 r-- .image_header
00013050 00013050 00008260 00008260 r-x .text
0001b2b0 0001b2b0 00000e30 00000e30 r-- .const
0001c0e0 0001c0e0 000000b0 000000b0 r-- .rodata
0001c190 0001c190 000003e8 000003e8 r-- .cinit
0001c578 0001c578 00000394 00000394 r-x EntrySection
0001d000 0001d000 00001000 00001000 r--
0001d000 0001d000 00001000 00001000 r-- .snvSectors
20003f68 20003f68 00000494 00000000 rw-
20003f68 20003f68 000003b4 00000000 rw- .data
20004320 20004320 000000dc 00000000 rw- .bss

---

******************************************************************************
TI ARM Linker PC v18.1.2
******************************************************************************
>> Linked Wed Apr 1 15:20:23 2020

OUTPUT FILE NAME: <bim_oad_offchip_cc2640r2lp_app.out>
ENTRY POINT SYMBOL: "ResetISR" address: 0001e169


MEMORY CONFIGURATION

name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
FLASH_BIM 0001c000 00003f54 000022ac 00001ca8 R X
FLASH_CERT 0001ff54 0000004c 00000000 0000004c R X
FLASH_FNPTR 0001ffa0 00000004 00000000 00000004 R X
FLASH_CCFG 0001ffa8 00000058 00000058 00000000 R X
SRAM 20000000 00004400 0000067c 00003d84 RW X


SEGMENT ALLOCATION MAP

run origin load origin length init length attrs members
---------- ----------- ---------- ----------- ----- -------
0001c000 0001c000 000022b0 000022b0 r-x
0001c000 0001c000 000000c8 000000c8 r-- .intvecs
0001c0c8 0001c0c8 00002134 00002134 r-x .text
0001e1fc 0001e1fc 00000078 00000078 r-- .const
0001e278 0001e278 00000038 00000038 r-- .cinit
0001ffa8 0001ffa8 00000058 00000058 r--
0001ffa8 0001ffa8 00000058 00000058 r-- .ccfg
20000000 20000000 0000057c 00000000 rw-
20000000 20000000 0000047c 00000000 rw- .data
2000047c 2000047c 00000100 00000000 rw- .bss
20004300 20004300 00000100 00000000 rw-
20004300 20004300 00000100 00000000 rw- .stack

---

It looks like "Stack flash address" overlap to "Bim flash address"?

How can I fix this error? or, how can I modify stack, app or bim flash start (or end) address?

Thanks!