This content provides useful getting-started documentation on printed circuit board (PCB) design, software, and the tool ecosystem for the STM32 microprocessor units (MPUs). It also provides hands-on guidance for engineers who want to become familiar with the OpenSTLinux ecosystem through practice.
- Useful major ST documentation for quick start see stm32-hotspot STM32MPUsGettingStarted file STM32MPU_Useful_links_Quick_Start.md
- PCB Schematic review sanity check list and PCB design documentation see the knowledge article Overview on STM32MPU PCB design documentation and schematics review
- How-to wiki pages see stm32-hotspot STM32MPUsGettingStarted file STM32MPU_how_to.md
-
STM32 Community knowledge base with FAQs see STM32 Community Knowledge base
-
MOOC on STM32 Community Learning online course see ST Community Learning STM32 online courses
Different materials are available in stm32-hotspot STM32MPUsGettingStarted hands-on slides folder
-
Hands-on session on Linux debugging tips about many ways for kernel Linux debugging.
-
Hands-on session on software updates for ST reference boards with Debian packages stored in the ST package repository service
-
Hands-on session that explains how to flash an image to an ST reference board
-
Hands-on sessions for Arm® Cortex®-M4 coprocessor firmware development on STM32MP15 The user can use firmware debugging, generate firmware code to initialize a timer PWM output with STM32CubeMX, and rebuild the device tree to declare shared resources.
- Lab 1: Practice engineering debug mode with STM32CubeIDE
- Lab 2: Practice production debug mode with STM32CubeIDE
- Lab 3: Add a timer for PWM output and LED blinking
- Lab 4: Enable inter-processor communication
-
Hands-on session on how to build with STM32CubeIDE the trusted firmware-A (TF-A), U-Boot, OP-TEE, and the Linux kernel
-
Hands-on sessions linked to a workshop on STM32MP13 Cortex-A bare-metal application development. Bare-metal applications without an operating system (OS) can be used in specific customer use cases and for hardware unit tests on a customer platform.
- Hands-on building and debugging of Cortex-A applications Learn how to build and run firmware applications in an STM32CubeIDE project located in internal RAM or flash memory.
- Hands-on use of DDRFW-UTILS for DDR memory testing on a customer design, to learn how to set up the tool and adapt it to the board.
- Hands-on low-power operation with Linux, to monitor the power rail voltage for each low-power mode.
- Hands-on Cortex-A Microsoft Azure RTOS USBX demo, to run the USB device CDC-ACM demo on Cortex-A.
-
STM32MP2 RIF configuation tips see stm32-hotspot STM32MPUsGettingStarted hands-on slides folder
-
Hands-on session to get started with a minimal device tree at bring-up To bring up an application with a customer design, the OpenSTLinux BSP configuration must be adapted to the customer design. This hands-on session show how to configure the device tree of the boot chain (TF-A,OP-TEE,U-Boot) and the Linux kernel on ST Reference board. This hands-on is an illustration. The same method as can be followed for a customer design based on an STM32MPU that differs from the ST reference board and that connects to different devices chip. The device tree is built with STM32CubeMX and with device tree files from the OpenSTLinux source files. STM32MPUs_BringUp_Minimal-DeviceTree
This material has been created in 2020 and is delivered as is. The hands-on sessions were originally developed for an earlier OpenSTLinux release, but they can be adapted to the current release. Some sessions on the coprocessor and the tools can be applied to the STM32MP2 series
- STM32MP157 STM32MP135 STM32MP257 ST reference board, Micro-USB cable and USB Type-C® cable, SD card
- Ubuntu Linux machine, either a native Ubuntu PC or a virtual machine with WSL2 or VMware on a Windows PC To configure the machine, a set of scripts is available. The scripts help install the Starter Package, the software development kit (SDK) Package, the Developer Package, STM32CubeProgrammer, STM32CubeMX, and set up the build environment for the embedded software.
See the Ubuntu machine installation scripts in STM32MPUs-LinuxMachine-SDK-Setup