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.

Setting __TI_STACK BASE

Other Parts Discussed in Thread: SYSBIOS

I am incorporating the SYS / BIOS into my existing  project... I have resolved all of the problems with tasks timer interrupts except for this one...

undefined       first referenced                                                                                        

  symbol             in file                                                                                             

---------       ----------------                                                                                        

__TI_STACK_BASE

C:\Users\Nighthawk_eng1\Documents\Landis_Gyr\bigsystem_three_tasks_02\src\sysbios\sysbios.a430X<BIOS.obj>

error #10234-D: unresolved symbols remain

 

For what ever reason this I need to define where the start of Stack is... I have worked with the Project.cfg file to setup all the other sys/bios controls...

but I don't see any way to set the stack base..

is this just a Compiler or linker set variable?

the __TI_Stack_Base isn't in any of my code, so it must be a sys/bios need.

Can you give me any insite on how to define this and why i need to specifically define it?

R Knott

  • Normally, the TOS (top of stack) is provided by the linker script, as it is device-specific. The linker generates a symbol that contains the address of top of ram, and the runtime library startup code uses it. Since linker and runtime library are provided together, this works fine.

    Now SYS/BIOS seems to use a different symbol for this purpose. So either you provide the information yourself or you map this symbol to the symbol used by the linker.

  • OH!

    My linker control file has a  ".STACK" which is set to RAM (HIGH) ..... thats the stack base address. but why didn't the sys/bios gui connect that to what it needed for __TI_STACK_BASE ? 

    While awaiting any clue on what to do i re-created my project from scratch and only included the pieces of SYS/BIOS that i needed and compiled it up without a hitch,  and also no need for __TI_STACK_BASE.   That makes me think that I may have selected a functional option in the sys/bios gui and then removed it and the sys/bios did not clean up after itself and left a bit of stuff it did not really need, causing this error...

    Anyway

    Thanks  and if anyone else knows what part of the sys/bios needs that TI_STACK_BASE reference and not .STACK or .BSS ... it would help me find the left over code from disabled functions and clean up the GUI's leftover mess.

     

     

**Attention** This is a public forum