The Actor Model applied to the Raspberry Pi and the Embedded Domain. Omer

Size: px
Start display at page:

Download "The Actor Model applied to the Raspberry Pi and the Embedded Domain. Omer"

Transcription

1 The Actor Model applied to the Raspberry Pi and the Embedded Domain Omer

2 Agenda Current state of Embedded Systems Overview of the Actor Model Erlang Embedded Project Modelling and developing systems using Erlang Experiments with the Raspberry Pi Future Explorations Q & A 03/12/2012 Tech Mesh London Slide 2 of 45

3 Embedded Systems An embedded system is a computer system designed for specific control functions within a larger system, often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts. By contrast, a general-purpose computer, such as a personal computer (PC), is designed to be flexible and to meet a wide range of end-user needs. - Infinite Wisdom of Wikipedia 03/12/2012 Tech Mesh London Slide 3 of 45

4 #include <stats.h> Source: 03/12/2012 Tech Mesh London Slide 4 of 45

5 Current Challenges Complex SoC platforms Internet of Things Connected and distributed systems Multicore and/or heterogeneous devices Time to market constraints 03/12/2012 Tech Mesh London Slide 5 of 45

6 Embedded Systems Bare Metal No underlying OS or high level abstractions RTOS Minimal interrupt and switching latency, scheduling guarantees, minimal jitter Embedded Linux Slimmed down Linux with hardware interfaces 03/12/2012 Tech Mesh London Slide 6 of 45

7 RTOS Concepts Notion of tasks OS-supervised interprocess messaging Shared memory Mutexes/Semaphores/Locks Scheduling Pre-emptive: event driven Round-robin: time multiplexed 03/12/2012 Tech Mesh London Slide 7 of 45

8 Embedded Linux Not a new concept, increased popularity due to abundant supply of cheap boards Raspberry Pi, Beagleboard/Beaglebone, Gumstix et al. Familiar set of tools for software developers, new territory for embedded engineers No direct mapping for RTOS concepts, especially tasks Complex device driver framework Here be dragons 03/12/2012 Tech Mesh London Slide 8 of 45

9 Actor Model Proposed in 1973 by Hewitt, Bishop and Steiger Universal primitives for concurrent computation No shared-state, self-contained and atomic Building blocks for modular, distributed and concurrent systems Implemented in a variety of programming languages 03/12/2012 Tech Mesh London Slide 9 of 45

10 Actor Model Asynchronous message passing Messages kept in a mailbox and processed in the order they are received in Upon receiving messages, actors can: Make local decisions and change internal state Spawn new actors Send messages to other actors 03/12/2012 Tech Mesh London Slide 10 of 45

11 Actor Model 03/12/2012 Tech Mesh London Slide 11 of 45

12 Actor Model 03/12/2012 Tech Mesh London Slide 12 of 45

13 Limitations of the Actor Model No notion of inheritance or general hierarchy Specific to language and library implementation Asynchronous message passing can be problematic for certain applications Ordering of messages received from multiple processes Abstract definition may lead to inconsistency in larger systems Fine/Coarse Grain argument 03/12/2012 Tech Mesh London Slide 13 of 45

14 Erlang Embedded Knowledge Transfer Partnership between Erlang Solutions and University of Kent Aim of the project: Bring the benefits of concurrent systems development using Erlang to the field of embedded systems; through investigation, analysis, software development and evaluation. 03/12/2012 Tech Mesh London Slide 14 of 45

15 Why Erlang? Implements the Actor model Battle-tested at Ericsson and many other companies Originally designed for embedded applications Support for concurrency and distributed systems out of the box Easy to create robust systems (...and more!) 03/12/2012 Tech Mesh London Slide 15 of 45

16 High Availability/Reliability Simple and consistent error recovery and supervision hierarchies Built in fault-tolerance Isolation of Actors Support for dynamic reconfiguration Hot code loading 03/12/2012 Tech Mesh London Slide 16 of 45

17 Creating an Actor Pid1 spawn(math, fact, [5]) Pid2 math:fact(5) 03/12/2012 Tech Mesh London Slide 17 of 45

18 Communication Pid1 {Pid1, msg} Pid2 Pid2! {self(), msg} 03/12/2012 Tech Mesh London Slide 18 of 45

19 Bidirectional Links Pid1 Pid2 link(pid2) 03/12/2012 Tech Mesh London Slide 19 of 45

20 Process Error Handling Let it Fail! Abstract error handling away from the modules Results in leaner modules Supervision hierarchies 03/12/2012 Tech Mesh London Slide 20 of 45

21 Propagating Exit Signals {'EXIT', PidA, Reason} PidA PidB {'EXIT', PidB, Reason} PidC 03/12/2012 Tech Mesh London Slide 21 of 45

22 Trapping Exits {'EXIT', PidA, Reason} process_flag(trap_exit, true) PidA PidB PidC 03/12/2012 Tech Mesh London Slide 22 of 45

23 External Interfaces Native Implemented Functions (NIFs) and ports used to interface external world to the Erlang runtime. 03/12/2012 Tech Mesh London Slide 23 of 45

24 Erlang, the Maestro (flickr/dereckesanches) 03/12/2012 Tech Mesh London Slide 24 of 45

25 Raspberry Pi 700 MHz ARM MB DDR2 RAM 10/100Mb Ethernet 2x USB 2.0 (HDMI, Composite Video, 3.5mm Stereo Jack, DSI, CSI-2) $35 03/12/2012 Tech Mesh London Slide 25 of 45

26 Raspberry Pi in Education The Raspberry Pi Foundation is a UK registered charity. Mission statement: "...to promote the study of computer science and related topics, especially at school level, and to put the fun back into learning computing." Future Engineers/Programmers! (flickr/lebeus) 03/12/2012 Tech Mesh London Slide 26 of 45

27 Raspberry Pi Peripherals GPIO UART I2C I2S SPI PWM DSI CSI-2 03/12/2012 Tech Mesh London Slide 27 of 45

28 Accessing peripherals Peripherals are memory mapped Access via /dev/mem Faster, needs root, potentially dangerous! Use kernel modules/sysfs Slower, doesn t need root, easier, relatively safer 03/12/2012 Tech Mesh London Slide 28 of 45

29 GPIO Interface (I) init(pin, Direction) -> {ok, FdExport} = file:open("/sys/class/gpio/export", [write]), file:write(fdexport, integer_to_list(pin)), file:close(fdexport), {ok, FdPinDir} = file:open("/sys/class/gpio/gpio" ++ integer_to_list(pin) ++ "/direction", [write]), case Direction of in -> file:write(fdpindir, "in"); out -> file:write(fdpindir, "out") end, file:close(fdpindir), {ok, FdPinVal} = file:open("/sys/class/gpio/gpio" ++ integer_to_list(pin) ++ "/value", [read, write]), FdPinVal. 03/12/2012 Tech Mesh London Slide 29 of 45

30 GPIO Interface (II) write(fd, Val) -> file:position(fd, 0), file:write(fd, integer_to_list(val)). read(fd) -> file:position(fd, 0), {ok, Val} = file:read(fd, 1), Val. release(pin) -> {ok, FdUnexport} = file:open("/sys/class/gpio/unexport", [write]), file:write(fdunexport, integer_to_list(pin)), file:close(fdunexport). 03/12/2012 Tech Mesh London Slide 30 of 45

31 Concurrency Demo 03/12/2012 Tech Mesh London Slide 31 of 45

32 Example: GPIO PidA PidB PidC Pin17??? 03/12/2012 Tech Mesh London Slide 32 of 45

33 Example: GPIO PidA PidB GPIO Proxy PidC Pin17 03/12/2012 Tech Mesh London Slide 33 of 45

34 GPIO Proxy Replaces locks in traditional sense of embedded design Access control/mutual exclusion Can be used to implement safety constraints Toggling rate, sequence detection, direction control, etc. 03/12/2012 Tech Mesh London Slide 34 of 45

35 Fine Grain Abstraction Advantages Application code becomes simpler Concise and shorter modules Testing becomes easier Code re-use (potentially) increases Disadvantage Architecting fine grain systems is difficult 03/12/2012 Tech Mesh London Slide 35 of 45

36 Universal Peripheral/Component Modules 03/12/2012 Tech Mesh London Slide 36 of 45

37 Universal Peripheral/Component Modules 03/12/2012 Tech Mesh London Slide 37 of 45

38 TI OMAP Reference System 03/12/2012 Tech Mesh London Slide 38 of 45

39 Hardware Projects Ponte 03/12/2012 Tech Mesh London Slide 39 of 45

40 Hardware Projects Demo Board 03/12/2012 Tech Mesh London Slide 40 of 45

41 Hardware Simulator 03/12/2012 Tech Mesh London Slide 41 of 45

42 Future Explorations Parallella: 03/12/2012 Tech Mesh London Slide 42 of 45

43 Packages for Embedded Architectures 03/12/2012 Tech Mesh London Slide 43 of 45

44 Erlang Embedded Training Stack A complete package for people interested in developing the next generation of concurrent and distributed Embedded Systems Training Modules: Embedded Linux Primer Erlang/OTP 101 Erlang Embedded Framework Get in touch if you re interested. 03/12/2012 Tech Mesh London Slide 44 of 45

45 Thank you The world is concurrent. Things in the world don't share data. Things communicate with messages. Things fail. - Joe Armstrong Co-inventor of Erlang 03/12/2012 Tech Mesh London Slide 45 of 45

The Actor Model applied to the Raspberry Pi and the Embedded Domain. The Erlang Embedded Project. Omer

The Actor Model applied to the Raspberry Pi and the Embedded Domain. The Erlang Embedded Project. Omer The Actor Model applied to the Raspberry Pi and the Embedded Domain. The Erlang Embedded Project Omer Kilic @OmerK omer@erlang-solutions.com Outline Current state of Embedded Systems Overview of Erlang

More information

FRANCESCO CESARINI. presents ERLANG/OTP. Francesco Cesarini Erlang

FRANCESCO CESARINI. presents ERLANG/OTP. Francesco Cesarini Erlang FRANCESCO CESARINI presents Francesco Cesarini Erlang Solutions ERLANG/OTP @FrancescoC francesco@erlang-solutions.com www.erlang-solutions.com WHAT IS SCALABILITY? WHAT IS (MASSIVE) CONCURRENCY? WHAT

More information

Overview of the Raspberry Pi Models 3B & 2B

Overview of the Raspberry Pi Models 3B & 2B Overview of the Raspberry Pi Models 3B & 2B (Let's look at the hardware!) Rick Commo, K7LOG Max Vaughan, KF7MAX What's really different between the original 2B and the 3B? Parameter Architecture CPU

More information

Message Passing. Advanced Operating Systems Tutorial 7

Message Passing. Advanced Operating Systems Tutorial 7 Message Passing Advanced Operating Systems Tutorial 7 Tutorial Outline Review of Lectured Material Discussion: Erlang and message passing 2 Review of Lectured Material Message passing systems Limitations

More information

ECE 598 Advanced Operating Systems Lecture 4

ECE 598 Advanced Operating Systems Lecture 4 ECE 598 Advanced Operating Systems Lecture 4 Vince Weaver http://www.eece.maine.edu/~vweaver vincent.weaver@maine.edu 28 January 2016 Announcements HW#1 was due HW#2 was posted, will be tricky Let me know

More information

Cooking with Team 279

Cooking with Team 279 Cooking with Team 279 Intro to the Raspberry Pi FIRST Team 279 Tech Fusion http://team279.com - https://twitter.com/team_279 Author: Michael Lehman What is a System on a Chip? From Wikipedia: A system

More information

An Introduction to Erlang

An Introduction to Erlang Erlang Solutions Ltd An Introduction to Erlang From behind the trenches GOTO Copenhagen May 13 th, 2011 Francesco Cesarini Founder, Technical Director @FrancescoC francesco@erlang-solutions.com So Here

More information

Erlang. Joe Armstrong

Erlang. Joe Armstrong Erlang Joe Armstrong Though OOP came from many motivations, two were central. The large scale one was to find a better module scheme for complex systems involving hiding of details, and the small scale

More information

Embedded Linux kernel and driver development training 5-day session

Embedded Linux kernel and driver development training 5-day session Embedded Linux kernel and driver development training 5-day session Title Embedded Linux kernel and driver development training Overview Understanding the Linux kernel Developing Linux device drivers Linux

More information

EMC2. Prototyping and Benchmarking of PikeOS-based and XTRATUM-based systems on LEON4x4

EMC2. Prototyping and Benchmarking of PikeOS-based and XTRATUM-based systems on LEON4x4 EMC2 Prototyping and Benchmarking of PikeOS-based and XTRATUM-based systems on LEON4x4 Introduction Multi-core architectures will be adopted in the next generations of avionics and aerospace systems. Integrated

More information

Raspberry Pi Compute Development board

Raspberry Pi Compute Development board Raspberry Pi Compute Development board TM Gumstix, Inc. shall have no liability of any kind, express or implied, arising out of the use of the Information in this document, including direct, indirect,

More information

Starting the System & Basic Erlang Exercises

Starting the System & Basic Erlang Exercises Starting the System & Basic Erlang Exercises These exercises will help you get accustomed with the Erlang development and run time environments. Once you have set up the Erlang mode for emacs, you will

More information

Real-Time Programming

Real-Time Programming Real-Time Programming Week 7: Real-Time Operating Systems Instructors Tony Montiel & Ken Arnold rtp@hte.com 4/1/2003 Co Montiel 1 Objectives o Introduction to RTOS o Event Driven Systems o Synchronization

More information

RASPBERRY PI EXAMPLES WITH CLICK BOARDS

RASPBERRY PI EXAMPLES WITH CLICK BOARDS RASPBERRY PI EXAMPLES WITH CLICK BOARDS Pi 3 click shield connects the world largest collection of add-on boards click boards with one of the today s most popular embedded platforms Raspberry Pi. Here

More information

EMBEDDED SYSTEMS WITH ROBOTICS AND SENSORS USING ERLANG

EMBEDDED SYSTEMS WITH ROBOTICS AND SENSORS USING ERLANG EMBEDDED SYSTEMS WITH ROBOTICS AND SENSORS USING ERLANG Adam Lindberg github.com/eproxus HARDWARE COMPONENTS SOFTWARE FUTURE Boot, Serial console, Erlang shell DEMO THE GRISP BOARD SPECS Hardware & specifications

More information

Erlang. Joe Armstrong.

Erlang. Joe Armstrong. Erlang Joe Armstrong joe.armstrong@ericsson.com 1 Who is Joe? Inventor of Erlang, UBF, Open Floppy Grid Chief designer of OTP Founder of the company Bluetail Currently Software Architect Ericsson Current

More information

HOW TO INTEGRATE NFC FRONTENDS IN LINUX

HOW TO INTEGRATE NFC FRONTENDS IN LINUX HOW TO INTEGRATE NFC FRONTENDS IN LINUX JORDI JOFRE NFC READERS NFC EVERYWHERE 14/09/2017 WEBINAR SERIES: NFC SOFTWARE INTEGRATION PUBLIC Agenda NFC software integration webinar series Session I, 14th

More information

Introduction to the Raspberry Pi AND LINUX FOR DUMMIES

Introduction to the Raspberry Pi AND LINUX FOR DUMMIES Introduction to the Raspberry Pi AND LINUX FOR DUMMIES 700Mhz ARM v6 Broadcomm CPU+GPU 512 MB RAM (256MB on Model A) Boots off SD card for filesystem USB, Audio out, LAN (Model B only) HDMI + Composite

More information

Advanced Embedded Systems

Advanced Embedded Systems Advanced Embedded Systems Practical & Professional Training on Advanced Embedded System Course Objectives : 1. To provide professional and industrial standard training which will help the students to get

More information

Erlang 101. Google Doc

Erlang 101. Google Doc Erlang 101 Google Doc Erlang? with buzzwords Erlang is a functional concurrency-oriented language with extremely low-weight userspace "processes", share-nothing messagepassing semantics, built-in distribution,

More information

Erlang: An Overview. Part 2 Concurrency and Distribution. Thanks to Richard Carlsson for most of the slides in this part

Erlang: An Overview. Part 2 Concurrency and Distribution. Thanks to Richard Carlsson for most of the slides in this part Erlang: An Overview Part 2 Concurrency and Distribution Thanks to Richard Carlsson for most of the slides in this part Processes P1 fib(0) -> 1; fib(1) -> 1; fib(n) when N > 0 -> fib(n-1) + fib(n-2). Whenever

More information

TechNexion PICO SOM Expansion Board

TechNexion PICO SOM Expansion Board TechNexion PICO SOM Expansion Board TM Gumstix, Inc. shall have no liability of any kind, express or implied, arising out of the use of the Information in this document, including direct, indirect, special

More information

An Introduction to Erlang

An Introduction to Erlang Erlang Solutions Ltd An Introduction to Erlang From behind the trenches GOTO Amsterdam Amsterdam, May 25 th 2012 Francesco Cesarini Founder, Technical Director @FrancescoC francesco@erlang-solutions.com

More information

Gumstix Pi Compute USB-Ethernet

Gumstix Pi Compute USB-Ethernet Gumstix Pi Compute USB-Ethernet TM Gumstix, Inc. shall have no liability of any kind, express or implied, arising out of the use of the Information in this document, including direct, indirect, special

More information

Real Safe Times in the Jailhouse Hypervisor Unrestricted Siemens AG All rights reserved

Real Safe Times in the Jailhouse Hypervisor Unrestricted Siemens AG All rights reserved Siemens Corporate Technology Real Safe Times in the Jailhouse Hypervisor Real Safe Times in the Jailhouse Hypervisor Agenda Jailhouse introduction Safe isolation Architecture support Jailhouse application

More information

Hardware Software Bring-Up Solutions for ARM v7/v8-based Designs. August 2015

Hardware Software Bring-Up Solutions for ARM v7/v8-based Designs. August 2015 Hardware Software Bring-Up Solutions for ARM v7/v8-based Designs August 2015 SPMI USB 2.0 SLIMbus RFFE LPDDR 2 LPDDR 3 emmc 4.5 UFS SD 3.0 SD 4.0 UFS Bare Metal Software DSP Software Bare Metal Software

More information

64 bit Bare Metal Programming on RPI-3. Tristan Gingold

64 bit Bare Metal Programming on RPI-3. Tristan Gingold 64 bit Bare Metal Programming on RPI-3 Tristan Gingold gingold@adacore.com What is Bare Metal? Images: Wikipedia No box What is Bare Metal? No Operating System Your application is the OS Why Bare Board?

More information

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I OPERATING SYSTEMS

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I OPERATING SYSTEMS UNIT I OPERATING SYSTEMS 1. Write a short note about [6+6M] a) Time services b) Scheduling Mechanisms 2. a) Explain the overview of Threads and Tasks. [6M] b) Draw the structure of Micro kernel and explain

More information

Migrating to Cortex-M3 Microcontrollers: an RTOS Perspective

Migrating to Cortex-M3 Microcontrollers: an RTOS Perspective Migrating to Cortex-M3 Microcontrollers: an RTOS Perspective Microcontroller devices based on the ARM Cortex -M3 processor specifically target real-time applications that run several tasks in parallel.

More information

Commercial Real-time Operating Systems An Introduction. Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory

Commercial Real-time Operating Systems An Introduction. Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory Commercial Real-time Operating Systems An Introduction Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory swamis@iastate.edu Outline Introduction RTOS Issues and functionalities LynxOS

More information

Software Design Challenges for heterogenic SOC's

Software Design Challenges for heterogenic SOC's Software Design Challenges for heterogenic SOC's René Janssen, Product manager Logic Technology 1 Agenda 1. Advantages of heterogenous devices 2. How to manage inter-processor communication 3. Example

More information

An Introduction to Erlang

An Introduction to Erlang An Introduction to Erlang Part 2 - Concurrency Richard Carlsson Processes P1 fib(0) -> 1; fib(1) -> 1; fib(n) when N > 0 -> fib(n-1) + fib(n-2). Whenever an Erlang program is running, the code is executed

More information

EMBEDDED SYSTEMS READY TO USE LECTURE MATERIALS FOR UNDERGRADUATES

EMBEDDED SYSTEMS READY TO USE LECTURE MATERIALS FOR UNDERGRADUATES EMBEDDED SYSTEMS READY TO USE LECTURE MATERIALS FOR UNDERGRADUATES INTRODUCTION 12 WEEK COURSE OUTLINE (1/2) 1.) Introduction What are embedded systems Characteristics Sample Market Segments The IoT Era

More information

Ten (or so) Small Computers

Ten (or so) Small Computers Ten (or so) Small Computers by Jon "maddog" Hall Executive Director Linux International and President, Project Cauã 1 of 50 Who Am I? Half Electrical Engineer, Half Business, Half Computer Software In

More information

The Digital Revolution

The Digital Revolution Raspberry Pi A Learning Experience (For me!) Charlie Rothrock K3SR The Digital Revolution Geewhiz Statistics -Digital is changing the world -Tech companies are ~10+% of US employment and the fastest wage

More information

RPi General Purpose IO (GPIO) Pins

RPi General Purpose IO (GPIO) Pins GPIO RPi Setup for Today Because the cobbler connector has a notch, you can only put the cable in the right way But, it is possible to put the cable in upside down on the Raspberry Pi The colored wire

More information

Lecture notes Lectures 1 through 5 (up through lecture 5 slide 63) Book Chapters 1-4

Lecture notes Lectures 1 through 5 (up through lecture 5 slide 63) Book Chapters 1-4 EE445M Midterm Study Guide (Spring 2017) (updated February 25, 2017): Instructions: Open book and open notes. No calculators or any electronic devices (turn cell phones off). Please be sure that your answers

More information

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions.

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions. Garret 50C TM Gumstix, Inc. shall have no liability of any kind, express or implied, arising out of the use of the Information in this document, including direct, indirect, special or consequential damages.

More information

Atlys (Xilinx Spartan-6 LX45)

Atlys (Xilinx Spartan-6 LX45) Boards & FPGA Systems and and Robotics how to use them 1 Atlys (Xilinx Spartan-6 LX45) Medium capacity Video in/out (both DVI) Audio AC97 codec 220 US$ (academic) Gbit Ethernet 128Mbyte DDR2 memory USB

More information

Module MI037 Peripherals

Module MI037 Peripherals Université Pierre et Marie Curie (UPMC) M1 - Master SESI! Module MI037 Peripherals Franck Wajsbürt, Julien Peeters, François Pecheux! 2013-2014 Why this course? Security Energy Automotive Weather Environment

More information

Kevin Meehan Stephen Moskal Computer Architecture Winter 2012 Dr. Shaaban

Kevin Meehan Stephen Moskal Computer Architecture Winter 2012 Dr. Shaaban Kevin Meehan Stephen Moskal Computer Architecture Winter 2012 Dr. Shaaban Contents Raspberry Pi Foundation Raspberry Pi overview & specs ARM11 overview ARM11 cache, pipeline, branch prediction ARM11 vs.

More information

AlphaBot2 robot building kit for Raspberry Pi 3 Model B

AlphaBot2 robot building kit for Raspberry Pi 3 Model B AlphaBot2 robot building kit for Raspberry Pi 3 Model B SKU 110060863 Description This AlphaBot2 robot kit is designed to use with Raspberry Pi 3 Model B. It features rich common robot functions including

More information

Software Driven Verification at SoC Level. Perspec System Verifier Overview

Software Driven Verification at SoC Level. Perspec System Verifier Overview Software Driven Verification at SoC Level Perspec System Verifier Overview June 2015 IP to SoC hardware/software integration and verification flows Cadence methodology and focus Applications (Basic to

More information

Embedded Technosolutions

Embedded Technosolutions We Are India s one of the Leading Trainings & Jobs Providing Organization Embedded Technosolutions is a Professional & Corporate Training Institute & a Company which Working for Indian MNCs & Medium/Small

More information

An Introduction to Erlang

An Introduction to Erlang Erlang Solutions Ltd An Introduction to Erlang From behind the trenches Erlang Factory Lite Zurich, April 23 rd 2012 Francesco Cesarini Founder, Technical Director @FrancescoC francesco@erlang-solutions.com

More information

Embedded Operating Systems. Unit I and Unit II

Embedded Operating Systems. Unit I and Unit II Embedded Operating Systems Unit I and Unit II Syllabus Unit I Operating System Concepts Real-Time Tasks and Types Types of Real-Time Systems Real-Time Operating Systems UNIT I Operating System Manager:

More information

Francesco Cesarini. Concurrency + Distribution = Availability + Scalability.

Francesco Cesarini. Concurrency + Distribution = Availability + Scalability. Concurrency + Distribution = Availability + Scalability Francesco Cesarini francesco@erlang-solutions.com www.erlang-solutions.com @francescoc Chapter 13 Ch 13: Node Architecture Chapter 13 Ch 13: Distributed

More information

Loosely Coupled Actor Systems

Loosely Coupled Actor Systems Loosely Coupled Actor Systems for the Internet of Things Raphael Hiesgen Internet Technologies Group Hamburg University of Applied Sciences Agenda Introduction Where We Are Next Steps Risks and Conclusion

More information

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

Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module Freescale Semiconductor Document Number: KSDKK24FN256RN Release Notes 1.0.0, 08/2014 Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module 1 Overview These are the release notes for the TWR-K24F120M

More information

Embedded Elixir. Elixir Taiwan Meetup July 25, 2016 Jake Morrison

Embedded Elixir. Elixir Taiwan Meetup July 25, 2016 Jake Morrison Embedded Elixir Elixir Taiwan Meetup July 25, 2016 Jake Morrison What is Embedded Programming? Systems that interact with the physical world Resource constrained systems Machines controlled

More information

DESIGN OF LIGHTWEIGHT E- ATTENDANCE PROTOTYPE USING RASPBERRY PI

DESIGN OF LIGHTWEIGHT E- ATTENDANCE PROTOTYPE USING RASPBERRY PI DESIGN OF LIGHTWEIGHT E- ATTENDANCE PROTOTYPE USING RASPBERRY PI Mohd Dzul Aiman bin Aslan, Mohamad Safuan bin Sulaiman, Dr Abd Muin bin Abd Rahman, Saa idi bin Ismail, Mohd Fauzi bin Haris, Siti Nurbahyah

More information

December 1, 2015 Jason Kridner

December 1, 2015 Jason Kridner December 1, 2015 Jason Kridner Co-author of BeagleBone Cookbook Board member at BeagleBoard.org Foundation Sitara Applications Engineering at Texas Instruments 1 Truly flexible open hardware and software

More information

Embedded Linux With Raspberry Pi IOT

Embedded Linux With Raspberry Pi IOT Embedded Linux With Raspberry Pi IOT Module 1 : Raspberry Pi Set up & Configurations Program Raspberry Pi : a credit-card sized computer Python programming for Raspberry Pi Interacting and configuring

More information

ARM Powered SoCs OpenEmbedded: a framework for toolcha. generation and rootfs management

ARM Powered SoCs OpenEmbedded: a framework for toolcha. generation and rootfs management ARM Powered SoCs OpenEmbedded: a framework for toolchain generation and rootfs management jacopo @ Admstaff Reloaded 12-2010 An overview on commercial ARM-Powered SOCs Many low-cost ARM powered devices

More information

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions.

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions. Pepper 43R TM Gumstix, Inc. shall have no liability of any kind, express or implied, arising out of the use of the Information in this document, including direct, indirect, special or consequential damages.

More information

QuartzV: Bringing Quality of Time to Virtual Machines

QuartzV: Bringing Quality of Time to Virtual Machines QuartzV: Bringing Quality of Time to Virtual Machines Sandeep D souza and Raj Rajkumar Carnegie Mellon University IEEE RTAS @ CPS Week 2018 1 A Shared Notion of Time Coordinated Actions Ordering of Events

More information

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

Outline Background Jaluna-1 Presentation Jaluna-2 Presentation Overview Use Cases Architecture Features Copyright Jaluna SA. All rights reserved C5 Micro-Kernel: Real-Time Services for Embedded and Linux Systems Copyright 2003- Jaluna SA. All rights reserved. JL/TR-03-31.0.1 1 Outline Background Jaluna-1 Presentation Jaluna-2 Presentation Overview

More information

Architecture and OS. To do. q Architecture impact on OS q OS impact on architecture q Next time: OS components and structure

Architecture and OS. To do. q Architecture impact on OS q OS impact on architecture q Next time: OS components and structure Architecture and OS To do q Architecture impact on OS q OS impact on architecture q Next time: OS components and structure Computer architecture and OS OS is intimately tied to the hardware it runs on

More information

Simplifying Multiprotocol Industrial Ethernet Communication. Sandeep Kumar December 2016

Simplifying Multiprotocol Industrial Ethernet Communication. Sandeep Kumar December 2016 Simplifying Multiprotocol Industrial Ethernet Communication Sandeep Kumar December 2016 1 Agenda Introduction to Industry 4.0 Need & Challenges with Deterministic Industrial Ethernet Changes in Industrial

More information

w w w. b a s e t r a i n i n g i n s t i t u t e. c o

w w w. b a s e t r a i n i n g i n s t i t u t e. c o Disclaimer: Some of the images and most of the data in this presentation are collected from various sources in the internet. If you notice any copyright issues or mistakes, please let me know by mailing

More information

All you need is fun. Cons T Åhs Keeper of The Code

All you need is fun. Cons T Åhs Keeper of The Code All you need is fun Cons T Åhs Keeper of The Code cons@klarna.com Cons T Åhs Keeper of The Code at klarna Architecture - The Big Picture Development - getting ideas to work Code Quality - care about the

More information

Heterogeneous Software Architecture with OpenAMP

Heterogeneous Software Architecture with OpenAMP Heterogeneous Software Architecture with OpenAMP Shaun Purvis, Xilinx Agenda Heterogeneous SoCs Linux and OpenAMP OpenAMP for HSA Heterogeneous SoCs A System-on-Chip that integrates multiple processor

More information

ERLANG EVOLVES FOR MULTI-CORE AND CLOUD ENVIRONMENTS

ERLANG EVOLVES FOR MULTI-CORE AND CLOUD ENVIRONMENTS ERLANG EVOLVES FOR MULTI-CORE AND CLOUD ENVIRONMENTS Torben Hoffmann Erlang Solutions Ltd. @LeHoff http://musings-of-an-erlang-priest.blogspot.dk/ 1 Agenda Erlang fundamentals Challenges 2 2 Warning 1:

More information

i.mx 7 - Hetereogenous Multiprocessing Architecture

i.mx 7 - Hetereogenous Multiprocessing Architecture i.mx 7 - Hetereogenous Multiprocessing Architecture Overview Toradex Innovative Business Model Independent Companies Direct Sales Publicly disclosed Sales Prices Local Warehouses In-house HW and SW Development

More information

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

Enabling IoT OSs for Intel Quark MCU Platforms: the fast way. OpenIoT Summit Europe Andre Guedes Enabling IoT OSs for Intel Quark MCU Platforms: the fast way OpenIoT Summit Europe Andre Guedes 1 Agenda Intel Quark MCU Platforms Intel Quark Microcontroller Software Interface (QMSI) Zephyr/QMSI Integration

More information

Copyright 2017 Samsung. All Rights Reserved. O-Hoon Kwon, Ph.D. Samsung Electronics

Copyright 2017 Samsung. All Rights Reserved. O-Hoon Kwon, Ph.D. Samsung Electronics 1 Copyright 2017 Samsung. All Rights Reserved. O-Hoon Kwon, Ph.D. Samsung Electronics Intro Tizen Linux kernel based Embedded OS for wide range of devices, where Mobile, Wearable, TV are maintained as

More information

2015 Erlang Solutions Ltd

2015 Erlang Solutions Ltd Thinking in a Highly Concurrent, Mostly-functional Language GOTO Berlin Berlin, December 4 th 2015 Francesco Cesarini Founder & Technical Director @francescoc francesco@erlang-solutions.com Thinking in

More information

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018 CSE 4/521 Introduction to Operating Systems Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018 Overview Objective: To explore the principles upon which

More information

Erlang: distributed programming

Erlang: distributed programming Erlang: distributed May 11, 2012 1 / 21 Fault tolerance in Erlang links, exit signals, system process in Erlang OTP Open Telecom Platform 2 / 21 General idea Links Exit signals System processes Summary

More information

IoT.js. Next generation web for connected things. Samsung Electronics Software Center Piotr Marcinkiewicz 2017

IoT.js. Next generation web for connected things. Samsung Electronics Software Center Piotr Marcinkiewicz 2017 IoT.js Next generation web for connected things Samsung Electronics Software Center Piotr Marcinkiewicz 2017 Agenda Introduction Architecture Node.js vs. IoT.js APIs You are invited Community Q&A 01 02

More information

Android System Development Training 4-day session

Android System Development Training 4-day session Android System Development Training 4-day session Title Android System Development Training Overview Understanding the Android Internals Understanding the Android Build System Customizing Android for a

More information

Preempt-RT Raspberry Linux. VMware Tiejun Chen

Preempt-RT Raspberry Linux. VMware Tiejun Chen Preempt-RT Raspberry Linux VMware Tiejun Chen The declaration of this development This is my personal exploration. This is not a roadmap or commitment from VMware. Agenda Motivation

More information

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions.

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions. Pepper DVI TM Gumstix, Inc. shall have no liability of any kind, express or implied, arising out of the use of the Information in this document, including direct, indirect, special or consequential damages.

More information

BCS Raspberry Pi Launch Events Getting started with Raspberry Pi

BCS Raspberry Pi Launch Events Getting started with Raspberry Pi BCS Raspberry Pi Launch Events Getting started with Raspberry Pi Department of Computer Science 16 th & 17 th April 2013 Who are you? How many of you.. are teachers in STEM subjects in non STEM subjects

More information

PRU Hardware Overview. Building Blocks for PRU Development: Module 1

PRU Hardware Overview. Building Blocks for PRU Development: Module 1 PRU Hardware Overview Building Blocks for PRU Development: Module 1 Agenda SoC Architecture PRU Submodules Example Applications 2 SoC Architecture Building Blocks for PRU Development: PRU Hardware Overview

More information

Embedded Technosolutions

Embedded Technosolutions We Are India s one of the Leading Trainings & Jobs Providing Organization Government of India Registered & ISO Certified Organization Embedded Technosolutions is a Professional Training Institute & a

More information

Development of Real-Time Systems with Embedded Linux. Brandon Shibley Senior Solutions Architect Toradex Inc.

Development of Real-Time Systems with Embedded Linux. Brandon Shibley Senior Solutions Architect Toradex Inc. Development of Real-Time Systems with Embedded Linux Brandon Shibley Senior Solutions Architect Toradex Inc. Overview Toradex ARM-based System-on-Modules Pin-Compatible SoM Families In-house HW and SW

More information

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year & Semester Section Subject Code Subject Name Degree & Branch : I & II : M.E : CP7204 : Advanced Operating Systems : M.E C.S.E. 1. Define Process? UNIT-1

More information

OK335xS Users Manual Part I - Introduction

OK335xS Users Manual Part I - Introduction OK335xS Users Manual Part I - Introduction Copyright@2013-2014 http://www.arm9board.net COPYRIGHT STATEMENT Contents (content being images, text, programs and scripts) of this manual is copyright Witech

More information

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions.

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions. Cobalt MC Gumstix, Inc. shall have no liability of any kind, express or implied, arising out of the use of the Information in this document, including direct, indirect, special or consequential damages.

More information

Simplify rich applications & hard real-time

Simplify rich applications & hard real-time Boards & Solutions Conference 2012 Simplify rich applications & hard real-time F&S Elektronik Systeme GmbH Untere Waldplätze 23 D-70569 Stuttgart Tel. (+49)(0)711 123722-0 Speaker: Dipl.Ing.(FH) Martin

More information

Introduction to the Itron Riva Dev Kits

Introduction to the Itron Riva Dev Kits Introduction to the Itron Riva Dev Kits The purpose of this Guide is to give you a fast path to understanding which Itron Riva Dev Kit is best for your development goals. Itron offers 3 kits: Itron Riva

More information

IoT Project Proposals

IoT Project Proposals IoT Project Proposals 1 Submit before 31 st March Best 5 proposals will be given Intel Galileo Gen 2 microcontroller boards each 2 Advisory Board will evaluate and select the best project proposals Dr.

More information

"Multicore programming" No more communication in your program, the key to multi-core and distributed programming.

Multicore programming No more communication in your program, the key to multi-core and distributed programming. "Multicore programming" No more communication in your program, the key to multi-core and distributed programming. Eric.Verhulst@OpenLicenseSociety.org Commercialised by: 1 Content About Moore s imperfect

More information

A Closer Look at the Epiphany IV 28nm 64 core Coprocessor. Andreas Olofsson PEGPUM 2013

A Closer Look at the Epiphany IV 28nm 64 core Coprocessor. Andreas Olofsson PEGPUM 2013 A Closer Look at the Epiphany IV 28nm 64 core Coprocessor Andreas Olofsson PEGPUM 2013 1 Adapteva Achieves 3 World Firsts 1. First processor company to reach 50 GFLOPS/W 3. First semiconductor company

More information

Concurrent Programming. Implementation Alternatives. Content. Real-Time Systems, Lecture 2. Historical Implementation Alternatives.

Concurrent Programming. Implementation Alternatives. Content. Real-Time Systems, Lecture 2. Historical Implementation Alternatives. Content Concurrent Programming Real-Time Systems, Lecture 2 [Real-Time Control System: Chapter 3] 1. Implementation Alternatives Martina Maggio 19 January 2017 Lund University, Department of Automatic

More information

F28HS Hardware-Software Interface: Systems Programming

F28HS Hardware-Software Interface: Systems Programming F28HS Hardware-Software Interface: Systems Programming Hans-Wolfgang Loidl School of Mathematical and Computer Sciences, Heriot-Watt University, Edinburgh Semester 2 2017/18 0 No proprietary software has

More information

EOS: An Extensible Operating System

EOS: An Extensible Operating System EOS: An Extensible Operating System Executive Summary Performance and stability of the network is a business requirement for datacenter networking, where a single scalable fabric carries both network and

More information

Concurrent Programming

Concurrent Programming Concurrent Programming Real-Time Systems, Lecture 2 Martina Maggio 19 January 2017 Lund University, Department of Automatic Control www.control.lth.se/course/frtn01 Content [Real-Time Control System: Chapter

More information

Final Exam Study Guide

Final Exam Study Guide Final Exam Study Guide Part 1 Closed book, no crib sheet Part 2 Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator, devices with wireless communication).

More information

MYD-SAMA5D3X Development Board

MYD-SAMA5D3X Development Board MYD-SAMA5D3X Development Board MYC-SAMA5D3X CPU Module as Controller Board DDR2 SO-DIMM 200-pin Signals Consistent with Atmel's Official Board 536MHz Atmel SAMA5D3 Series ARM Cortex-A5 Processors 512MB

More information

Performance Optimization for an ARM Cortex-A53 System Using Software Workloads and Cycle Accurate Models. Jason Andrews

Performance Optimization for an ARM Cortex-A53 System Using Software Workloads and Cycle Accurate Models. Jason Andrews Performance Optimization for an ARM Cortex-A53 System Using Software Workloads and Cycle Accurate Models Jason Andrews Agenda System Performance Analysis IP Configuration System Creation Methodology: Create,

More information

PERFORMANCE ANALYSIS USING NXP S I.MX RT1050 CROSSOVER PROCESSOR AND THE ZEPHYR OS

PERFORMANCE ANALYSIS USING NXP S I.MX RT1050 CROSSOVER PROCESSOR AND THE ZEPHYR OS PERFORMANCE ANALYSIS USING NXP S I.MX RT1050 CROSSOVER PROCESSOR AND THE ZEPHYR OS MAUREEN HELM LEOTESCU FLORIN MARIUS CRISTIAN VLAD BENCHMARKING TEAM AGENDA Zephyr Project introduction Analysis scope

More information

Version History. V1.0 Original Version 1 / 13

Version History. V1.0 Original Version 1 / 13 SOM3288 Specifications Version History Version Description V1.0 Original Version 1 / 13 Contents Product Introduction...3 1 Introduction...3 2 Features... 4 3 Application Areas... 4 Product Specification...

More information

Modern Embedded Systems Programming: Beyond the RTOS

Modern Embedded Systems Programming: Beyond the RTOS Modern Embedded Systems Programming: Beyond the RTOS Miro Samek Quantum Leaps, LLC 1 Presentation Outline A quick introduction to RTOS and the perils of blocking Active objects State machines ~40 min Active

More information

Programming Language Impact on the Development of Distributed Systems

Programming Language Impact on the Development of Distributed Systems Programming Language Impact on the Development of Distributed Systems Steve Vinoski Architect, Basho Technologies Cambridge, MA USA vinoski@ieee.org @stevevinoski http://steve.vinoski.net/ Co-Authors Debasish

More information

Orange Pi 2 User Manual. <Version: V0.9 >

Orange Pi 2 User Manual. <Version: V0.9 > Orange Pi 2 User Manual What s Orange Pi 2? It s an open-source single-board computer. It can run Android 4.4, Ubuntu, Debian, Rasberry Pi Image, as well as the Banana Pi Image. It uses

More information

The Actor Model, Part Two. CSCI 5828: Foundations of Software Engineering Lecture 18 10/23/2014

The Actor Model, Part Two. CSCI 5828: Foundations of Software Engineering Lecture 18 10/23/2014 The Actor Model, Part Two CSCI 5828: Foundations of Software Engineering Lecture 18 10/23/2014 1 Goals Cover the material presented in Chapter 5, of our concurrency textbook In particular, the material

More information

Introduction to Erlang. Franck Petit / Sebastien Tixeuil

Introduction to Erlang. Franck Petit / Sebastien Tixeuil Introduction to Erlang Franck Petit / Sebastien Tixeuil Firstname.Lastname@lip6.fr Hello World % starts a comment. ends a declaration Every function must be in a module one module per source file source

More information

Azure Sphere: Fitting Linux Security in 4 MiB of RAM. Ryan Fairfax Principal Software Engineering Lead Microsoft

Azure Sphere: Fitting Linux Security in 4 MiB of RAM. Ryan Fairfax Principal Software Engineering Lead Microsoft Azure Sphere: Fitting Linux Security in 4 MiB of RAM Ryan Fairfax Principal Software Engineering Lead Microsoft Agenda o o o o Intro to Azure Sphere Kernel Customizations User mode services / App Model

More information