没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Introduction
This document applies to the X-CUBE-STL self-test library for the STM32H7 Series (order code X-CUBE-STL-H7).
The X-CUBE-STL H7 Expansion Package for STM32Cube includes an application-independent software test library. It is
released by ST to implement a relevant subset of safety mechanisms required by the safety concepts applicable to STM32H7
Series microcontrollers.
Table 1. Applicable product
Part number Order code
X-CUBE-STL X-CUBE-STL-H7
STM32H7 Series self-test library user guide
ST Restricted - Subject to Non-Disclosure Agreement – Do not copy
UM2601
User manual
UM2601 - Rev 3 - January 2020
For further information contact your local STMicroelectronics sales office.
www.st.com
1 General information
The X-CUBE-STL-H7 Expansion Package runs on STM32H7 Series microcontrollers, based on Arm
®
Cortex
®
-
M7 processors.
Note: Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
The version of application-independent software test library, Self-Test Library, available in the X-CUBE-STL-H7
Expansion Package (and associated to this manual) is V1.0.0.
The following table defines the acronyms needed for a better understanding of this document.
Table 2. List of acronyms
Acronym Description
AEABI
Arm
®
Embedded application binary Interface
API Application programing interface
DCache Data cache
DSP Digital signal processing
FPU Floating-point unit
HAL Hardware abstraction layer
ICache Instructions cache
IDE Integrated development environment
LL Low-layer
MCU Micro controller unit, or microcontroller
MPU Memory protection unit
OEM Original equipment manufacturer
SDK Software development kit
STL Self-test library
TM Test module
ST Restricted - Subject to Non-Disclosure Agreement – Do not copy
UM2601
General information
UM2601 - Rev 3
page 2/71
2 STM32Cube overview
2.1 What is STM32Cube?
STM32Cube is an STMicroelectronics original initiative to make developers' lives easier by reducing development
effort, time and cost. STM32Cube is the implementation of STMCube that covers the whole STM32 portfolio.
STM32Cube includes:
• STM32CubeMX, a graphical software configuration tool that allows the generation of C initialization code
using graphical wizards.
• A comprehensive MCU Package, delivered per STM32 microcontroller Series (such as the STM32CubeH7
for the STM32H7 Series), with:
– The STM32Cube HAL, STM32 abstraction layer embedded software ensuring maximized portability
across the STM32 portfolio.
– Low-layer APIs (LL) offering a fast light-weight expert-oriented layer which is closer to the hardware
than the HAL. LL APIs are available only for a set of peripherals.
– A consistent set of middleware components such as RTOS, USB and Graphics.
– All embedded software utilities, delivered with a full set of examples.
2.2 How does this software complement STM32Cube?
The examples of the STL integration are based on the STM32CubeHAL, the hardware abstraction layer for
STM32 microcontrollers. The software expansion package extends STM32Cube by providing a middleware
component (STM32_Safety_STL) to manage some software-based diagnostics.
The software expansion package provides code and sample applications for a complete safety solution:
• STL: provides a binary and source to manage the execution of safety tests
• User application: provides examples of STL integration into a simple application that can be used for STL
testing.
ST Restricted - Subject to Non-Disclosure Agreement – Do not copy
UM2601
STM32Cube overview
UM2601 - Rev 3
page 3/71
3 STL overview
STL is an application-independent software test library released by ST to implement a relevant subset of safety
mechanisms required by the safety concepts applicable to microcontrollers of the STM32H7 Series. The STL is
HAL/LL independent, and dedicated to the STM32H7 Series. The STL is compilation tool chain-agnostic, so it can
be compiled by any standard C-compiler.
STL is an autonomous software, which executes on application demand selected tests to detect hardware issues,
and reports the outcomes to the application.
STL is delivered partly in object code (for the library itself) and partly in source code for the user interfaces
definition and user parameters settings.
3.1 Architecture overview
The STL tests the CPU Arm
®
core, the Flash memory and the RAM.
As shown in Figure 1. STL architecture, a system architecture with an end-user application integrating the STL is
composed of:
• User application (in light blue)
• User parameters (in light blue)
• STL scheduler (in light yellow): directly accessible by the User application via User APIs (not going through
HAL/LL)
• STL internal test modules (in light yellow): called by the STL scheduler (not seen from the User application).
The STL status information returned to the User application at API level (see Table 3. STL return information) are:
• function return values (STL_OK, STL_KO)
• test module result values (STL_PASSED, STL_PARTIAL_PASSED, STL_FAILED, STL_NOT_TESTED,
STL_ERROR).
Figure 1. STL architecture
STL
User
parameters
STL
User
APIs
STL scheduler
Function return value
Test result value
User application
HAL/LL
STL
CPU Arm® core
test module x
STL
Flash memory
test module
STL
SRAM
test module
STM32 microcontroller
User tests
APIs
User tests
Legend:
STL
User
ST Restricted - Subject to Non-Disclosure Agreement – Do not copy
UM2601
STL overview
UM2601 - Rev 3
page 4/71
The STL also allows the developer to:
• Schedule some user tests, that is, tests defined by users and executed through the scheduler. This feature is
available through the user configuration.
• Use the artificial-failing feature. The developer can check the application behavior by forcing the STL to
return a requested test result value. This feature is available through the specific user API.
3.2 Supported products
The STL runs on the following STM32 microcontrollers:
• STM32H742xx
• STM32H743xx
• STM32H753xx
• STM32H750xx
• STM32H747xx
• STM32H757xx
• STM32H745xx
• STM32H755xx
ST Restricted - Subject to Non-Disclosure Agreement – Do not copy
UM2601
Supported products
UM2601 - Rev 3
page 5/71
剩余70页未读,继续阅读
资源评论
嵌入式基地
- 粉丝: 4w+
- 资源: 202
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功