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.

How do I set up CC2650 8Kb cache as RAM using IAR?

Other Parts Discussed in Thread: BLE-STACK

Hello,

I'm trying to use the 8Kb cache area as general purpose RAM but I'm obviously missing something. I modified the config file to allow the use of it as GPRAM. I also modified the linker to include the 0x11000000-0x11001FFF range for readwrite data. When I did manage to place readwrite data in that region my app didn't run correctly. In fact, it never run to main() on the debugger.

I am using TI-RTOS 2.18 and BLE Stack 2.2.0.

//#####################################
// Select between cache or GPRAM
//#####################################
#ifndef SET_CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM
#define SET_CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM 0x0 // Cache is disabled and GPRAM is available at 0x11000000-0x11001FFF
// #define SET_CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM 0x1 // Cache is enabled and GPRAM is disabled (unavailable)
#endif

Thanks.