Tool/software: Code Composer Studio
Hi all,
I'm working with cc1310f128 under Code Composer Studio last version.
I have some task as I've described and solved there https://e2e.ti.com/support/wireless_connectivity/proprietary_sub_1_ghz_simpliciti/f/156/t/610637 under IAR.
I've make this regions by modifying the CC1310DK_7XD_NoRTOS.cmd file:
#define FLASH_BASE 0x0
#define FLASH_SIZE 0x1BFFF//0x20000
#define HW_ERR_BASE 0x1C000
#define HW_ERR_SIZE 0x1000
#define BANK_0_BASE 0x1D000
#define BANK_0_SIZE 0x1000
#define BANK_1_BASE 0x1E000
#define BANK_1_SIZE 0x1000
#define CCFG_BASE 0x1F000
#define CCFG_SIZE 0x1000
MEMORY
{
...
/* RFCM parameters and Error Codes stored in internal flash */
BANK_0 (RW) : origin = BANK_0_BASE, length = BANK_0_SIZE
BANK_1 (RW) : origin = BANK_1_BASE, length = BANK_1_SIZE
HW_ERR (RW) : origin = HW_ERR_BASE, length = HW_ERR_SIZE
CCFG (RW) : origin = CCFG_BASE, length = CCFG_SIZE
...
}
SECTIONS
{
...
.bank_0 : > BANK_0
.bank_1 : > BANK_1
.hw_err : > HW_ERR
.ccfg : > CCFG (HIGH)
...
}
1) Whereby can I to define those flash regions not-initializing, I mean that the compiler/linker don't put any values and don't erase those regions.
2)Whereby can I to declare in my application the pointers to those regions?
3)For keeping ccfg data on it's original place I've make separate region for this. Which way can I to make a section into the internal flesh memory at specified address without defining separate region for each section
I'm new in Code Composer and cannot to find this thinks in CCS Help.