Jump to content

TI-RTOS

From Wikipedia, the free encyclopedia
TI-RTOS
DeveloperTexas Instruments
Written inC
OS familyReal-time operating systems
Working stateCurrent
Source modelOpen source
Initial release1985;39 years ago(1985)
Latest release2.21.01.08 / February 2018;6 years ago(2018-02)
Marketing targetEmbedded systems
Available inEnglish
PlatformsTMS320 DSPs,ARM,MSP430
KerneltypeMicrokernel
LicenseBSD,EULA
Official websitewww.ti.com/tool/ti-rtos

TI-RTOSis an embedded tools ecosystem created and offered byTexas Instruments(TI) for use across a range of theirembedded systemprocessors. It includes areal-time operating system(RTOS) component-namedTI-RTOS Kernel(formerly namedSYS/BIOS,which evolved fromDSP/BIOS), networking connectivity stacks, power management,file systems,instrumentation, and inter-processor communications likeDSP/BIOS Link.It isfree and open-source software,released under aBSD license.

TI-RTOS can be used within TI'sCode Composer Studiointegrated development environment(IDE),IAR Systems' IAR Embedded Workbench, and theGNU Compiler Collection(GCC). Separate versions of TI-RTOS are provided to support TI'sMSP43x(includingMSP432), SimpleLink Wireless MCU,Sitara,Tiva C,C2000,andC6000lines of embedded devices.

TI-RTOS provides system services to an embedded application, such aspreemptive multitasking,memory management,and real-time analysis. TI-RTOS can be used in differentmicroprocessors,with different processing and memory constraints. It is supported bySecure Sockets Layer(SSL) andTransport Layer Security(TLS)librariessuch asWolfSSL.[1]

History

[edit]

The roots of TI-RTOS were originally developed by Spectron Microsystems (a subsidiary ofDialogic Corporation) as the first RTOS developed specifically fordigital signal processorsand was namedSPOX.Spectron eventually also developed a second product namedBIOSuitethat included areal-timekerneland various associated tools.

Spectron Microsystems was eventually acquired by Texas Instruments[2]and theSPOXandBIOSuiteproducts were merged into onemicrokernelproduct namedDSP/BIOS.The DSP/BIOS RTOS product underwent significant changes to itsapplication programming interface(API) in version 6.0.[3]With the release of version 6.3 in August 2010,DSP/BIOSwas renamedSYS/BIOSto reflect its support formicrocontrollersbeyond DSPs. With the release of version 6.40 in April 2014, SYS/BIOS was renamedTI-RTOS Kerneland made a component of the TI-RTOS product suite.[4]

TI-RTOS 1.00 was released initially in July 2012.[5]for TI's microprocessors[6]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

[edit]
Through special plugins provided by Texas Instruments,GStreamermakes use of hardware acceleration provided by e.g.,Texas Instruments DaVinci.

TI-RTOS consists of many components for Kernel, Drivers and Board Initialization, Network Services, Interprocessor Communication, Instrumentation, and File Systems.

Licensing

[edit]

Most of the TI-RTOS components are released under theBSD License.Any user can rebuild the kernel using the included source code.

RTOS Kernel Overview

[edit]

Organization

[edit]

The TI-RTOS Kernel[7]is made up of a number of discrete components, calledmodules.Each module can provide services via an API and is individually configurable. A developer can choose whether this module is included in the runtime image or optimized out. If included, the user can configure various aspects of the Semaphore module, and instances of semaphores to be created on system start up. The module provides an API so that semaphores can be created, posted, pended, and deleted as an embedded program runs.

Threading

[edit]

TI-RTOS Kernel supports different types of threads in an embedded system.

  • Hardware Interrupt (Hwi): support threads initiated by a hardware interrupt.
  • Software Interrupt (Swi): structured to be similar to Hwis, but allow processing to be deferred until after a hardware interrupt has completed.
  • Task: a discrete thread that can execute or block while waiting for an event to occur.
  • Idle: the lowest priority thread that only runs when no other thread is ready to execute.

Memory management

[edit]

TI-RTOS Kernel has tools to set up an embedded system's memory map and allow memory buffers to be allocated and deallocated while the system runs. The type of memory manager used during runtime is configurable so that memory fragmentation can be minimized.

Real-time debugging

[edit]

The TI-RTOS kernel can use modules to provide information about the execution of the system. This includes the time utilisation of the CPU by various threads and the logging of events that occur both in the system application and in the TI-RTOS kernel. The Code Composer Studio IDE is able to graphically display this logged data for analysis.

References

[edit]
  1. ^"Speed Up Development: Code Composer Studio with TI-RTOS and wolfSSL".wolfSSL.2015-08-13.Retrieved2019-02-19.
  2. ^Texas Instruments to Acquire Spectron Microsystems from Dialogic Corporation,Press Release January 22, 1998
  3. ^Differences Between DSP/BIOS and SYS/BIOS,Texas Instruments Wiki
  4. ^SYS/BIOS 6.40.01.15 GA Release Notes
  5. ^TI-RTOS Product Releases and Download Links
  6. ^TI offers scalable thread-aware RTOS spanning full MCU portfolio
  7. ^TI-RTOS Kernel software page on TI website
[edit]