+ All Categories
Home > Documents > Operating Systems: MQX Platform, Linux and...

Operating Systems: MQX Platform, Linux and...

Date post: 13-Apr-2018
Category:
Upload: doanbao
View: 229 times
Download: 4 times
Share this document with a friend
34
External Use TM Operating Systems : MQX Platform, Linux ® and AUTOSAR EUF-IND-T0590 JUNE.2014
Transcript
Page 1: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

External Use

TM

Operating Systems: MQX™

Platform, Linux® and AUTOSAR

EUF-IND-T0590

J U N E . 2 0 1 4

Page 2: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 1

Freescale’s Microcontroller Enablement Bundle

Freescale MQX + MCU + Market Solutions + CodeWarrior IDE

Comprehensive solution for

embedded control and connectivity

Visual and automated framework

to accelerate development time

• Human Machine Interface

(touch sense, graphics, etc)

• Market specific software

reference designs.

• Focus on SmartGrid, Energy

Management, and Medical

Spaces

• Eclipse environment

• Processor Expert code

generation wizard

• Build, debug and flash tools

• Software analysis

• Kernel-aware debug

• Host platform support

Complimentary MQX RTOS

• Full-featured, scalable, proven

RTOS

• Simplifies HW management,

streamlines SW development

• Reduces development costs while

speeding time to market

Save time, cost, and effort.

Freescale

MQX™ RTOS

& Middleware

Connectivity

BSP &

Drivers

File

System USB

Marketing differentiated software

solutions to maximize engagement.

Page 3: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 2

Kinetis: Freescale Enablement Bundle

Freescale MQX RTOS Freescale Tower System Freescale CodeWarrior IDE

Bundled RTOS for $0! Open source, reusable

hardware platform Powerful IDE with code

generation wizard for $0!

• Modular, expandable, open-source

h/ware development platform for

8/16/32-bit MCUs/MPUs

• Rapid evaluation and prototyping

with maximum h/ware reuse

• Supported by a growing range of

peripheral plug-in boards (WiFi,

Sensing, Graphics LCD, Audio,...)

• www.freescale.com/tower

• Eclipse environment

• Includes Processor Expert

code generation wizard

• Creates MQX-aware drivers

• Build, debug and flash tools

• Software analysis

• Kernel-aware debug

• Special Edition $0 up to 128KB

• www.freescale.com/codewarrior

• Full-featured, scalable, proven RTOS

with TCP/IP, USB, Graphics, Security

and File Systems plug-ins

• Makes application code more stable,

more maintainable and easier to

upgrade – reduces time-to-market!

• Compatible with CodeWarrior, IAR,

Keil & Green Hills IDEs

• www.freescale.com/mqx

One-stop-shop for silicon, IDE & RTOS One Stop Shop for Silicon, IDE & RTOS

Freescale MQX

RTOS &

Middleware

Connectivity

BPS &

Drivers

USB File

System

Free of charge ($95K est. value) Free of charge up to 128KB Kinetis MCU modules from $69

Page 4: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 3

MQX RTOS Features

• Simple and Scalable − Full priority-based, pre-emptive scheduler

− Powerful real-time performance

− Fully re-entrant, including interrupt service routines

− Hand-optimized context switch & low-level interrupt times

− Time-critical services optimized for speed & deterministic performance

• Proven, Powerful & Integrated − Designed to be customized by

Feature, Size, and Speed

− Lightweight services

− Smaller and faster vs. regular MQX services

− Allows control of RAM/ROM utilization

− New, custom components can be added

− Scalable Code Density ideal for MCU & MPU

− ROM size ranges from 12K to 150K

− RAM size starting at 2.5K

Page 5: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 4

The MQX Advantage

• Advantages over Linux and WinCE

− Fast boot time and real-time performance

− Scalability low-end microcontrollers to multi-core processors

− Industry leading licensing terms and protection

− Low cost of ownership

• Other Advantages

− Freescale / EAI active development

− Task Aware and Stack Aware debugging

− Extensive code base including application examples

− Engineering and training resources are available

− Attractive low-cost support model

Page 6: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 5

MQX Scalability

• With MQX you aren’t penalized or overly compromised using

an MCU or MPU.

• For example, to deal with the constraints an MCU OS features

and TCP/IP protocols are individually selectable, light weight

versions of some OS features, and other options all within

user_config.h. All memory requirements are selectable such

as buffer sizes and memory pool. Task descriptors and other

data structures in MQX are automatically scaled to suit the

features you select.

Page 7: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 6

What’s Included

Your Hardware

Board Support Package (BSP) and

Processor Support Package (PSP)

Core MQX Services

Optional MQX

Services

Eth

ern

et

(RT

CS

)

File

Syste

m

US

B H

ost

Drivers

US

B D

evic

e

Your Application Code

Page 8: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 7

MCU to MPU Migration

Interrupts

Light Mem

Manager MPU

PSP BSP

Drivers

MQX RTCS

APPLICATION

eNet

GPIO Serial A/D Memory MCU eNet

Controller

Page 9: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 8

MCU to MPU Migration

Interrupts

Full Mem

Manager MMU

PSP BSP

Drivers

MQX RTCS

APPLICATION

eNet

GPIO PCI USB MPU eNet

Memory

eNet

Page 10: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 9

PEG Graphical UI Solutions

Page 11: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 10

PEG Scalability

Written in ANSI C

Very small footprint

Single window display

Multi-language

capability

Targeted for small LCD

and low color-depth

• Written in C++

• Multiple alpha-blended

windows

• True anti-aliased line &

font drawing

• Dynamic themes

• Run-time resource

manager

• Screen transitions

• Written in C++

• Overlapping

windows

• Layered (alpha

blended) windows

• Run-time image

decoders

• Compile time resource

manager

• Decorated windows

Starting at 64 KB

Typical 90-110 KB

Starting at 128 KB

Typical 160-175 KB

Starting 225 KB

Typical 225-250 KB

Page 12: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 11

SW Product Exemple: PEG Graphics Suite

Free on Freescale Silicon,

Basic UI Widgets, Minimal

Set of Predefined Elements

Customizable UI Widgets,

Full Set of Predefined

Elements

Higher Color Depth, Effects,

Customizable UI Widgets,

Full Set of Predefined

Elements

Color Depth Monochrome to 65K High

Color

Monochrome to 16.7M

True Color

65K High Color to 16.7M

True Color with Alpha

Custom Bitmap Elements Buttons and Images …adds Widgets and Animation

Predefined Widgets Text Button, Checkbox,

Radio, Progress Bar, Slider,

Dial, Scroll, Combo Box, …

…plus, Windows, Charts,

Spreadsheet, Tables, Tabs,

Menu and Status Bars, …

…adds gradients and

transparency effects

Multilingual Support Dual Language Full Multi-lingual

Anti-Aliasing Simple Anti-Aliasing True Anti-Aliasing

Window Builder Full WYSIWYG editor with integrated Font Capture and Image Converter

Additional Features Runtime themes/skins,

Runtime image decoding

…adds Swipe detection,

Alpha blending

Starting Cost

(10K Runtime License)

$5,000 (Free on Freescale Silicon)

$8400 ($7,000 on Freescale Silicon)

$9000 ($7,500 on Freescale Silicon)

http://compass.freescale.net/livelink/livelink?func=ll&objid=231081395&objAction=brows

e&sort=name&viewType=1

Page 13: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 12

PEG Window Builder Development Environment

• Full WYSIWYG development

− Simulation environment for PEG+ and PEG Pro

− Runs on PC / Linux / X11 to allow proof of concept development

− Enables hardware / software development to happen in parallel

− Made available for free evaluation

Integrated design and simulation demo software that allows for

screen preview / navigation on a Windows or Linux-based

desktop environment.

Drag

WindowBuilder

Page 14: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 13

PEG Runtime Engine

• PEG software’s modular form extends an application across architectures and RTOS.

− The core library is separated from the interfaces to different RTOS’s, input devices, and screen controllers.

− Changing the drivers DOES NOT mean changing the application.

Application Layer

PEG Library

RTOS Driver

LCD Driver

Input Drivers

RTOS

LCD Display

Does not change

These can change

So can this

There could be tweaks.

Page 15: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 14

USB stack with PHDC Support

• Mass storage class driver: allows flash

drives to plug into the host system and to

be read by the host's file system and is

compatible with the MFS FAT File System

• Designed to fit in a small footprint of 10Kb

RAM and with code size of 32Kb

• Full integration with other SW stacks on

MQX

• Fully compatible with bare metal stack

http://www.freescale.com/mqx

USB Support for MQX

Page 16: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 15

USB stack with PHDC Support Classes: (Device and Host)

• HID

• PHDC -"Continua Ready" personal health

care – Device Only

• CDC

• MSD

• DFU

• Audio

• and more…

2 Options:

1) Built-into MQX RTOS

2) Bare-Metal (No - RTOS)

MQX Compatible API

Supports: S08, ColdFire, Kinetis

http://www.freescale.com/medicalusb

Freescale USB Stack (Baremetal/No-OS)

Page 17: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 16

• Eval board

• Familiarization

• Features

• Code size

• Performance Report

• Installation

• HW Set up

• Demos / examples

• Eval board

• Documentation

• API Features

• Code size

• Eval / Custom boards

• Possible bugs

• App architecture

• MQX Feature use

• Configuration

• Custom boards

• BSP migration

• Integration with

3rd party SW

• Integration with

Legacy SW

• Boot loaders

• Custom boards

• Memory leaks

• Timing issues

• Networking issues

• Performance

tuning

Forums and Freescale Support

Starter Services

• BSP/Driver development support

• SW Architecture design support

• Implementation guidance

• Training/Consulting

• Access to BSP cloning tools

• Community only

• Freescale evaluation boards only

• Bug Report/Feature Request

• Community post www.community.freescale.com

Evaluation of

processor & software

Product Development Life Cycle

Proof of Concept Preliminary application

development

Final application

development

Integration and

product validation

Typ

ica

l Is

su

es

Standard Support and Services $3K (20hrs over 6 months)

Premium Support - $12K ( 100hrs over 12 months)

Technical Support

• Remote support of customer boards

• 48 hrs response time

• 2 hrs live remote debug

• Senior level developers

• Debug customer code

• Communication- email, phone or live remote debug

Technical Support

• Hands-on support of customer-provided boards

• 24hrs response time

• 10 hrs live remote debug

• Assistance with your system level diagnosis

• Senior level developers

• Debug customer code

• Communication - email, phone or live remote debug

Starter Services

• BSP/Driver development support

• SW Architecture design support

• Implementation guidance

• Training/Consulting

• Access to BSP cloning tools

LV

L1

LV

L2-S

L

VL

2-P

MQX Support Options

Page 18: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 17

Freescale MQX Support & Engineering Services

Level 1 Support Level 2 Support Professional Engineering

Services

Plan Overview Basic Standard Premium

Software development services. On-site

support/training. Cost based on project

definition.

Releases Available Approx. once a

Quarter Approx. once a

Quarter Early1

Access to MQX Online Community / Online Training Yes Yes Yes

Service Requests (SW running on FSL Eval HW only) Yes Yes Yes

Report bugs for fix in quarterly releases Yes Yes Yes

BSP customization support - Yes Yes

Private Support Portal - Yes Yes

Access to Early Beta Releases 1 - - Yes

Hot Fixes 2 - Yes Yes

Initial Response Time 3 - 2 business days 1 business day

Total Hours of Support Engineer's Time 4 - 20 hours 100 hours

Web Conferencing to debug issue 5 - 4 hours 10 hours

Phone Support 5 - Yes Yes

Hands-on Support of Customer-Provided Hardware (shipped to Freescale Support) - - Yes

Support Plan Term - 6 Months 12 Months

Price Free $3,000 $12,000

Part Number - DL-MQXLVL2-S DL-MQXLVL2-P

1 Early access to beta releases weeks/months before quarterly releases are typically available 2 Access to bug fixes on issues you report immediately when available 3 Amount of time to receive acknowledge of support request

4 Any time support engineer spends including time preparing bug fixes. 5 Hours counted in Support Engineers Time http://www.youtube.com/watch?v=K8aUA_-rsik

Page 19: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 18

We Work With an Extensive Network of Global Partners

Runtime Software HW and SW Engineering Services Training SW Dev Tools

HW Dev Tools

Application Specific

Middleware

Operating Systems

Training Partners Embedded Board Solutions

IDH/ODM

Software and

Solution

Integrators (SSI)

Communities

Semiconductors/Companion Modules

Com

mon

Occasio

nal

Asia Pacific Example

Processor Expert

Page 20: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 19

Professional Services

So

ftw

are

OS Kernel

FSL BSP

Drivers

H

ard

wa

re

MS

S P

rim

ary

Fo

cu

s A

rea

UI & Applications

Vybrid

Solutions

i.MX

Apps Processors

Hardware Services

Software Services

• Linux, Android, MQX BSP’s, drivers/stacks

− Customization

− Integration

− Development

− Porting

− Testing

− Optimization

− Issue analysis, Debug & Fix

• Long-term support on Customer Board

• Schematic and layout optimization &

review

• Simulation

• On-site board bring-up MSS Architecture Focus Area

Middleware

Kinetis

Solutions

Page 21: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 20

Freescale Automotive Software

• Freescale provides software products where in-depth hardware

knowledge is crucial – value-add software products such as

AUTOSAR MCAL and OS, Core Self Test, application-specific

libraries to address unique hardware features.

Separate Products

Part of the Solution

Page 22: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 21

Freescale Automotive Software

Autosar Operating System

Autosar MCAL Drivers

Core Self Test

Device Self Test

Math and Motor Control Lib

Ethernet AVB

Ethernet Camera Application

Motor Control Toolbox (Matlab/Simulink)

Init Tools

Value Add Services

Areas of Activities

Page 23: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 22

Body Chassis/Safety

2014 Auto Software Products Overview

Autosar 3.x

Powertrain

MCAL

OS

MCAL

OS

MCAL

OS

560xB/C/D, 564xB/C, 5668G

Non-Autosar Ethernet/AVB

Camera Appl SW

Instruction Set Self Test (Power Arch e200 cores)

Autosar 4.0

560xP, 5604E, 564xL, 567xK

560xP, 564xL, 567xK 563xM, 564xA, 567xF

563xM, 564xA, 567xF 560xB/C/D, 564xB/C, 5668G

MCAL

OS

MCAL

OS

MCAL

OS

560xB/C/D, 564xB/C

574xB/C/G

560xP, 564xL

560xP, 564xL, 567xK

574xP, RR (ISO)

564xA, 5676R

5777M, 5746M, 5746R (ISO)

563xM, 564xA, 567xF

5604E

5604E

Initialization

Motor Ctrl TB 564xL, 567xK

RAPPID for 560xP, 564xL, 567xK

Audio Eth SW

e200 Power Arch MCUs

Ethernet/AVB Vybrid

574xB/C/G

Audio Eth SW Vybrid

574xB/C/G

Math & MC Lib Math & MC Lib S12ZVM 560xP, 564xL

Page 24: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 23

AUTOSAR MCAL Availability Matrix A

SR 4

.0.3

A

SR 3

.0 /

3.1

MPC560xB/C/D

MPC564xB/C MPC560xP

MPC564xL

MPC567xK

MPC564xA

MPC5676R

McKinley

Matterhorn Racerunner

Panther Vybrid-M4 Calypso

available

Also ASR 3.2 available

Calypso

QM ISO26262 ASIL A-D

MPC560xB/C/D

MPC564xB/C MPC560xP

MPC564xL

MPC567xK

MPC564xA

MPC567xF

MPC563xM MPC5604E

S12X

S12P/G

MPC5668

Page 25: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 24

AUTOSAR OS Availability Matrix A

SR 4

.0.3

A

SR 3

.0 /

3.1

MPC560xB/C/D

MPC564xB/C MPC560xP

MPC564xL

MPC567xK

MPC564xA

MPC5676R

Vybrid-M4

available

Calypso

MPC560xB/C/D

MPC564xB/C MPC560xP

MPC564xL

MPC567xK

MPC564xA

MPC567xF

MPC563xM MPC5604E

S12X

S12P/G

MPC5668

QM

Page 26: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 25

Autosar Basic Software

• Freescale Standard Products (shaded blue below) - MCAL (source code), OS (source code) and Config

Tool (executable) for MCAL and OS.

• Partner Products (Elektrobit, Vector, KPIT, etc.) – The rest of AUTOSAR basic software as needed &

Integration Services (FSL IP + Partner IP + Customer IP)

• Complex Drivers (shaded green below) – custom software offered by Freescale Consulting &

Professional Engineering Services

Microcontroller

AUTOSAR Runtime Environment (RTE)

Co

mp

lex

D

rive

r

Au

tosa

r B

asic

So

ftw

are

Communication

Services

Memory

Services

System

Services

Onboard Device

Abstraction

Memory Hardware

Abstraction Communication Hardware

Abstraction

Microcontroller Drivers Memory Drivers Communication Drivers I/O Drivers

I/O Hardware

Abstraction

Op

era

tin

g S

ys

tem

(O

S)

Microcontroller Abstraction Layer (MCAL)

SW Application

Component

SW Application

Component

SW Application

Component

SW Application

Component

SW Application

Component

Co

mp

lex

Dri

ve

r/s

Page 27: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 26

Freescale AUTOSAR Integration Partners

Freescale‘s AUTOSAR Integration Partners receive Freescale MCAL and OS

releases for pre-integration into their proprietary Autosar BSW products

Page 28: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 27

AUTOSAR MCAL Product Content

• MCAL drivers for each MCU peripheral, compliant to Autosar 2.1 / 3.x / 4.0

• Autosar 2.1/3.0 MCAL: no RAM Test module

• Autosar 4.0 MCAL: no RamTst, CoreTst, FlashTst modules

• All components configurable in any AUTOSAR-compliant configuration tool

• Configuration Tool EB tresos StudioTM and plugins are part of the product

AD

C

DIO

Tim

er

PW

M

LIN

/ S

CI

CA

N

SP

I

Fla

sh

WD

T

GP

T

MC

U

Po

we

r &

Clo

ck

Unit

PO

RT

S

Fle

xR

ay

I/O Drivers

PO

RT

Dri

ve

r

AD

C D

rive

r

DIO

Dri

ve

r

PW

M D

rive

r

ICU

Dri

ve

r

Microcontroller Drivers Communication Drivers Memory Drivers

CA

N D

rive

r

Inte

rna

l Fla

sh

Dri

ve

r

Watc

hd

og D

rive

r

LIN

Dri

ve

r

MC

U D

rive

r

Fle

xR

ay™

Dri

ve

r

GP

T D

rive

r

SP

I D

rive

r

Eth

ern

et D

rive

r F

EC

Microcontroller

Hardware

FEE

Page 29: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 28

AUTOSAR Operating System

• Configurable in AUTOSAR configuration tool

• Available in Scalability Classes 1, 2, 3, 4 to fit the

needs of different applications

− SC1 – deterministic RTOS baseline (tasks, events,

counters, alarms, messages)

− SC2 – timing based task determinism (low-latency, precise

timing for periodic tasks)

− SC3 – protected memory (MMU/MPU) for tasks avoids

memory collisions for safety systems

− SC4 – timing and memory protected tasks, utilizes the full

capabilities of the silicon for secure and protected RTOS

designed specifically for the automobile.

• Availability of SC2,3,4 depends on MCU family /

presence of MPU

System Services

Com

mu

nic

atio

n

Ma

na

ge

r

EC

U S

tate

Ma

na

ge

r

Fu

nctio

n In

hib

itio

n

Ma

na

ge

r

Watc

hd

og

Ma

na

ge

r

Dia

gn

ostic E

ve

nt

Ma

na

ge

r

Dia

gn

ostic E

rro

r

Tra

ce

r

Op

era

tin

g S

yste

m

CRC Library

Page 30: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 29

EB tresos Studio

• EB tresos Studio is an easy-to-use tool for

ECU standard software configuration,

validation and code generation

• Full support for the AUTOSAR standard and

the Freescale AUTOSAR software

Source: Elektrobit

• Integrated, graphical user interface

• Based upon Eclipse and open standards

• Online-help and parameter-specific help

Page 31: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 30

Freescale Software for Surround Camera Systems

Camera application

Purple : AUTOSAR OS 3.0, licensable from Freescale Green : Camera Application Software, licensable from Freescale Blue: Ethernet Streaming Software, licensable from Freescale Orange: Off the shelf Software, licensable from 3rd party (Elektrobit, IXXAT) Red: Hardware

AVA_LL_FEC_DRIVER Ethernet Low level Driver

Freescale

AVA_LL_PTP_If (wrapper)

TCP/IP-Stack (open source or

Elektrobit)

Vid

eo_e

nco

der

D

ata

acce

ss

I2C driver

ICTR (imager init)

Ethernet MAC Imager

UDP Stream Builder

1722 Stream Builder

AVA_LL_ EB_If

(wrapper+limiter)

Jpeg_encoder HW

jpeg

_en

cod

er

con

figu

rati

on

STREAM IF wrapper for a

standardized interface

I2C HW PORT HW

Sen

sor_

inte

rfac

e P

ort

PIN

init

ializ

atio

n,

con

tro

llin

g st

atic

si

gnal

s lik

e im

ager

res

et

AUTOSAR OS

OS_

DEP

PTP v2 Stack (IXXAT or open

source)

Control Algo Data rate control + buffer

overflow protection

Page 32: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 31

1. Core Self Test • Instruction coverage metric

• Each instruction is tested at least once for at least one set of input operands

• Dedicated and special purpose registers, core timers, and exceptions are not covered by the tests

• No determination of fault coverage

Self Test Software for Qorivva™ MCUs

2. Core Self Test – Fault Graded • Fault coverage metric (“stuck-at” fault model)

• Dedicated and special purpose registers, core timers, and exceptions are covered by the tests

• Tests similar to option 1, but optimized to achieve higher stuck-at fault coverage

• Extended API, to allow capturing and preprocessing of interrupts during test execution

3. Device Self Test • Includes core self test package

• Includes functional tests of selected peripheral modules (Cache, MMU, etc.)

• Functional coverage and estimated failure rate contribution can be provided

All available packages : • consist of a test case library

• can be combined with each other

• support startup-time, run-time, and shutdown-time testing

• contain documentation such as coverage report, reference manual, interface specification

Page 33: Operating Systems: MQX Platform, Linux and …cache.freescale.com/files/training/doc/dwf/DWF14_EUF_IND_T0590_OS.pdfOperating Systems: MQX™ Platform ... −Scalability low-end microcontrollers

TM

External Use 32

Making the world a smarter place


Recommended