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.

CC1310: ota intVec

Part Number: CC1310

Hello,

When I create ota version. I have the boot that allocated on page0

after boot is complete it jumps to application.

1. does the application has it's own intvec?

2. where TI-RTOS allocated? at 0x1000 or if I move the intVec the TI-RTOS also moves?

Vitaly

  • Hi Vitaly,

    Yes, the application has its own interrupt vectors, you typically jump to the reset vector of the application when performing the jump.
    As for TI-RTOS allocation, there is a small area of flash typically reserved for TI-RTOS (this can be seen in the linker file). Besides this, TI-RTOS lives where ever it is placed in flash.

    If re-locating TI-RTOS in flahs, like in a OAD setup, you might need to manually give the actual reset vector address as it will assume it to be at the default address (0x0). This can be done as part of configuring the "Hwi" module inside the .cfg file.
  • I took the tirtos empty example and changed in icf the __intvec_start__ and the ROM_start__
    "
    define symbol __intvec_start__ = 0x00000400;
    /*-Memory Regions-*/
    define symbol ROM_start__ = 0x00000400;
    define symbol ROM_end__ = 0x00010000;
    define symbol RAM_start__ = 0x20000000;
    define symbol RAM_end__ = 0x20004FFF;
    "
    and added to tirtos cfg file:
    m3Hwi.vectorTableAddress = 0x0000400;
    m3Hwi.resetVectorAddress = 0x0000400;

    The TiRtos started to run but it crashes before it gets to the application mainThread.
    What am I missing?

    Vitaly
  • I use the simplelink_cc13x0_sdk_2_20_00_38 with IAR.

    The idea is create a boot that will be in page 0 and page 31 that will jump to the application.
    for that if I understand correctly I need to create application with its own interrupt vectors and re-locate TI-RTOS.
    The problem is that the TI-Rtos started to run ,but it crashes before it gets to the application mainThread as I wrote at previous message

    Vitaly
  • Hi Vitaly,

    Did you make TI-RTOS aware of your modifications as well? Have a look at the Hwi documentation regarding the "resetVectorAddress" and "vectorTableAddress":

    dev.ti.com/.../