STM32CubeProgrammer (MCUs)

Ask questions on STM32CubeProgrammer and find answers on device detection, connection failure, programming issues, and more.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeProgrammer v2.20 released

We are pleased to announce that STM32CubeProgrammer 2.20 is available What is new in 2.20: • Support for the STM32MP21x microprocessors:         – External memory programming        – OTP programming        – PKCS#11        – ST power management IC• ...

Resolved! UART DFU on stm32l475

Hi,I am attempting to jump to system memory to be able to update the firmware via UART. Due to design constraints, BOOT0 pin will not an option for accessing the bootloader thus jumping to system memory within the application is needed.I'm using the ...

TJime.1 by Associate
  • 1016 Views
  • 1 replies
  • 0 kudos

Resolved! STM32U5 HAL_FLASH_Unlock() fails

Hello everybody!Our company's QA reported some devices with STM32U585VIT6 CPU in a state when write to Flash became impossible.As a developer, I tried to reproduce this and after some experiments got stuck in a strange state when HAL_FLASH_Unlock ret...

micklecat by Associate II
  • 3509 Views
  • 4 replies
  • 0 kudos

Why do I get the error: 'Error: Data read failed'

I have an STM32F030K6T6, I 'm using STM32CubeProgrammer with ST-Link V2.I click 'connect' and I get this error:'Error: Data read failed'It gets connected to the MCU, reads correctly it's ID.I have checked all related connections: SWCLK, SWDIO, RST, 3...

STM32CubeProgrammer 2.12.0 released

We are pleased to announce you that the official release of STM32CubeProgrammer v2.12.0 is available for download here.New Features (only some highlights):Script manager: add loops and conditional statements.STM32MP1: New SSP GUI.STM32 Trusted Packag...

Resolved! Using the STM32CubeProgrammer API

Hello!I am trying to use the STM32CubeProgrammer API to create my own application with a simple GUI in C++. Currently my solution is compiling the STM32CubePrgAPI as static library and then include it in a MFC project.Basically user clicks OK from th...

rtl by Associate II
  • 1286 Views
  • 1 replies
  • 0 kudos

Unable to connect (& hence flash the firmware) the STM32-Cube-Programmer with STM32-target-board in USB-DFU-mode if loaded firmware is read-protected.

1) I am able to connect the STM32-Cube-Programmer in USB-DFU-mode if existing or loaded firmware in to STM32-target-board is not read-protected.Image-1: Able to connect with target boardImage-2: Able to load firmware in to target board2) I am not abl...

0690X000009Z7piQAC.png 0690X000009Z7qWQAS.png 0690X000009Z7rUQAS.png