STM32Cube AI Studio installation

1. Required Software

Component Minimum version Purpose
STM32CubeMX 6.16.0 Project configuration and code generation
STM32Cube AI Studio Latest AI model integration, frontend
ST Edge AI Core 2.2.0 AI model conversion, core technology
STM32CubeProgrammer 2.19.0 Device programming and validation
STM32CubeIDE 2.0.0 IDE for development
IAR Embedded Workbench Arm v9.2x (Optional) IDE for development
Keil MDK-ARM uV4 (Optional) IDE for development

2. Installation Steps

2.1. Install STM32CubeMX

  • Visit the STM32CubeMX product page.
  • Download the installer for required operating system (Windows, macOS, or Linux).
  • Run the installer and follow the on-screen instructions.
  • After installation, launch STM32CubeMX to ensure successful setup.
  • Install firmware packages for the required boards or microcontrollers.

2.2. Install ST Edge AI Core

  • Go to the ST Edge AI Core page.
  • Download the latest version compatible with development system.
  • Execute the installer and complete the installation process.
  • Confirm installation by running the tool from the application menu or command line.

2.3. Install STM32CubeProgrammer

  • Access the STM32CubeProgrammer download page.
  • Select the appropriate installer for the development platform.
  • Install the software and ensure the device drivers are updated.
  • Test the installation by connecting the STM32 device and launching STM32CubeProgrammer.

2.4. Install STM32Cube AI Studio

  • Download STM32Cube AI Studio from here.
  • Uninstall any previous versions before installing the new one.
  • Run the installer and follow the prompts.
  • Open STM32Cube AI Studio to check the installation works and is correctly configured.
Note white.png Note

If upgrading, remove the previous version before installing the new one.

2.5. Install the preferred IDE/toolchain

  • STM32CubeIDE: Download from STMicroelectronics and install.
  • IAR® Embedded Workbench: Obtain from IAR Systems (license required).
  • Keil® MDK-ARM: Download from Keil (license required).

2.6. Verify STM32Cube AI Studio settings

STM32CubeAI Studio tries to detect all the tools installed to get started.

STM32Cube AI Studio installation


The values can be overridden if auto-detection fails. For the best experience, ensure these values are correctly set:

  • STM32CubeMX: Path to STM32CubeMX.exe
  • STM32CubeProgrammer: Path to STM32_Programmer_CLI.exe
  • STM32CubeIDE: Path to stm32cubeidec.exe
  • ST Edge AI Core: Path to stedgeai.exe

3. Additional Notes

  • Ensure your system meets the minimum hardware requirements for each tool.
  • Administrator privileges may be required for installation, and configuration of dependencies.
  • For Linux/macOS, some tools may require additional dependencies such as Java, USB drivers and so on.
  • Refer to each official tool documentation for troubleshooting and advanced configuration.
  • For some specific platforms such as STM32N6 series, specific IAR or MDK-ARM patches may need to be installed. Refer to the firmware package documentation.

4. Related ST Edge AI Core Documentation

5. Next Steps

  1. Creating a project in STM32Cube AI Studio
  2. Validation and Performance Measurement