STM32CubeProgrammer 2.24: Enter the AI coding era with STM32CubeProgrammer Context and MCP server STMicroelectronics released STM32CubeProgrammer 2.24, adding a dedicated MCP server and context document that let AI coding agents drive the tool's command-line interface to flash internal or external memory and program option bytes on STM32 microcontrollers. The release also adds support for the STM32G5 mixed-signal series and the STM32H7P, which ST describes as its first Cortex-M7 with a Neural-ART NPU and a Hardware Signal Processor, plus SFI with key wrapping on the STM32U3 and STM32V8 and firmware encryption on the STM32G5, STM32V8, STM32H7P and STM32WL4. ST said agents can lock a device at RDP Level 1 or Level 2 with a password but cannot unlock it yet, though they can provide a walkthrough. STM32CubeProgrammer 2.24 https://www.st.com/en/development-tools/stm32cubeprog.html is highly symbolic because it introduces an MCP server that AI coding agents can use alongside a context document to significantly automate certain tasks. There are also many quality-of-life improvements, both around MCU support for new features and the GUI itself. ST is even ensuring that coding can access and use more of our utility in the hope that it helps developers be more productive. Numerous updates are therefore here because they ensure teams can do more faster. We are also making security features more accessible on additional STM32 series, knowing that a tool like STM32CubeProgrammer can convince teams to strengthen their products with additional safeguards. What’s new in STM32CubeProgrammer 2.24? STM32CubeProgrammer MCP Server so AI agents can program STM32 devices The big feature introduced with STM32CubeProgrammer 2.24 is the ability for AI coding agents to use our command-line interface through STM32CubeProgrammer Context https://dev.st.com/stm32cube-agentic-ai/stm32cube-agentic-ai-doc/stm32cube-agentic-ai-programmer.html . The dedicated MCP server and skills provided through the AI STM32CubeProgrammer connector allow AI agents to use the CubeProgrammer CLI for common device-programming tasks. For example, they can flash internal or external memory and program option bytes with a simple prompt. Similarly, developers can lock a device with a password at RDP Level 1 or Level 2 but cannot unlock it at this time, although AI agents have context to provide a walkthrough. This new delivery brings STM32CubeProgrammer into AI-assisted development and validation workflows, allowing a complete autonomous software development flow managed by AI agents. New MCU Support STM32CubeProgrammer 2.24 brings quite a bit of additional MCU support, starting with the STM32G5, our new flagship mixed-signal series https://blog.st.com/stm32g5/ . Developers can flash both the STM32G5 for motor control applications and the one for digital power, ensuring that they can get started on their upcoming applications. This new version of STM32CubeProgrammer is also compatible with the STM32H7P we announced at our STM32 Summit https://blog.st.com/stm32h7p/ . It’s our first Cortex-M7 with a Neural-ART NPU and a Hardware Signal Processor https://blog.st.com/stm32h7p/ . Concretely, for most of these MCUs, developers can now program the internal memory and boot load, tweak the option bytes, or implement firmware encryption and signing, among other things Quality of life improvements This new version offers security implementations that many developers rely on, like support for SFI with key wrapping on the STM32U3 and STM32V8, or key wrapping on the STM32G5, knowing that SFI through the debug interface will arrive on that MCU at a later date. Interestingly, the STM32V8 gets SFI support via debug and UART interfaces to make it even more practical. The STM32C5 can enjoy RDP lock verification , the STM32G5, STM32V8, STM32H7P, and STM32WL4 now all support firmware encryption; the Serial Wire Viewer now works with the STM32C5, and the new STM32N6 are compatible with SSP and debug authentication. ST also worked on optimizing the user experience. STM32CubeProgrammer 2.24 has less intrusive panels, better log viewing, and we revamped the error messages in the GUI to make them more useful to developers. That means offering more useful information to get to the bottom of the issue faster. We also added the ability to save the entire memory of a device in one click and made the ability to restore default settings in the Option Bytes panel more explicit. Similarly, the fault analyzer now supports the Cortex-M55 and Cortex-M85. What’s STM32CubeProgrammer? An STM32 flasher and debugger At its core, STM32CubeProgrammer helps debug and flash STM32 microcontrollers. As a result, it includes features that optimize these two processes. For instance, version 2.6 introduced the ability to dump the entire register map and edit any register on the fly. Previously, changing a register’s value meant changing the source code, recompiling it, and flashing the firmware. Testing new parameters or determining if a value is causing a bug is much simpler today. Similarly, engineers can use STM32CubeProgrammer to flash all external memories simultaneously. Traditionally, flashing the external embedded storage and an SD card demanded developers launch each process separately. STM32CubeProgrammer can do it in one step. Another challenge for developers is parsing the massive amount of information passing through STM32CubeProgrammer. Anyone who flashes firmware knows how difficult it is to track all logs. Hence, we brought custom traces that allow developers to assign a color to a particular function . It ensures developers can rapidly distinguish a specific output from the rest of the log. Debugging thus becomes a lot more straightforward and intuitive. Additionally, it can help developers coordinate their color scheme with STM32CubeIDE, another member of our unique ecosystem designed to empower creators https://blog.st.com/stm32cubeide-free-ide/ . What are some of its key features? New MCU support Most new versions of STM32CubeProgrammer support a slew of new MCUs. For instance, version 2.16 brought compatibility with the 256 KB version of the STM32U0s. The device was the new ultra-low power flagship model for entry-level applications thanks to a static power consumption of only 16 nA in standby. STM32CubeProgrammer 2.16 also brought support for the 512 KB version of the STM32H5, and the STM32H7R and STM32H7S, which come with less Flash so integrators that must use external memory anyway can reduce their costs. Put simply, ST strives to update STM32CubeProgrammer as rapidly as possible to ensure our community can take advantage of our newest platforms rapidly and efficiently. Version 2.22 added support for the STM32H5 with 4 MB of flash, the STM32WBA2, the STM32C5 with 1 MB, 512 KB, and 256 KB, and the STM32U3 with 2 MB. Additionally, the incremental programming feature now supports the STM32H7 with 2 MB and the STM32L0 with 16 KB, thus cementing the constant improvements and added compatibility we bring to this functionality. As some in our community have shared that incremental programming significantly improves their workflow, we are striving to make it available on more and more devices with each release of STM32CubeProgrammer. STM32CubeProgrammer 2.23 brought support for the STM32H5 with 1 MB of flash and the STM32U3 with 256 KB and 512 KB of flash. Additionally, this version of STM32CubeProgrammer offered key wrapping on the STM32U3 with 2 MB of flash and the STM32H5 with 4 MB of flash, the latter also supporting secure firmware installs. This new version also added a lot of security features on the STM32V8, such As Option Byte Key OBKey generation and provisioning, which are used at boot to create Trust Zones and other isolated environments. The STM32V8 also got debug authentication and certificate generation. Export MCU memory map STM32CubeProgrammer 2.22 stood out thanks to its new graphical tool that visually maps the microcontroller’s memory. We know that setting hexadecimal addresses, defining sizes, or specifying special regions may sometimes be confusing. The new graphical tool helps with that by providing a view of the current parameters before exporting them to a .HEX file. For instance, with a few drop-down menus, a dialog box, and a couple of clicks, developers can segment their memory, define the starting addresses for each segment, determine whether it’s one-time programmable storage or an option byte segment, and even whether the segment will store typical data or be used as pattern memory for specific information. Once users are done, a validation tool will help them determine if there are any major issues with the selected configuration. It provides another way to protect developers from typos or missteps that could create overlapping segments or missing information. If all is well, the GUI can then export a separate file for each option byte segment. The generated files are then read by STM32CubeProgrammer, which displays a chart. It’s also possible to extract a .bin file for each contiguous memory region. The export MCU memory map feature is still in beta and may contain minor bugs. However, we remain confident in its reliability and invite the STM32 community to start using it. SEGGER J-Link probe support To help developers optimize workflow, we’ve worked with SEGGER to support the J-Link probe fully. This means that the hardware flasher has access to features that were previously only available on an ST-LINK module. For instance, the SEGGER system can program internal and external memory or tweak the read protection level RDP . Furthermore, using the J-Link with STM32CubeProgrammer means developers can view and modify registers. And since version 2.17, we added the ability to generate serial numbers and automatically increment them within STM32CubeProgrammer, thus hastening the process of flashing multiple STM32s in one batch. We know that many STM32 customers use the SEGGER probe because it enables them to work with more MCUs, it is fast, or they’ve adopted software by SEGGER. Hence, STM32CubeProgrammer made the J-Link vastly more useful, so developers can do more without leaving the ST software. In fact, version 2.18 added the ability to securely install the Bluetooth stack on an STM32WB via a J-Link probe. Hence, developers can use their SEGGER tool for more use cases, making these features more widespread. Raspberry Pi Support with a new Linux CLI mode Starting with STM32CubeProgrammer 2.23, we’ve natively supported Raspberry Pi via a Linux ARM 64-bit CLI package. Consequently, there are no graphical interfaces and the package is purposefully extremely lightweight, given the storage constraints on these platforms. We are also not offering traditional debugging features, but developers can program internal and external flash, configure option bytes, and more. Put simply, teams can rapidly program devices using a small Debian or Ubuntu machine to expedite certain deployments, test benches, or perform remote maintenance by connecting the Linux box to an embedded system in the field. Similarly, we are supporting certain security features while adopting a carefully crafted approach. For instance, this Linux CLI package supports readout protection RDP legacy models and RDP regression with passwords. However, we do not support debug authentication, product life cycle, or secure firmware installs at the moment. Our teams are currently evaluating how the STM32 Community uses this new CLI package so we can better tailor its content to current needs and requests. The challenge when offering such a solution is to keep it small and relevant for a greater number of developers. That’s why we also created a dedicated page for this package on ST Community and invite users to leave their feedback https://community.st.com/stm32-software-tools-165/coming-june-2026-raspberry-pi-support-for-stm32cubeprogrammer-164729 . Native support for Apple silicon The new version of STM32CubeProgrammer is an important one for Mac users as it brings native support for Apple silicon. Many in our communities work on legacy systems to protect their work against unreliable environments, which is why we also waited to support the new processor architecture. However, Apple recently announced that macOS Tahoe would be their last OS to support Intel-based Mac computers and that macOS 27 will be the last version to offer Rosetta, the translation process that ensures Apple Silicon devices can run Intel-based apps. Hence, it was essential to bring native Apple silicon support now to ensure that users planning a migration will get the best STM32CubeProgrammer experience on macOS for years to come. Quality of life improvements Version 2.20 of STM32CubeProgrammer brought important updates to the incremental programming features ST introduced in version 2.19 more information below , by bringing new MCU support and performance improvements. In terms of compatibility, developers can now perform incremental programming on STM32WB5 and STM32WB35 devices as well as STM32G0B0, STM32G0B1, and STM32G0C1 MCUs. Additionally, besides bug fixes, the 2.20 update improves performance. In our internal tests, while a 1 MB firmware takes about 23 second to load on an STM32H7, it takes only 5 seconds when using incremental updates to write to two memory sectors, even if they are not contiguous. When developers do this over and over as they write their application, the savings become substantial. STM32CubeProgrammer 2.23 came with a slew of quality-of-life improvements, including, among others, a more prominent link to STM32 Sidekick https://www.st.com/content/st com/en/about/ai-at-st/stm32-sidekick.html . The tool uses a tailored large language model to help engineers find technical information, precise documentation, and other resources to help them create their applications faster. Similarly, this new version offers more readable file paths to help better understand where all the files in a project are located. ST also published a new online documentation resource specifically for STM32CubeProgrammer . It helps users get started faster, find answers, and master the utility, thus increasing their expertise within our ecosystem. Automating the developer’s life STM32CubeProgrammer 2.19 brought a series of automations that simplified operations. For instance, the utility now automatically downloads the X-CUBE-RSSe https://www.st.com/en/embedded-software/x-cube-rsse.html?ecmp=tt9470 gl link feb2019&rt=rn&id=RN0109 file, which contains the latest version of RSS extension binaries, option byte templates, and the personalization data files for the STM32HSM-V2 https://www.st.com/en/development-tools/stm32hsm-v2.html hardware security module. Users will see a message on the SFI/SFIx tab on the secure programming section of STM32CubeProgrammer telling them that a new version is available for download and a tab informing them of the main changes. Given the highly sensitive nature of these security libraries and features, it ensures developers keep their software patched and free of known issues. This latest software revision also enhances serial numbering by enabling users to choose whether they prefer a big- or little-endian format. Big-endianness mimics a left-to-right approach, as is usual in most languages using an alphabet, and is most common when dealing with network addresses. However, little-endianness is very prominent on embedded systems because storing the least significant byte LSB in the lowest memory address makes reading the address more efficient on resource-constraint systems. For instance, an operation that only needs the LSB will have faster access to this information. That’s why most MCUs default to little-endianness, but STM32CubeProgrammer gives the option to use both. Similarly, STM32CubeProgrammer 2.19 brought incremental programming when using the command line interface by automatically updating only the sectors in the flash where changes have been made. Instead of flashing the firmware onto the entire flash, the tool figures out which memory sectors contain updates and changes only those sections of the flash. Most STM32 devices support it already, and we will continue to add compatibility with more MCU series and memory configurations over time. Finally, ST brings debug authentication with multiple target boards. Put simply, users can choose one target board and seamlessly switch between several ones. SWD Multidrop One of the most significant new features STM32CubeProgrammer 2.21 was Serial Wire Debug Multidrop SWD Multidrop . Based on the classical SWD protocol, it enables a single-wire connection to multiple targets. Let’s take the example of an application that uses an STM32U5 as the host MCU and an STM32WBA5 for the wireless application. Both live on the same board. Today, thanks to SWD Multidrop, they can share the same debug port. Simply changing the TargetSel value in STM32CubeProgrammer is enough to switch between STM32 devices. However, since ST-LINK distinguishes STM32 MCUs by family, it won’t differentiate between two MCUs of the same series e.g., two STM32C0 sharing the same SWD port . Exporting options Other quality-of-life improvements aim to make STM32CubeProgrammer more intuitive. For instance, it is now possible to export an STM32’s option bytes . Very simply, they are a way to store configuration options, such as read-out protection levels, watchdog settings, power modes, and more. The MCU loads them early in the boot process, and they are stored in a specific part of the memory that’s only accessible by debugging tools or the bootloader. By offering the ability to export and import option bytes, STM32CubeProgrammer enables developers to configure MCUs much more easily. Since version 2.17, developers can now edit memory fields in ASCII to make certain section a lot more readable. And version 2.18 brought a synthetic option byte view to see and edit multiple option bytes on a single row instead of having to scroll through detailed lists. For expert users who know exactly what they want to do, this synthetic view makes changing an option byte a lot quicker. We also introduced improvements to the user experience, such as a project mode that allows users to save and restore configuration and connection settings, option byte values, firmware lists, external flash loaders, security firmware updates root security system extension binaries , stack install settings for the STM32WB, and automatic mode parameters. In a nutshell, we want developers to collaborate more efficiently by importing and exporting major project elements so they can focus on their code rather than ticking boxes and applying the same settings repeatedly . Japanese and Chinese localization To make STM32CubeProgrammer more inclusive, we brought Chinese and Japanese localization. It reflects our desire to make the entire STM32Cube ecosystem more accessible to developers in those regions. The vast majority of users who speak Japanese and Chinese as their first language also speak English fluently and would have no issue using our tool in English. However, given our presence and dedication in those markets, we also know that translating our solutions opens the door for students, enthusiasts, and experts who prefer to work in their native language. That’s why we localized the STM32 MCU and MPU Developer Zone in Chinese and Japanese https://blog.st.com/stm32-developer-zone-stm32-finder/ and why we are now bringing the same devotion to STM32CubeProgrammer. A portal to security on STM32 Readers of the ST Blog know STM32CubeProgrammer as a central piece of the security solutions present in the STM32Cube Ecosystem https://blog.st.com/stm32cube-ecosystem/ . The utility comes with Trusted Package Creator, which enables developers to upload an OEM key to a hardware secure module and to encrypt their firmware using this same key. OEMs then use STM32CubeProgrammer to securely install the firmware onto the STM32 SFI microcontroller. Developers can even use an I