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.

reaching the main(void) takes to long

Other Parts Discussed in Thread: SYSBIOS

Hi,

I am facing a problem by start up from sybios the  __TI_auto_init  function takes about 650ms  these is too high for my  requirements we have to start up under 100ms some tasks.

I find out that these time I can reduce withe the  reducing the  heap size from sysbios.

But my problem is how I can find out the correct heap and stack size for sysbios ?

And also is there any option to reduce these time ?

bios_6_33_04_39

xdctools_3_23_03_53
xdais_7_21_01_07

/*

* The BIOS module will create the default heap for the system.
* Specify the size of this default heap.
*/
BIOS.heapSize = 0x80000;

/* System stack size (used by ISRs and Swis) */
Program.stack = 0x5000;

  • Hi,

    I was able to reduce the start up time  noticeable  with the Linker option

    --rom_model | --ram_model
    Options that tell the linker to use special conventions defined by the
    C/C++ environment. When you use cl470 --run_linker, you must use
    --rom_model or --ram_model. The --rom_model option uses
    automatic variable initialization at run time; the --ram_model option
    uses variable initialization at load time.

    kind regards

    Mesut