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: boot in empty example

Part Number: CC1310

Hello,

I'm looking at the empty example (Blinking led).

can main.c file be the boot?

if not, is there other boot that loads? can I see the code?

is there a code running before the main(void) function?


BR,

Vitaly

  • Vitaly,

    If you are using the RTOS examples, then yes there is quite a bit of code that runs first.

    I suggest using the NON-RTOS examples, there all the source code is pretty easy to step thru.

    /TA
  • How both with and without RTOS the defines in icf (linker) file are:

    define symbol __intvec_start__ = 0x00000000;

    /*-Memory Regions-*/

    define symbol ROM_start__ = 0x00000000;

    Even the BIM example goes to 0x0 address.

    Where the location of a boot?

  • Hello Vitaly Preimer,

    There is a folder located in C:/ti/<SIMPLELINK_SDK_>/source/ti/devices/cc13x0/startup_files called startup_ccs.c that is included into all project (RTOS and NONRTOS). The resetISR is located in here which is the starting point of any program, unless you overirde the --entry_point definition in the linker cmd file.

    Regards,
    AB