Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

Compiler: First hundred bytes of RAM ... etc

Tool/software: TI C/C++ Compiler

My target is using TI-RTOS... and is in the CC26XX family.

Where can I find out more about these variables:

* xdcRomExternFuncPtr

* xdcRomStatePtr

* xdcRomConstPtr

I think these have something to do with the RTOS_ROM region? Or something like that?

The generated linker script is placing these at address 0x200001000, 1004, and 108

Questions: 

What are they used for? Are these pointing at RAM somewhere?

Why there? (ie: +100 into the RAM?)  Why not at +0

My concern is this: It appears there are some "pre-allocated" memory locations that I am not aware of in this family

where can I find documentation about the memory map - the CHIP trm is not sufficent, what I think I need is more info about the RTOS, DRIVERLIB, and what it expects in RAM layout.

  • An engineer has been assigned to answer your questions.
  • Duane,

    These 3 pointers are used internally by the RTOS kernel in ROM to locate functions, constants, and variables referenced by the ROM code. The 3 objects that the pointers point to can be anywhere, but these 3 pointers are assumed (ie REQUIRED) by the ROM code to be placed at these 3 fixed RAM locations. If you are not building against the ROM kernel, then these pointers and the objects they point to do not exist.

    The first 0x100 bytes of RAM are conventionally reserved for the runtime interrupt vector table. The M4 core's NVIC Vector Table Offset Register is initialized to point to a RAM vector table in order to support dynamic creation and deletion of Hwis.

    SInce the first 0x100 bytes are virtually always used for the vector table, the 3 object pointers required by the RTOS ROM kernel were located just afterwards.

    Alan