TI-RTOS


TI-RTOS is an embedded tools ecosystem created and offered by Texas Instruments for use in a wide range of their embedded processors. It includes a real time operating system component called "TI-RTOS Kernel" along with additional components that support device drivers, networking connectivity stacks, power management, file systems, instrumentation, and inter-processor communications like DSP/BIOS Link.
TI-RTOS can be used within TI's Code Composer Studio integrated development environment, IAR Systems' IAR Embedded Workbench, and the GNU Compiler Collection. Separate versions of TI-RTOS are provided to support TI's MSP43x, SimpleLink Wireless MCU, Sitara, Tiva C, C2000, and C6000 lines of embedded devices.
TI-RTOS provides a wide range of system services to an embedded application such as preemptive multitasking, memory management and real-time analysis. Because TI-RTOS can be used in such a wide variety of different microprocessors with very different processing and memory constraints, it was designed to be highly configurable. It is supported by popular SSL/TLS libraries such as wolfSSL.

History

The roots of TI-RTOS were originally developed by Spectron Microsystems as the first real time operating system developed specifically for digital signal processors and was named SPOX. Spectron Microsystems eventually also developed a second product called BIOSuite that included a light-weight real time kernel and various associated tools that allowed for configuration and real-time analysis.
Spectron Microsystems was eventually acquired by Texas Instruments and the SPOX and BIOSuite products were combined into a single microkernel product called DSP/BIOS. The DSP/BIOS RTOS product underwent significant changes to its API in version 6.0. With the release of version 6.3 in August 2010, DSP/BIOS was renamed SYS/BIOS in order to reflect its support for microcontrollers beyond DSPs. With the release of version 6.40 in April 2014, SYS/BIOS was renamed TI-RTOS Kernel and made a tightly-integrated component of the TI-RTOS product suite.
TI-RTOS 1.00 was initially released in July 2012. for TI's microprocessors The 2.00 release of TI-RTOS in April 2014 completed the renaming process and integrated the TI-RTOS Kernel and other components under one software umbrella.

Component overview

TI-RTOS consists of the following components, some of which are not available for all embedded target families:
Most of the TI-RTOS components are released under the BSD License. Any user can rebuild the kernel using the included source code.

RTOS kernel overview

Organization

The TI-RTOS Kernel is made up of a number of discrete components, called modules. Each module can provide services via an API and is individually configurable. For example, system semaphores are provided by a module called ti.sysbios.knl.Semaphore and the developer can choose whether this module is included in the runtime image or optimized out. If the module is included, the user can configure various aspects of the Semaphore module and can also configure instances of semaphores to be created as soon as the system starts up. The Semaphore module also provides an API so that semaphores can be created, posted, pended and deleted while embedded program runs.

Threading

TI-RTOS Kernel provides support for several different types of threads in an embedded system.
TI-RTOS Kernel provides tooling to set up an embedded system's memory map and also to allow memory buffers to be allocated and deallocated while the system runs. The type of memory manager used during runtime is actually configurable so that memory fragmentation can be minimized if necessary.

Real time debugging

TI-RTOS Kernel provides modules that allow it to provide information about how the system is executing. This includes how different threads are loading the CPU over time as well as logging events as they occur in both the system application as well as within the TI-RTOS Kernel itself. In addition, the Code Composer Studio integrated development environment can take this logged data and graphically display it for the developer.