TI-RTOS overview. Nick Lethaby, TI-RTOS and IoT Ecosystem. May 2015

Similar documents
TI SimpleLink dual-band CC1350 wireless MCU

Introduction to RoweBots Ultra Tiny Linux RTOS

ZiLOG Real-Time Kernel Version 1.2.0

Zilog Real-Time Kernel

RENESAS SYNERGY PLATFORM

mbed OS Update Sam Grove Technical Lead, mbed OS June 2017 ARM 2017

EVE2 BLE Datasheet. The EVE Platform features standardized IO, common OS and drivers and ultra-low power consumption.

EVE2 BLE CAN Datasheet

STM32G0 MCU Series Efficiency at its Best

Final Exam Study Guide

RTOS power management: Essential for connected MCU-based IoT nodes

Bidirectional wireless communication between IBM Cloud and Bluetooth Low Energy peripherals through SimpleLink Wi-Fi

Hands-On Workshop: ARM mbed

Datasheet. RS485 description The UART/RS485 physical layer gives support for UART communication and higher level Modbus protocol.

FOR IOT PRODUCT DEVELOPMENT

OS and Java. The Networked Appliance Solution. Haruyasu Ito. Electronic Devices Group FUJITSU LIMITED

Device to Cloud. Software Hardware Know How

Buried Treasure: Unlock the Processing Power of Wireless Modules

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual

ARM mbed Technical Overview

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

Module Introduction. This training module provides an overview of Freescale s scalable solutions for low data rate 2.4 GHz connectivity.

Embedded Programming with ARM Cortex-M3 Basic Experiments 1

Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module

Bluegiga Wi-Fi Software 9/19/2013 1

Stellaris Robotic Evaluation Board and Micriµm µc/os-iii

Overview. 3//5/ Preliminary Product Brief

New STM32WB Series MCU with built-in Bluetooth 5 and IEEE

Overview The Microcontroller The Flex Board Expansion boards Multibus board Demo board How to: Compile demo Flash & Run Demos

EMBEDDED TRAINING IN BANGALORE

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

Cortex-M Processors and the Internet of Things (IoT)

CC3200 SimpleLink Wi-Fi and Internet-of-Things Solution, a single-chip wireless MCU

Key Benefits. SAM S70 and E70 Devices

AT-501 Cortex-A5 System On Module Product Brief

The Software of Things T Y S O N T U T T L E C E O S I L I C O N L A B S A S P E N C O R E C E O S U M M I T S H E N Z H E N 8 N O V E M B E R 2018

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Overview. 1/13/ Preliminary Product Brief

INTERNET OF THINGS (IoT) DESIGN CONSIDERATIONS FOR EMBEDDED CONNECTED DEVICES ANDREW CAPLES SENIOR PRODUCT MARKETING MANAGER, NUCLEUS

Conclusions. Introduction. Objectives. Module Topics

MetaWatch Firmware Design Guide

New CC430 combines leading MCU and RF technology

INTRODUCTION TO SYNERGY SOFTWARE PACKAGE (SSP)

SPI to Ethernet Module

Kinetis SDK v Release Notes for the MK21DA5 and MKW24D5 Devices

SEAMLESS INTEGRATION OF COMMUNICATION PROTOCOLS

Migrating to Cortex-M3 Microcontrollers: an RTOS Perspective

nblue TM BR-MUSB-LE4.0-S2A (CC2540)

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009.

MQX -celeration RTOS-integrated solutions

Current Activities of the ITRON Project. Current Introduction Activities to of the ITRON Project

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

A Predictable RTOS. Mantis Cheng Department of Computer Science University of Victoria

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

NXP Semiconductors, 6501 William Cannon Drive West, Austin, Texas Kinetis SDK 2.0 Transition Guide Rev.

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.0 Revision: 0 Date: September 18, 2017

RTX64 Features by Release IZ-DOC-X R3

The challenge with IoT

Designing, developing, debugging ARM Cortex-A and Cortex-M heterogeneous multi-processor systems

CEVA-X1 Lightweight Multi-Purpose Processor for IoT

Real-time for Windows NT

HEALTHCARE SOLUTIONS WITH RENESAS SYNERGY PLATFORM

REAL TIME OPERATING SYSTEM PROGRAMMING-I: VxWorks

Low-Cost Microcontrollers

BASICS OF THE RENESAS SYNERGY PLATFORM

OpenOnload. Dave Parry VP of Engineering Steve Pope CTO Dave Riddoch Chief Software Architect

STM32 Cortex-M3 STM32F STM32L STM32W

Microcontroller: CPU and Memory

Kinetis SDK v Release Notes for KV5x Derivatives

Energy Harvesting Reference Design

BLE MODULE SPECIFICATIONS

Wireless Connectivity Made Easy by Design

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.1 Revision: 0 Date: May 3, 2018

The IoT and Thread in PHYTEC Nodes. Jonas Remmert July 15th, 2016

Nano RK And Zigduino. wnfa ta course hikaru4

DSP/BIOS Kernel Scalable, Real-Time Kernel TM. for TMS320 DSPs. Product Bulletin

Lesson 6 Intel Galileo and Edison Prototype Development Platforms. Chapter-8 L06: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

BASICS OF THE RENESAS SYNERGY PLATFORM

NFC Framework and NT3H1201 Device Driver v1.1

BR03 Raspberry Pi Zero Bridge

Bluetooth low energy Wireless MCU for Automotive Applications

Prepaid Energy System

Jonathan Valvano University of Texas at Austin Labs Keil or CCS projects

The friendly operating system for the IoT!

An Automatic Temperature Control System Using RZK

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

New STM32WB Series MCU with Built-in BLE 5 and IEEE

ARM Cortex core microcontrollers 3. Cortex-M0, M4, M7

ARM TrustZone for ARMv8-M for software engineers

Mobile Operating Systems Lesson 01 Operating System

Kinetis KE1xF512 MCUs

Software Design Challenges for heterogenic SOC's

Outline Background Jaluna-1 Presentation Jaluna-2 Presentation Overview Use Cases Architecture Features Copyright Jaluna SA. All rights reserved

Chapter 5. Introduction ARM Cortex series

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

Enabling IoT OSs for Intel Quark MCU Platforms: the fast way. OpenIoT Summit Europe Andre Guedes

8. Power Management and Sleep Modes

EMBEDDED SOFTWARE DEVELOPMENT. George Hadley 2017, Images Property of their Respective Owners

Low-Power Processor Solutions for Always-on Devices

Transcription:

I-ROS overview Nick Lethaby, I-ROS and Io Ecosystem May 2015 1

What is I-ROS? Connectivity Wi-Fi, Bluetooth Smart, ZigBee, Cellular (via PPP), Wired CP/IP, LS/SSL Other Middleware USB, File Systems I - R O S User Application asks APls Power Manager Real-time Kernel Drivers Io MCU Sensors

I-ROS development tools I-ROS works with the I Code Composer Studio (CCS), IAR, and GCC toolchains he ROS Object Viewer enables developers to study the state of OS objects such as tasks, stacks, and semaphores Available for CCS and IAR he ROS Analyzer enables developers to look at execution history including context switching and per-task CPU load Available for CCS

How I-ROS helps developers Provides pre-tested embedded software modules Connectivity protocols, power management, real-time kernel, Eliminates need for these to be developed from scratch Enables developers to focus on their areas of application expertise No licensing hassles to use Completely free to use and deploy Reduced effort to port existing applications to new devices ROS isolates application from hardware specifics Simpler development and maintenance of multi-function applications Using multiple priorities and threads to integrate different functions Add new features without modifying real-time response

I-ROS kernel, drivers, & power manager Connectivity Wi-Fi, Bluetooth Smart, ZigBee, Cellular (via PPP), Wired CP/IP, LS/SSL Other Middleware USB, File Systems I - R O S User Application asks APls Power Manager Real-time Kernel Drivers Io MCU Sensors

I-ROS kernel Designed for real-time applications Scheduler is deterministic so kernel system calls complete operation in a predictable time Interrupt latency is low Zero-latency Interrupts enable kernel to be used in hard realtime applications Low footprint to meet MCU memory constraints Kernel is highly configurable so unneeded functions are excluded Static configuration enables very low footprints by eliminating need for heaps or create/delete calls if desired ick suppression for enhanced low-power performance

Kernel services IPC Services: Events, Mailboxes, Semaphores, Gates Debug & Analysis: Logging, diagnostics, Hooks, stack checking Device-specific services: Interrupt and power management, timers, exception handling Memory Managers: Heap, fixedsized buffers hreading Services: asks, Software Interrupts, Clocks, Idle

An integrated approach to power management Drivers & stacks: Request peripheral clocks and power domains be enabled Set power-down constraints in critical sections Power policy: Run in idle task Select power saving mode Clock module: Provide next scheduled event Power manager: Manage clock gates & power domains Power-down and wake-up routines Power-down and wake-up latencies Record power-down constraints

Impact of I-ROS power manager I MCU offers low power modes that consume exponentially less power compared to simply sleeping the main Cortex-M core (WaitForInterrupt) he default power policy uses the latency data combined with its knowledge of the next scheduled event to select the lowest possible power state, thus greatly extending battery life Note: he data below is from the SimpleLink CC2640 wireless MCU Power Mode Wake-up ime to CPU Active Current Used Active NA 4.145 ma WaitForInterrupt A few cycles 2.028 ma IDLE 1.4 µs 796 µa SANDBY 14 µs 1-2 µa

I-ROS device drivers & board support Driver APIs are consistent across device families Makes applications easy to port to other device supported by I-ROS Drivers are designed for use with ROS hread-safe Block (on a semaphore) when waiting for I/O so CPU is released for another thread to run Each supported board has a board.c file that contains the code for initializing all the peripherals Drivers are power-aware for ultra low-power MCU devices 10

I-ROS device drivers C28 C28+M3 M4C MSP432 MSP430 CC3200 CC26xx Real-time clock Y Y Y Y imer Y Y Y Y Y Y Y UAR Y Y Y Y Y Y DMA-based UAR Y Y I 2 C Y Y Y Y Y Y I 2 S Y SPI Y Y Y Y Y Y SPI-SD Y Y Y Y Y PWM Y Y Y Camera Y EMAC Y Y USB Y Y Y Watchdog Y Y Y Y Y

I-ROS connectivity & middleware Connectivity Wi-Fi, Bluetooth Smart, ZigBee, Cellular (via PPP), Wired CP/IP, LS/SSL Other Middleware USB, File Systems I - R O S User Application asks APls Power Manager Real-time Kernel Drivers Io MCU Sensors

I-ROS: wireless connectivity I-ROS supports all on-chips stacks in I SimpleLink wireless MCUs out-of-box I-ROS supports the SimpleLink Wi-Fi CC3100 wireless network processor out-of-box Device Wireless Stack Comments CC3200 Wi-Fi CC3200 Wi-Fi host driver pre-tested on I-ROS CC2630 ZigBee Stack runs by default on I-ROS CC2640 Bluetooth Smart Stack runs by default on I-ROS MCU + CC3100 Wi-Fi I-ROS offers pre-integrated CC3100 host drivers using SPIs on MSP430, MSP432 and M4Cx

I-ROS CP/IP stack Route Manager IF Manager NA L S S N P Hardware Adaptation Layer Ethernet Packet Driver H P PPP Serial IF Serial Port Driver F P IP E L N E imer Driver D N S Standard BSD Sockets Interface ARP Ethernet IF D H C P CP UDP ICMP IGMP User LED Driver CP/IP Key Features Supports both IPv4 and IPv6 Standard BSD Sockets interface Zero-copy sockets interface available Highly configurable to meet footprint constraints PPP/Serial Interface allows use with third-party cellular modems SSL/LS requires a licensing fee Hardware

USB stack Class Driver Application M S C Host Hardware Adaptation Layer SD card, mouse, UAR,. Drivers H I D Hardware C D C DMA Driver Device H I D USB Driver C O N F I G U R A I O N USB Key Features MSC Host Class Driver HID Host & Device Class Drivers CDC Device Class Driver Examples for each class driver Example of using MSC Host Driver under FA file system

File system I uses an open source software called FatFs Key features: Both native and C RS file APIs may be used C RS APIs (fopen (), fread (), fwrite (), ) are plugged into file system Supports FA12, FA16, FA32, and VFA Long file names (VFA) are not supported in the default build I does NO indemnify against VFA patents Drivers options: SD Card (via SPI driver) USB flash drive (via USB MSC host)

Summary I-ROS enables developers to focus on their specific areas of applications expertise by providing pre-tested software building blocks: Multitasking kernel and device drivers Connectivity solutions: CP/IP, Wi-Fi, BLE, and USB Advanced, easy-to-use power management Preemptive multitasking design paradigm simplifies development and maintenance of embedded applications I-ROS no-cost licensing removes commercial barriers to deployment

For more information www.ti.com web page: www.ti.com/tool/ti-rtos Product brochure, white paper, manuals, software downloads e2e forum: http://e2e.ti.com/support/embedded/tirtos/ Wiki: http://processors.wiki.ti.com/index.php/main_page Select I-ROS category Download page: http://softwaredl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/index.html Product manager: Nick Lethaby (nlethaby@ti.com)