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 to use cache 8K to RAM on cc26xx ?

Other Parts Discussed in Thread: CC2650, BLE-STACK

First, I set VIMS mode disable like below.

 VIMSModeSet( VIMS_BASE, VIMS_MODE_DISABLED );

  // Wait for disabling to be complete  

while ( VIMSModeGet( VIMS_BASE ) != VIMS_MODE_DISABLED );

 

but I don't know what is the address of RAM start ,RAM size etc..

i changed like below,but it doesn't work.

 

if ( isdefinedsymbol(CC2650) ) {   define symbol RAM_SIZE            = 0x00007000;  // 28K//0x00005000;  // 20K   define symbol FLASH_SIZE          = 0x00020000;  // 128K   define symbol ROM_SIZE            = 0x0001C000;  // 115K } //////////////////////////////////////////////////////////////////////////////// // Default else {   define symbol RAM_SIZE            = 0x00004000;  // 16K   define symbol FLASH_SIZE          = 0x00020000;  // 128K   define symbol ROM_SIZE            = 0x00018000;  // 96K }

//////////////////////////////////////////////////////////////////////////////// // Memory Definitions ////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////// // RAM //

define symbol RAM_START             = 0x01FFFE000;//x20000000

if ( isdefinedsymbol(CC2650) ) {   if ( isdefinedsymbol(ICALL_RAM0_ADDR) )   {     define symbol RAM_END           = (ICALL_RAM0_ADDR-1);   }   else // default   {     define symbol RAM_END           = 0x20006A00;   } } else // CC2650 PG1 {   if ( isdefinedsymbol(ICALL_RAM0_ADDR) )   {     define symbol RAM_END           = (ICALL_RAM0_ADDR-1);   }   else // default   {     define symbol RAM_END           = 0x200029FF;   } }

 

  • Hello Lee,

    Please see this thread: e2e.ti.com/.../413324
    There is a functional example doing this in the BLE-Stack v2.1.x SDK in the nvocop.c file.

    You can find the memory addresses for the GPRAM region in the CC26xx TRM (SWCU117) or as defined in nvocop.c:
    #define RAM_BUFFER_ADDRESS (uint8*)0x11000000

    Best wishes