Other Parts Discussed in Thread: CC2650, SYSBIOS
Dears,
Could you please advise how to modified the FLASH_BASE to 0x1000 on rfPacketErrorRate project (C:\ti\simplelink_cc13x0_sdk_1_30_00_06\examples\rtos\CC1350_LAUNCHXL\drivers\rfPacketErrorRate)? Thanks!
I want to build a custom boot loader project. The boot loader code will be allocated to flash 0x0000 to 0x1000 address, and the application code (based on rfPacketErrorRate project) allocated to flash 0x1000 to 0x20000 address.
For the application code (based on rfPacketErrorRate project), I tried to modified the FLASH_BASE to 0x1000 < CC1350_LAUNCHXL_TIRTOS.cmd > and rebuild. There still have “.resetVecs” on 0x0000 address.
Below are the modified < CC1350_LAUNCHXL_TIRTOS.cmd >
#define FLASH_BASE 0x1000 #define FLASH_SIZE 0x1F000
And I got below .map file:
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
FLASH 00001000 0001f000 0000fea8 0000f158 R X
SRAM 20000000 00005000 00003c2d 000013d3 RW X
SEGMENT ALLOCATION MAP
run origin load origin length init length attrs members
---------- ----------- ---------- ----------- ----- -------
00000000 00000000 0000003c 0000003c r--
00000000 00000000 0000003c 0000003c r-- .resetVecs
00001000 00001000 0000a664 0000a664 r-x
00001000 00001000 0000003c 0000003c r-- .const:ti_sysbios_knl_Task_Object__PARAMS__C
0000103c 0000103c 0000a628 0000a628 r-x .text
0000103c 0000103c 000004b4 000004b4 r--
0000103c 0000103c 00000034 00000034 r-- .const:ti_sysbios_knl_Mailbox_Object__PARAMS__C
00001070 00001070 00000030 00000030 r-- .const:ti_sysbios_family_arm_m3_Hwi_Object__PARAMS__C
000010a0 000010a0 0000002c 0000002c r-- .const:ti_sysbios_hal_Hwi_Object__PARAMS__C
000010cc 000010cc 00000028 00000028 r-- .const:ti_sysbios_heaps_HeapMem_Module__FXNS__C
000010f4 000010f4 00000028 00000028 r-- .const:ti_sysbios_knl_Swi_Object__PARAMS__C
0000111c 0000111c 00000024 00000024 r-- .const:ti_sysbios_gates_GateHwi_Module__FXNS__C