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.

RTOS/STARTERWARE-SITARA: Integrating Starterware in RTOS

Part Number: STARTERWARE-SITARA
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

I am trying to use functions from Starterware 2.0.1.1 with SysBios. 

This pages says:   "Hence, when the examples are integrated into an RTOS environment, these configurations must be removed, and RTOS APIs need to be called to configure them."

processors.wiki.ti.com/.../StarterWare_Integration_Into_RTOS

Yeah... how??

I would ask this in the RTOS or StarterWare forums, but they have be shutdown and locked.  Not allowed to ask in those anymore.

I can see (and tested and proved) that even the most basic Sysdelay() call doesn't work.  The apparent reason is that the timer, which uses DMTIMER_7 on the Sitara chip, does not have the interrupt vectors set properly when Sys/Bios is used. 

I can use StarterWare on a non-Sys/Bios project, because I can set the entry point to "Entry" which is in the "system" library, which initializes the device prior to entering "main()"

If I try to set that entry point for a Sys/Bios project, there are a can of issues:

  1. There is no bss_start and bss_end defined in the bss section, and XDC tools dynamically creates the linker script so I can't even add one
  2. RTOS likely uses it's own IVT, and I see no way to control or configure it using the tools that automatically do all this stuff behind your back
  3. The existing entry point "_c_int00" is being brought in by some unknown package (app_pa8fg.oa8fg or some such thing), and I have no idea where that is so I can attempt to modify it myself to accommodate the startup code that is in StarterWare.

I cannot use the StarterWare C:\ti\pdk_am335x_1_0_7\packages\ti\starterware because it is missing pieces that are in StarterWare 2.0.1.1

So, what is the secret to being able to use packages in StarterWare 2.0.1.1, which TI just "hasn't gotten around to" putting in the new PDK which is compatible with Sys/Bios?

-CSW