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: FLASH_ROM_BUILD clarification

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2640,

Tool/software: TI-RTOS

Hi All,

Hi All,

I am usnig Ble stack version v3.0.1 (C:\ti\simplelink_cc2640r2_sdk_1_00_00_22) along with cc2640R2F chipset.

Example Project used : C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_periphera

From the above link TI suggested that there is only support for FLASH_ROM_BUILD.

The below two statements are conflicting for the answer provided by you.

But as per the new release

 

TI-RTOS in ROM Jump Table: This table holds information required by the TI-RTOS kernel in ROM, the location of this table is fixed by the ROM image of the device and cannot be changed if using TI-RTOS in ROM, for a flash only kernel, this table is not required. This is also referred to the RCFG.

so why here mentioned "for a flash only kernel, this table is not required"

And also

For the CC2640R2F, a TI-RTOS kernel exists in ROM. Typically for flash footprint savings, the .cfg will include the kernel’s ROM module as shown in Listing 1.

Listing 1. How to include the TI-RTOS kernel in ROM
/* ================ ROM configuration ================ */
/*
 * To use BIOS in flash, comment out the code block below.
 */
if (typeof NO_ROM == 'undefined' || (typeof NO_ROM != 'undefined' && NO_ROM == 0))
{
  var ROM = xdc.useModule('ti.sysbios.rom.ROM');
  if (Program.cpu.deviceName.match(/CC26/)) {
      ROM.romName = ROM.CC2640R2F;
  }
  else if (Program.cpu.deviceName.match(/CC13/)) {
      ROM.romName = ROM.CC1350;
  }
}

Could you please clarify the above conflicts?

 

And one more think for migrate to the latest stack the first page is now using for TI RTOS JUMP Table. but previously we used for our Application. Now we are Upation our Application via OAD.

 

How can we handle this?

Or do we need to use BIOS From Falsh?

 

kindly provide your inputs.

 

Thanks.

 

With Reagrds,

Thangaraj.P

  • Hello,

    I do not see any inconsistency. The FLASH_ROM_BUILD refers to the BLE stack usage of the ROM whereas what you are referencing is for the TI-RTOS in ROM. The latter can be built in flash independent of the BLE stack.

    When you say "migrate to the latest stack", what does this mean specifically as it relates to BLE stack version numbers? All of our BLE sample application for CC2640R2F, aside from on chip OAD, use TI-RTOS in ROM.

    Refer to this post where the OP was moving the vector table address: e2e.ti.com/.../633328

    Best wishes
  • Hi JXS,

    Thanks for the clarification.