12
STM32Cube and Azure RTOS Overview

STM32Cube and AzureRTOS: Overview

  • Upload
    others

  • View
    29

  • Download
    0

Embed Size (px)

Citation preview

Page 1: STM32Cube and AzureRTOS: Overview

STM32Cube and Azure RTOS Overview

Page 2: STM32Cube and AzureRTOS: Overview

STM32Cube Software Suite Offer

Configuration

Development

Programming

Monitor

Packages

Expansions

STM32Cube HAL/LL

Middlewares

User application

ST proposal for STM32, since 2014

Software Tools Embedded Software

2

Page 3: STM32Cube and AzureRTOS: Overview

Ongoing - STM32Cube Software Suite (1/2)

Configuration

Development

Programming

Monitor

Packages

Expansions

Drivers

Middlewares

User application

Azure RTOS ThreadXReal-time operating system

Azure RTOS FileX FAT file system, fault tolerant

Azure RTOS NetX/NetX DuoTCP/IP stacks

Azure RTOS USBXUSB stack, host and device

Azure RTOS

Production License for any STM32

Embedded Software Complemented with Microsoft Azure RTOS (2021)Software Tools

+

3

Page 4: STM32Cube and AzureRTOS: Overview

On-going - STM32Cube Software Suite (2/2)

Embedded Software

Microsoft Azure RTOS bringing additional Key benefits to STM32Cube software Suite, from 2021

SoftwareTools

Embedded Software

Faster & Easier Development

Better Quality

Business-friendly terms

Fast performance

Complete consistent solution

Industry certifications

Azure RTOS++

4

Page 5: STM32Cube and AzureRTOS: Overview

Microsoft Azure RTOS: Key Features

Professional grade, highly reliable and market proven MW suite

• Industrial grade networking stack: optimized for performance coming with many IoT protocols

• Advanced FS/FTL: fully featured to support NAND/NOR Flash memories• USB Host and Device stacks coming with many classes• Safety pre-certifications (from MSFT): IEC 61508 SIL4, IEC 62304 Class C and ISO

26262 ASIL D• Security pre-certifications (from MSFT): EAL4+ for TLS/DTLS, FIPS 140-2 for SW

crypto lib• STM32 granted production license:

https://github.com/azure-rtos/guix/blob/master/LICENSED-HARDWARE.txt

5

Page 6: STM32Cube and AzureRTOS: Overview

Azure RTOS Deployment within STM32 and STM32Cube portfolio

Through STM32Cube Expansion and MCU Packages from 2021 and on for several existing STM32 series

www.st.com/stm32cube 6

Azur

e R

TOS

Dep

loym

ent

STM32H7

Available nowst.com or GitHub

STM32L4/L4+

STM32F4

STM32L5

STM32F7

STM32G4

STM32WL

STM32G0 STM32WBX-CUBE-AZRTOS-H7 X-CUBE-AZRTOS-F4

X-CUBE-AZRTOS-L4

X-CUBE-AZRTOS-G4

X-CUBE-AZRTOS-F7

X-CUBE-AZRTOS-L5 X-CUBE-AZRTOS-WL

X-CUBE-AZRTOS-WBX-CUBE-AZRTOS-G0

Available on GitHub only

Page 7: STM32Cube and AzureRTOS: Overview

Azure RTOS deployment within STM32 and STM32Cube portfolio

STM32Cube native support for new STM32 series from 2021 onward

Available nowst.com or GitHub

STM32U5STM32CubeU5

Examples & ApplicationsSTM32Cube HAL/LL, BSP

CMSIS

MiddlewareAzure RTOS

User application

Qx 202x

STM32xxSTM32CubeXX

STM32Cube MCU package

Azur

e R

TOS

Dep

loym

ent

7

Presenter
Presentation Notes
For STM32 families being available in 2021 or later, for example first one being STM32U5, Azure RTOS will be natively integrated in the STM32Cube MCU package. These families will not have dedicated expansion package. Customers will benefit of native CubeMX or CubeIDE support to start new project based on Azure RTOS middlewares. Of course, those who still prefer our legacy middlewares for new STM32s, we will have them available on our Github with set of different examples. First MCU package with Azure RTOS is expected together with mass-market announcement of STM32U5 product, that is planned in Q3 2021.
Page 8: STM32Cube and AzureRTOS: Overview

Getting started with Azure RTOS examples

Start from STM32CubeMX or from ready-to-use examples to easily get up to speed with Azure RTOS

ThreadCreation, Synchronization,

message queue

OS wrappersFreeRTOSCMSIS OS

Azure RTOS ThreadX

Micro SD File editMulti-thread access

NOR memory File RWNAND memory File RW

Multi-instanceIn-Application-Programming

Azure RTOS FileX

TCPServer, Client

UDPServer, Client

ApplicationWeb server, MQTT client, SNTP

client

Azure RTOS NetX Duo

HostMSC, HID, CDC ACM

Dual class

DeviceMSC, CDC ACM,HID, CDC ECM,

HID CDC ACM (dual-class)

Azure RTOS USBX

8

Presenter
Presentation Notes
To let you get started quickly and effectively and to understand different applications, we have prepared set of examples for each Azure RTOS component. These are split in 4 different sections: For ThreadX we prepared simple examples for dynamic thread creation, synchronization and thread communication using message queues. Customers currently using FreeRTOS operating system or CMSIS-OS layer can benefit of examples that are compatible with their previous application syntax Then for USBX, examples are split between host and device modes. Standard set of classes is included, including multi-class configuration, like for example HID and CDC dual-class for USB device TCP/IP stack ThreadX includes TCP and UPD examples, each of them in server or client mode. For the application, we include HTTP server, MQTT client and SNTP client modes Lastly, FileX comes with set of different examples for SD card, NAND or NOR memories. Or, if you prefer to Start with CUbeMX or CubeIDE without example, it is made possible thanks to our Expansion package graphical configuration capability
Page 9: STM32Cube and AzureRTOS: Overview

Migrate to Azure RTOS

Keep your application layer, simply integrate an industry-leading real time operating system

FreeRTOS compatibilitylayer for ThreadX

FreeRTOS

CMSIS OS compatibilityLayer for ThreadX *

CMSIS OS

* Offer exclusive to the STM32

9

Presenter
Presentation Notes
You may have wondered who to move forward if you have you application based on FreeRTOS or CMSIS-OS while ST is moving to Azure RTOS instead. Azure RTOS natively comes with FreeRTOS application layer. This means that customers using FreeRTOS application functions can now seamlessly transfer project to ThreadX and still keep application API. Furthermore, customers benefit of high performant and low-memory footprint operating system with industry leading position and set of industry certifications. On the other side, if your application is today based on CMSIS-OS application syntax, ST is delivering Azure RTOS ThreadX port to seamlessly migrate to ThreadX and still keep CMSIS-OS API functions. This is an unique feature available only for STM32 customers.
Page 10: STM32Cube and AzureRTOS: Overview

Azure RTOS supported by STM32Cube Toolset

Supporting Azure RTOS ThreadX-aware debugging

Project configurationwith STM32CubeMX

Code developmentAdvanced IDE

Debugging and programming

Azure RTOSOS awareness

www.st.com/stm32cubeide 10

Presenter
Presentation Notes
CubeIDE has been recently updated to version 1.6. This version is necessary to use Azure RTOS expansion pack and when working with Azure-RTOS enabled application, it comes with operating system aware debugging for ThreadX. CubeIDE comes with integrated functionality of CubeMX, that let’s you have single tool for code configuration and project development An eclipse-based IDE features advanced code development GCC compiler covers your compilation demand and CubeProgrammer let’s you flash your MCU to be able to effectively debug it. Lastly, for Azure RTOS we have added OS awareness. This features let’s you browsing threads and seeing their current state. Furthermore, you can see a list of other OS services, for example semaphores, mutexes, memory pools or timers. Stay tunes for next versions where we will integrate more operating system aware debugging features.
Page 11: STM32Cube and AzureRTOS: Overview

Azure RTOS and STM32Cube: User Benefits

www.st.com/stm32cube

Easy to Use

Expandable

AccessibleSource code availableFree of chargeUser-friendly license terms

Drastically reduced learning curve:• Azure RTOS made compatible with ST

Toolset• Many applicative examples providedDevelopers can focus on their application and differentiators

Expanding the ecosystem of existing and upcoming STM32 series by leveraging the Azure RTOS middleware

Getting the most out of Azure RTOS and STM32 MCUs is now easier than ever with STM32Cube

11

Page 12: STM32Cube and AzureRTOS: Overview

© STMicroelectronics - All rights reserved.ST logo is a trademark or a registered trademark of STMicroelectronics International NV or its affiliates in the EU and/or other countries. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other product or service names are the property of their respective owners.

Find out more at www.st.com/STM32Cube