SlideShare a Scribd company logo
© 2021 MIPI Alliance, Inc.
Alexander Weiss & Thomas Preußer
Accemic Technologies
MIPI HTI(SM), PTI(SM) and STP(SM) –
The Bases for Next-Generation Analyses
of Multicore Processors
© 2021 MIPI Alliance, Inc.
Motivation
© 2021 MIPI Alliance, Inc. 3
Motivation: Complex Systems Challenges
Where software is, there are errors.
The defect potential increases with system complexity.
The defect removal efficiency decreases with increasing system complexity.
Burkacky 2018 (McKinsey Center for Future Mobility®):
“Snowballing complexity is causing significant software-related quality issues,
as evidenced by millions of recent vehicle recalls.”
Growing and self-reinforcing problem Key capability: System observation
© 2021 MIPI Alliance, Inc. 4
Embedded System Observation
Challenges
• Real-time Control
• Concurrency
• Elusive Heisenbugs
• Rare Mandelbugs
Key 1: Non-Intrusiveness
• Maintain application timing
• Avoid phantom synchronization
Probe
Effect
Key 2: Continuity
• No systematic observation limits
• Online trace data processing
Debug
Health
Monitoring
Log & Store
Runtime
Verification at
System Level
printf(…) SW Instrumentation
© 2021 MIPI Alliance, Inc.
State of Affairs
© 2021 MIPI Alliance, Inc. 6
The Crux of System Integration
Need
• On-Chip Probes
• Data Filters
• High-Speed Interfaces
The Past
The Present
Data Volume
• Multiple players
• Working at GHz speeds.
Clueless System Bus
• Caches hide memory access.
• On-chip memory swallows all access info.
• Multicore systems prevent effect attribution.
© 2021 MIPI Alliance, Inc. 7
Embedded Trace Options
Option 1 - Intrusive
• Compete with application for
memory bandwidth and space.
Option 2 - Bounded
• Size of trace buffer limits time.
Option 3 - Hard
• Processing must match line rate.
© 2021 MIPI Alliance, Inc.
MIPI Protocols in Action
© 2021 MIPI Alliance, Inc. 9
Carrying Execution Trace Data Off-Chip
STP MIPI System Trace Protocol TWP(SM) MIPI Trace Wrapper Protocol
HTI MIPI High-Speed Trace Interface PTI MIPI Parallel Trace Interface
© 2021 MIPI Alliance, Inc. 10
MIPI PHY + Link Layer Technologies
PTI
• Parallel little-endian TRC_DATA (up to 32)
• Synchronous to shared TRC_CLK (up to ~300 MHz)
• Mechanisms for:
– Signal skew calibration,
– Physical, by-pin slicing for parallel point-to-point streams, and
– Data striping for mismatched protocol/interface bit widths.
HTI
• Trace transmission over (multiple) high-speed serial lanes.
• Aurora 8B/10B simplex with up to 6 lanes (HTI) or 8 lanes (HTIv1).
• Up to 12.5 Gbps per lane.
• UFC Messages for sideband info: trigger, overflow, link health, aux.
• Session management (incl. disabled, init, idle, run, test).
© 2021 MIPI Alliance, Inc. 11
MIPI Transport Layer Technologies
STP – System Trace Protocol
• Multiplexing among up to 65536 sources at the granularity of 4-bit nibbles.
• Autarchic timestamping and syncing.
• Sideband packets for user payload and flagging.
• Stream synchronization facilities.
• Data integrity protection.
TWP – Trace Wrapper Protocol
• Multiplexing among up to 111 sources at byte granularity.
• Designed for very low overhead.
© 2021 MIPI Alliance, Inc. 12
Peering with the ARM CoreSight Stack
HTI
TWP
HSSTP over Aurora
TPIU Formatter
PFT ETM ITM STM
=
=
© 2021 MIPI Alliance, Inc. 13
Recap: Key Embedded Trace Properties
Key 1: Non-Intrusiveness
• Maintain application timing
• Avoid phantom synchronization
Key 2: Continuity
• No systematic observation limits
• Online trace data processing
• MIPI Trace protocols and interfaces þ
• Standard interfaces for (non-intrusive)
trace output (USB, Ethernet, PCIe)
© 2021 MIPI Alliance, Inc.
Enabling Online Trace Data Processing
© 2021 MIPI Alliance, Inc. 15
Low Level
High Level
Integration Tests
System Tests
Testing Techniques
Static Dynamic
Structural
Functional
Control Flow Data Flow
Statement Coverage
Branch Coverage
MC/DC
Requirements Product
Module Tests
Benefits & Use Cases
Benefits
• Evade all observation time limits.
• Provide instantaneous reaction opportunities.
• Avoid intrusive SW instrumentation.
Use Cases
• Continuous runtime verification:
– Formal constraints-based anomaly detection.
– Complex triggers on rare Mandelbug occurrences.
• Structural coverage measurements of
high-level integration & system tests.
© 2021 MIPI Alliance, Inc. 16
A Taste of the Challenge
• Occasional synchronization
• Only branches and diversions:
– Taken / not taken indicators
– Delta-encoded indirect targets
© 2021 MIPI Alliance, Inc. 17
Setup for Measuring the Structural Coverage
CEDARtools® Hardware Platform
(FPGA Board)
DuT
(Intel, ARM, PPC, Aurix)
Trace
Buffer
and
Concentrator
Trace Data
Pre-processing
and
Control Flow
Reconstruction
Branch
Counter
Branches
Source Code
Periphery
trace
Per
Mem
Mem
CPU0
CPU1
CPU2
CPUn
Instr / Data
Trace
Instr / Data
Trace
Instr / Data
Trace
Instr / Data
Trace
Branch
counts
Trace
Port
Compiler
Configuration
Debug
Server
high-speed
serial
Post
processing
Object code
coverage
Debug information
Binary
Mapping
Source code
coverage
© 2021 MIPI Alliance, Inc. 18
Structural Coverage Reporting
© 2021 MIPI Alliance, Inc. 19
Higher-Level Coverage Metrics for Safety Certification
40121C: cmpl $0x0,-0x24(%rbp)
401220: je 401228 <main+0x106>
401222: cmpl $0x0,-0x28(%rbp)
401226: jne 40122e <main+0x10c>
401228: cmpl $0x0,-0x2c(%rbp)
40122C: je 401234 <main+0x112>
...
if((a&&b) || c) {
…
}
... a b * 1 √
a b c 0 √
a * c 1 √
a * c 0 √
l What branches constitute a decision?
l What paths were part of an execution?
l Does the path set satisfy MC/DC
coverage?
© 2021 MIPI Alliance, Inc.
Conclusion
© 2021 MIPI Alliance, Inc. 21
Importance of MIPI Standards
• Capable vehicles for architecture-independent trace transport.
• Enable reuse of lower-level trace layers.
• Allow vendors to focus efforts on added high-level functionality.
• Accelerate innovation.
• Reduce time to market.
Challenges for Online Trace Data Processing
• Standardisation of COTS-based trace interfaces
• Increase available trace bandwidth
• Unbounded timing slack between multiplexed
streams (TWP/STP)
• Defined buffering limits on carried protocols would
be helpful
© 2021 MIPI Alliance, Inc. 22
ADDITIONAL RESOURCES
• Ondrej Burkacky et al.: Rethinking Car Software and Electronics Architecture, McKinsey&Co., 2018.
https://lmy.de/2uzLC
• C. Jones, Software Engineering Best Practices, 1st ed. USA: McGraw-Hill, Inc., 2009.
https://lmy.de/rGvnE
• C. Jones and O. Bonsignour, The Economics of Software Quality. Addison-Wesley, 2011.
https://lmy.de/5gXVT
• Alexander Weiss et al.: Understanding and Fixing Complex Faults in Embedded Cyberphysical
Systems, IEEE Computer, Vol. 54, Issue 1, pp. 49-60, 01/2021.
https://lmy.de/fT8rk
• Thomas Preußer et al.: Everything You Always Wanted to Know About Embedded Trace,
accepted by IEEE Computer, preprint available at https://lmy.de/l4Hs5
• The CEDARtools online monitoring system: https://lmy.de/9vAuL
ADDITIONAL RESOURCES
© 2021 MIPI Alliance, Inc.

More Related Content

What's hot

What's hot (20)

MIPI DevCon 2021: MIPI I3C Signal Integrity Challenges on DDR5-based Server P...
MIPI DevCon 2021: MIPI I3C Signal Integrity Challenges on DDR5-based Server P...MIPI DevCon 2021: MIPI I3C Signal Integrity Challenges on DDR5-based Server P...
MIPI DevCon 2021: MIPI I3C Signal Integrity Challenges on DDR5-based Server P...
 
MIPI DevCon 2020 | MIPI A-PHY: Laying the Groundwork for MIPI’s Automotive Se...
MIPI DevCon 2020 | MIPI A-PHY: Laying the Groundwork for MIPI’s Automotive Se...MIPI DevCon 2020 | MIPI A-PHY: Laying the Groundwork for MIPI’s Automotive Se...
MIPI DevCon 2020 | MIPI A-PHY: Laying the Groundwork for MIPI’s Automotive Se...
 
MIPI DevCon Taipei 2019: An Introduction to MIPI I3C® v1.1 and What's Next
MIPI DevCon Taipei 2019: An Introduction to MIPI I3C® v1.1 and What's NextMIPI DevCon Taipei 2019: An Introduction to MIPI I3C® v1.1 and What's Next
MIPI DevCon Taipei 2019: An Introduction to MIPI I3C® v1.1 and What's Next
 
MIPI DevCon 2020 | High Speed MIPI CSI-2 Interface Meeting Automotive ASIL-B
MIPI DevCon 2020 | High Speed MIPI CSI-2 Interface Meeting Automotive ASIL-B MIPI DevCon 2020 | High Speed MIPI CSI-2 Interface Meeting Automotive ASIL-B
MIPI DevCon 2020 | High Speed MIPI CSI-2 Interface Meeting Automotive ASIL-B
 
XPDDS17: Keynote: Shared Coprocessor Framework on ARM - Oleksandr Andrushchen...
XPDDS17: Keynote: Shared Coprocessor Framework on ARM - Oleksandr Andrushchen...XPDDS17: Keynote: Shared Coprocessor Framework on ARM - Oleksandr Andrushchen...
XPDDS17: Keynote: Shared Coprocessor Framework on ARM - Oleksandr Andrushchen...
 
MIPI DevCon 2020 | Why an Integrated MIPI C-PHY/D-PHY IP is Essential
MIPI DevCon 2020 | Why an Integrated MIPI C-PHY/D-PHY IP is EssentialMIPI DevCon 2020 | Why an Integrated MIPI C-PHY/D-PHY IP is Essential
MIPI DevCon 2020 | Why an Integrated MIPI C-PHY/D-PHY IP is Essential
 
MIPI DevCon Seoul 2018: Evolving MIPI I3C for New Usages and Industries
MIPI DevCon Seoul 2018: Evolving MIPI I3C for New Usages and IndustriesMIPI DevCon Seoul 2018: Evolving MIPI I3C for New Usages and Industries
MIPI DevCon Seoul 2018: Evolving MIPI I3C for New Usages and Industries
 
MIPI DevCon Taipei 2019: Enabling MIPI Camera Applications Including Automoti...
MIPI DevCon Taipei 2019: Enabling MIPI Camera Applications Including Automoti...MIPI DevCon Taipei 2019: Enabling MIPI Camera Applications Including Automoti...
MIPI DevCon Taipei 2019: Enabling MIPI Camera Applications Including Automoti...
 
Architecting the Most Advanced Automotive SoCs: Maximizing Safety and Perform...
Architecting the Most Advanced Automotive SoCs: Maximizing Safety and Perform...Architecting the Most Advanced Automotive SoCs: Maximizing Safety and Perform...
Architecting the Most Advanced Automotive SoCs: Maximizing Safety and Perform...
 
MIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3C
MIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3CMIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3C
MIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3C
 
Usb Wp Implementing Usb
Usb Wp Implementing UsbUsb Wp Implementing Usb
Usb Wp Implementing Usb
 
MIPI DevCon Taipei 2019: PHY Testing Challenges and Opportunities: The Need F...
MIPI DevCon Taipei 2019: PHY Testing Challenges and Opportunities: The Need F...MIPI DevCon Taipei 2019: PHY Testing Challenges and Opportunities: The Need F...
MIPI DevCon Taipei 2019: PHY Testing Challenges and Opportunities: The Need F...
 
MIPI DevCon Taipei 2019: State of the Alliance
MIPI DevCon Taipei 2019: State of the AllianceMIPI DevCon Taipei 2019: State of the Alliance
MIPI DevCon Taipei 2019: State of the Alliance
 
MIPI DevCon Seoul 2018: Powering AI and Automotive Applications with the MIPI...
MIPI DevCon Seoul 2018: Powering AI and Automotive Applications with the MIPI...MIPI DevCon Seoul 2018: Powering AI and Automotive Applications with the MIPI...
MIPI DevCon Seoul 2018: Powering AI and Automotive Applications with the MIPI...
 
Module Consolidation: Combining Safety-Critical Automotive Applications with ...
Module Consolidation: Combining Safety-Critical Automotive Applications with ...Module Consolidation: Combining Safety-Critical Automotive Applications with ...
Module Consolidation: Combining Safety-Critical Automotive Applications with ...
 
MIPI DevCon 2021: The MIPI Specification Roadmap: Driving Advancements in Mob...
MIPI DevCon 2021: The MIPI Specification Roadmap: Driving Advancements in Mob...MIPI DevCon 2021: The MIPI Specification Roadmap: Driving Advancements in Mob...
MIPI DevCon 2021: The MIPI Specification Roadmap: Driving Advancements in Mob...
 
MIPI DevCon Taipei 2019: New Trends in the High-Volume Manufacturing Test of ...
MIPI DevCon Taipei 2019: New Trends in the High-Volume Manufacturing Test of ...MIPI DevCon Taipei 2019: New Trends in the High-Volume Manufacturing Test of ...
MIPI DevCon Taipei 2019: New Trends in the High-Volume Manufacturing Test of ...
 
MPI DevCon Hsinchu City 2017: MIPI C-PHY/D-PHY Dual Mode Subsystem Performanc...
MPI DevCon Hsinchu City 2017: MIPI C-PHY/D-PHY Dual Mode Subsystem Performanc...MPI DevCon Hsinchu City 2017: MIPI C-PHY/D-PHY Dual Mode Subsystem Performanc...
MPI DevCon Hsinchu City 2017: MIPI C-PHY/D-PHY Dual Mode Subsystem Performanc...
 
MIPI DevCon Seoul 2018: High-Performance VR Applications Drive High-Resolutio...
MIPI DevCon Seoul 2018: High-Performance VR Applications Drive High-Resolutio...MIPI DevCon Seoul 2018: High-Performance VR Applications Drive High-Resolutio...
MIPI DevCon Seoul 2018: High-Performance VR Applications Drive High-Resolutio...
 
MIPI DevCon 2020 | MIPI to Bluetooth LE: Leveraging Mobile Technology for Wir...
MIPI DevCon 2020 | MIPI to Bluetooth LE: Leveraging Mobile Technology for Wir...MIPI DevCon 2020 | MIPI to Bluetooth LE: Leveraging Mobile Technology for Wir...
MIPI DevCon 2020 | MIPI to Bluetooth LE: Leveraging Mobile Technology for Wir...
 

Similar to MIPI DevCon 2021: MIPI HTI, PTI and STP: The Bases for Next-Generation Online Analyses of Multicore ProcessorsS

“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
Edge AI and Vision Alliance
 
Critical Information Infrastructure Systems Worldwide
Critical Information Infrastructure Systems WorldwideCritical Information Infrastructure Systems Worldwide
Critical Information Infrastructure Systems Worldwide
Angela Hays
 

Similar to MIPI DevCon 2021: MIPI HTI, PTI and STP: The Bases for Next-Generation Online Analyses of Multicore ProcessorsS (20)

“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
 
MIPI DevCon 2021: MIPI I3C Application and Validation Models for IoT Sensor N...
MIPI DevCon 2021: MIPI I3C Application and Validation Models for IoT Sensor N...MIPI DevCon 2021: MIPI I3C Application and Validation Models for IoT Sensor N...
MIPI DevCon 2021: MIPI I3C Application and Validation Models for IoT Sensor N...
 
Plant Wide Benefits of Ethernet IP
Plant Wide Benefits of Ethernet IPPlant Wide Benefits of Ethernet IP
Plant Wide Benefits of Ethernet IP
 
Profile tulasi v1.1
Profile tulasi v1.1Profile tulasi v1.1
Profile tulasi v1.1
 
OSSF 2018 - Peter Crocker of Cumulus Networks - TCO and technical advantages ...
OSSF 2018 - Peter Crocker of Cumulus Networks - TCO and technical advantages ...OSSF 2018 - Peter Crocker of Cumulus Networks - TCO and technical advantages ...
OSSF 2018 - Peter Crocker of Cumulus Networks - TCO and technical advantages ...
 
Critical Information Infrastructure Systems Worldwide
Critical Information Infrastructure Systems WorldwideCritical Information Infrastructure Systems Worldwide
Critical Information Infrastructure Systems Worldwide
 
Industrial Ethernet Facts - The 5 major technologies
Industrial Ethernet Facts - The 5 major technologiesIndustrial Ethernet Facts - The 5 major technologies
Industrial Ethernet Facts - The 5 major technologies
 
Icccn 1.0
Icccn 1.0Icccn 1.0
Icccn 1.0
 
Implementation of OSS/BSS Solution in IoT Ecosystem
Implementation of OSS/BSS Solution in IoT EcosystemImplementation of OSS/BSS Solution in IoT Ecosystem
Implementation of OSS/BSS Solution in IoT Ecosystem
 
“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...
“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...
“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...
 
Complete the Puzzle — Network Monitoring and Management with Entuity
Complete the Puzzle — Network Monitoring and Management with EntuityComplete the Puzzle — Network Monitoring and Management with Entuity
Complete the Puzzle — Network Monitoring and Management with Entuity
 
Iot Service Layer Evolution
Iot Service Layer EvolutionIot Service Layer Evolution
Iot Service Layer Evolution
 
Its detroit2018 ndot
Its detroit2018 ndotIts detroit2018 ndot
Its detroit2018 ndot
 
Cacti and Big Data at Orange France, OW2online, June 2020
Cacti and Big Data at Orange France, OW2online, June 2020Cacti and Big Data at Orange France, OW2online, June 2020
Cacti and Big Data at Orange France, OW2online, June 2020
 
Alan weber semicon_integrated_equipment_data_collection_smart_manufacturing
Alan weber semicon_integrated_equipment_data_collection_smart_manufacturingAlan weber semicon_integrated_equipment_data_collection_smart_manufacturing
Alan weber semicon_integrated_equipment_data_collection_smart_manufacturing
 
Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...
Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...
Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...
 
MIPI DevCon Seoul 2018: Next Generation Verification Process for Automotive a...
MIPI DevCon Seoul 2018: Next Generation Verification Process for Automotive a...MIPI DevCon Seoul 2018: Next Generation Verification Process for Automotive a...
MIPI DevCon Seoul 2018: Next Generation Verification Process for Automotive a...
 
Swisscom Network Analytics Data Mesh Architecture - ETH Viscon - 10-2022.pdf
Swisscom Network Analytics Data Mesh Architecture - ETH Viscon - 10-2022.pdfSwisscom Network Analytics Data Mesh Architecture - ETH Viscon - 10-2022.pdf
Swisscom Network Analytics Data Mesh Architecture - ETH Viscon - 10-2022.pdf
 
SIES IoT spresentation
SIES IoT spresentationSIES IoT spresentation
SIES IoT spresentation
 
MIPI DevCon Seoul 2018: Troubleshooting MIPI M-PHY Link and Protocol Issues
MIPI DevCon Seoul 2018: Troubleshooting MIPI M-PHY Link and Protocol IssuesMIPI DevCon Seoul 2018: Troubleshooting MIPI M-PHY Link and Protocol Issues
MIPI DevCon Seoul 2018: Troubleshooting MIPI M-PHY Link and Protocol Issues
 

More from MIPI Alliance

More from MIPI Alliance (11)

MIPI DevCon 2021: MIPI I3C Under the Spotlight: A Fireside Chat with the I3C ...
MIPI DevCon 2021: MIPI I3C Under the Spotlight: A Fireside Chat with the I3C ...MIPI DevCon 2021: MIPI I3C Under the Spotlight: A Fireside Chat with the I3C ...
MIPI DevCon 2021: MIPI I3C Under the Spotlight: A Fireside Chat with the I3C ...
 
MIPI DevCon 2020 | Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...
MIPI DevCon 2020 |  Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...MIPI DevCon 2020 |  Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...
MIPI DevCon 2020 | Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...
 
MIPI DevCon 2020 | The Story Behind the MIPI I3C HCI Driver for Linux
MIPI DevCon 2020 | The Story Behind the MIPI I3C HCI Driver for LinuxMIPI DevCon 2020 | The Story Behind the MIPI I3C HCI Driver for Linux
MIPI DevCon 2020 | The Story Behind the MIPI I3C HCI Driver for Linux
 
MIPI DevCon 2020 | MIPI Alliance: Enabling the IoT Opportunity
MIPI DevCon 2020 | MIPI Alliance: Enabling the IoT Opportunity MIPI DevCon 2020 | MIPI Alliance: Enabling the IoT Opportunity
MIPI DevCon 2020 | MIPI Alliance: Enabling the IoT Opportunity
 
MIPI DevCon 2020 | MIPI DevCon 2020 | How MIPI Interfaces Solve Challenges in...
MIPI DevCon 2020 | MIPI DevCon 2020 | How MIPI Interfaces Solve Challenges in...MIPI DevCon 2020 | MIPI DevCon 2020 | How MIPI Interfaces Solve Challenges in...
MIPI DevCon 2020 | MIPI DevCon 2020 | How MIPI Interfaces Solve Challenges in...
 
MIPI DevCon 2020 | MASS: Automotive Displays Using VDC-M Visually Lossless C...
MIPI DevCon 2020 |  MASS: Automotive Displays Using VDC-M Visually Lossless C...MIPI DevCon 2020 |  MASS: Automotive Displays Using VDC-M Visually Lossless C...
MIPI DevCon 2020 | MASS: Automotive Displays Using VDC-M Visually Lossless C...
 
MIPI DevCon 2020 | State of the Alliance
MIPI DevCon 2020 | State of the AllianceMIPI DevCon 2020 | State of the Alliance
MIPI DevCon 2020 | State of the Alliance
 
MIPI DevCon 2020 | Keynote: Trends in Future In-Vehicle Communication Networks
MIPI DevCon 2020 | Keynote: Trends in Future In-Vehicle Communication NetworksMIPI DevCon 2020 | Keynote: Trends in Future In-Vehicle Communication Networks
MIPI DevCon 2020 | Keynote: Trends in Future In-Vehicle Communication Networks
 
MIPI DevCon Taipei 2019 Keynote: Technologies for Automated Driving
MIPI DevCon Taipei 2019 Keynote: Technologies for Automated DrivingMIPI DevCon Taipei 2019 Keynote: Technologies for Automated Driving
MIPI DevCon Taipei 2019 Keynote: Technologies for Automated Driving
 
MIPI DevCon Taipei 2019: Addressing 5G RFFE Control Challenges with MIPI RFFE...
MIPI DevCon Taipei 2019: Addressing 5G RFFE Control Challenges with MIPI RFFE...MIPI DevCon Taipei 2019: Addressing 5G RFFE Control Challenges with MIPI RFFE...
MIPI DevCon Taipei 2019: Addressing 5G RFFE Control Challenges with MIPI RFFE...
 
MIPI DevCon Taipei 2019: Study on the Influence of Random Jitter to the MIPI ...
MIPI DevCon Taipei 2019: Study on the Influence of Random Jitter to the MIPI ...MIPI DevCon Taipei 2019: Study on the Influence of Random Jitter to the MIPI ...
MIPI DevCon Taipei 2019: Study on the Influence of Random Jitter to the MIPI ...
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 

Recently uploaded (20)

10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 

MIPI DevCon 2021: MIPI HTI, PTI and STP: The Bases for Next-Generation Online Analyses of Multicore ProcessorsS

  • 1. © 2021 MIPI Alliance, Inc. Alexander Weiss & Thomas Preußer Accemic Technologies MIPI HTI(SM), PTI(SM) and STP(SM) – The Bases for Next-Generation Analyses of Multicore Processors
  • 2. © 2021 MIPI Alliance, Inc. Motivation
  • 3. © 2021 MIPI Alliance, Inc. 3 Motivation: Complex Systems Challenges Where software is, there are errors. The defect potential increases with system complexity. The defect removal efficiency decreases with increasing system complexity. Burkacky 2018 (McKinsey Center for Future Mobility®): “Snowballing complexity is causing significant software-related quality issues, as evidenced by millions of recent vehicle recalls.” Growing and self-reinforcing problem Key capability: System observation
  • 4. © 2021 MIPI Alliance, Inc. 4 Embedded System Observation Challenges • Real-time Control • Concurrency • Elusive Heisenbugs • Rare Mandelbugs Key 1: Non-Intrusiveness • Maintain application timing • Avoid phantom synchronization Probe Effect Key 2: Continuity • No systematic observation limits • Online trace data processing Debug Health Monitoring Log & Store Runtime Verification at System Level printf(…) SW Instrumentation
  • 5. © 2021 MIPI Alliance, Inc. State of Affairs
  • 6. © 2021 MIPI Alliance, Inc. 6 The Crux of System Integration Need • On-Chip Probes • Data Filters • High-Speed Interfaces The Past The Present Data Volume • Multiple players • Working at GHz speeds. Clueless System Bus • Caches hide memory access. • On-chip memory swallows all access info. • Multicore systems prevent effect attribution.
  • 7. © 2021 MIPI Alliance, Inc. 7 Embedded Trace Options Option 1 - Intrusive • Compete with application for memory bandwidth and space. Option 2 - Bounded • Size of trace buffer limits time. Option 3 - Hard • Processing must match line rate.
  • 8. © 2021 MIPI Alliance, Inc. MIPI Protocols in Action
  • 9. © 2021 MIPI Alliance, Inc. 9 Carrying Execution Trace Data Off-Chip STP MIPI System Trace Protocol TWP(SM) MIPI Trace Wrapper Protocol HTI MIPI High-Speed Trace Interface PTI MIPI Parallel Trace Interface
  • 10. © 2021 MIPI Alliance, Inc. 10 MIPI PHY + Link Layer Technologies PTI • Parallel little-endian TRC_DATA (up to 32) • Synchronous to shared TRC_CLK (up to ~300 MHz) • Mechanisms for: – Signal skew calibration, – Physical, by-pin slicing for parallel point-to-point streams, and – Data striping for mismatched protocol/interface bit widths. HTI • Trace transmission over (multiple) high-speed serial lanes. • Aurora 8B/10B simplex with up to 6 lanes (HTI) or 8 lanes (HTIv1). • Up to 12.5 Gbps per lane. • UFC Messages for sideband info: trigger, overflow, link health, aux. • Session management (incl. disabled, init, idle, run, test).
  • 11. © 2021 MIPI Alliance, Inc. 11 MIPI Transport Layer Technologies STP – System Trace Protocol • Multiplexing among up to 65536 sources at the granularity of 4-bit nibbles. • Autarchic timestamping and syncing. • Sideband packets for user payload and flagging. • Stream synchronization facilities. • Data integrity protection. TWP – Trace Wrapper Protocol • Multiplexing among up to 111 sources at byte granularity. • Designed for very low overhead.
  • 12. © 2021 MIPI Alliance, Inc. 12 Peering with the ARM CoreSight Stack HTI TWP HSSTP over Aurora TPIU Formatter PFT ETM ITM STM = =
  • 13. © 2021 MIPI Alliance, Inc. 13 Recap: Key Embedded Trace Properties Key 1: Non-Intrusiveness • Maintain application timing • Avoid phantom synchronization Key 2: Continuity • No systematic observation limits • Online trace data processing • MIPI Trace protocols and interfaces þ • Standard interfaces for (non-intrusive) trace output (USB, Ethernet, PCIe)
  • 14. © 2021 MIPI Alliance, Inc. Enabling Online Trace Data Processing
  • 15. © 2021 MIPI Alliance, Inc. 15 Low Level High Level Integration Tests System Tests Testing Techniques Static Dynamic Structural Functional Control Flow Data Flow Statement Coverage Branch Coverage MC/DC Requirements Product Module Tests Benefits & Use Cases Benefits • Evade all observation time limits. • Provide instantaneous reaction opportunities. • Avoid intrusive SW instrumentation. Use Cases • Continuous runtime verification: – Formal constraints-based anomaly detection. – Complex triggers on rare Mandelbug occurrences. • Structural coverage measurements of high-level integration & system tests.
  • 16. © 2021 MIPI Alliance, Inc. 16 A Taste of the Challenge • Occasional synchronization • Only branches and diversions: – Taken / not taken indicators – Delta-encoded indirect targets
  • 17. © 2021 MIPI Alliance, Inc. 17 Setup for Measuring the Structural Coverage CEDARtools® Hardware Platform (FPGA Board) DuT (Intel, ARM, PPC, Aurix) Trace Buffer and Concentrator Trace Data Pre-processing and Control Flow Reconstruction Branch Counter Branches Source Code Periphery trace Per Mem Mem CPU0 CPU1 CPU2 CPUn Instr / Data Trace Instr / Data Trace Instr / Data Trace Instr / Data Trace Branch counts Trace Port Compiler Configuration Debug Server high-speed serial Post processing Object code coverage Debug information Binary Mapping Source code coverage
  • 18. © 2021 MIPI Alliance, Inc. 18 Structural Coverage Reporting
  • 19. © 2021 MIPI Alliance, Inc. 19 Higher-Level Coverage Metrics for Safety Certification 40121C: cmpl $0x0,-0x24(%rbp) 401220: je 401228 <main+0x106> 401222: cmpl $0x0,-0x28(%rbp) 401226: jne 40122e <main+0x10c> 401228: cmpl $0x0,-0x2c(%rbp) 40122C: je 401234 <main+0x112> ... if((a&&b) || c) { … } ... a b * 1 √ a b c 0 √ a * c 1 √ a * c 0 √ l What branches constitute a decision? l What paths were part of an execution? l Does the path set satisfy MC/DC coverage?
  • 20. © 2021 MIPI Alliance, Inc. Conclusion
  • 21. © 2021 MIPI Alliance, Inc. 21 Importance of MIPI Standards • Capable vehicles for architecture-independent trace transport. • Enable reuse of lower-level trace layers. • Allow vendors to focus efforts on added high-level functionality. • Accelerate innovation. • Reduce time to market. Challenges for Online Trace Data Processing • Standardisation of COTS-based trace interfaces • Increase available trace bandwidth • Unbounded timing slack between multiplexed streams (TWP/STP) • Defined buffering limits on carried protocols would be helpful
  • 22. © 2021 MIPI Alliance, Inc. 22 ADDITIONAL RESOURCES • Ondrej Burkacky et al.: Rethinking Car Software and Electronics Architecture, McKinsey&Co., 2018. https://lmy.de/2uzLC • C. Jones, Software Engineering Best Practices, 1st ed. USA: McGraw-Hill, Inc., 2009. https://lmy.de/rGvnE • C. Jones and O. Bonsignour, The Economics of Software Quality. Addison-Wesley, 2011. https://lmy.de/5gXVT • Alexander Weiss et al.: Understanding and Fixing Complex Faults in Embedded Cyberphysical Systems, IEEE Computer, Vol. 54, Issue 1, pp. 49-60, 01/2021. https://lmy.de/fT8rk • Thomas Preußer et al.: Everything You Always Wanted to Know About Embedded Trace, accepted by IEEE Computer, preprint available at https://lmy.de/l4Hs5 • The CEDARtools online monitoring system: https://lmy.de/9vAuL ADDITIONAL RESOURCES
  • 23. © 2021 MIPI Alliance, Inc.