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.

RTOS/CC2640R2F: Difference between TI-RTOS in ROM and TI-RTOS in Flash

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2640

Tool/software: TI-RTOS

Hi,

Stack used :3.02.00.00

I took the simple peripheral example project and compiled with two different binaries one with TI-RTOS in ROM and TI-RTOS in Flash.

For TI-RTOS in ROM by setting  Pre-build command line  variable NO_ROM = 0 .

For TI-RTOS in FLASH by setting Pre-build command line variable NO_ROM = 1.

Both cases takes the same amount of flash memory.

My question is why RTOS in ROM and flash takes the same amount of Flash?

What is pros and cons of each approach?

Thanks and regards,

Jayachandran R

  • Hello,

      Not all of the SYS/BIOS kernel components are part of the RTOS ROM. Therefore, if you want to use a component that is not part of the RTOS ROM, you must build the TI-RTOS kernel in flash vs. the default ROM configuration and this will result in higher flash memory utilization.

    In theory, to do this, you can set NO_ROM=1 in your cfgArgs (xdx_tools) but in my case I've done it by commenting out lines 120 and 122 (ROM stuff) from the file cc2640_r2_csdk.cfg.

     Hopefully this helps.

        David  

  • Hi David,
    Thanks!
    Now i can able to see the flash memory changes.