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

Resolved! STM32CubeProgrammer v2.22 released

We are pleased to announce that STM32CubeProgrammer 2.22 is available What is new in 2.22: Support for the STM32U3 microcontrollers with 2 Mbytes of flash memory: Internal memory programming through debug and bootloader interfacesOption bytes program...

Resolved! cannot execute binary file: Exec format error

I made a NUCLEO-G474RE IO-Toggle project in eclipse on Ubuntu, the building has been passed through, while I couldn't run it into the NUCLEO board. When I start to debug it, this error was shown:/bin/bash: /home/mq/eclipse-workspace/test_NUCLEO-G474R...

0693W00000Bd0IlQAJ.png 0693W00000Bd0IqQAJ.png
MQi.1 by Senior II
  • 29811 Views
  • 2 replies
  • 0 kudos

STM32H7 Hard Fault

I have a program where data is read into the dataStore buffer of a double buffered system from external flash memory via SPI upon detection of an interrupt, around every 700ms; the only ISR sets a value and if the block in my main loop detects this v...

NSR by Associate III
  • 8048 Views
  • 5 replies
  • 0 kudos

Resolved! CubeProgrammer_API not setting verbosity level

I have managed to use the CubeProgrammer_API.dll in a visual studio C# project. Everything seems to be working properly but when I try to set the verbosity level nothing changes. It seems to be fixed to level 2. This is the code I'm using:[DllImport(...

iduque by Associate
  • 1664 Views
  • 2 replies
  • 0 kudos

Resolved! Programming an STM32F7xx via USART1

Hello, I try to programm a STM32F765 via USART1 (PA9/PA10), but the connection fails. I use STM32CubeProgrammer v2.7.0.If I use USART3 instead on my target, programming works as expected.Q: Is there a known bug, and USART1 does not work on this CPU? ...

Can't program STM32F411CEU6 via UART interface

Hi,I'm having a very similar issue reported in this question. My problem: I can't program a STM32F411CEU6 with Arduino IDE and using UART.So, I have designed a customized board with a STM32F411CEU6. I'm new in the field and so to prevent any big surp...

MWon.1 by Associate II
  • 3446 Views
  • 3 replies
  • 0 kudos

Dual-bank mode to switch and boot with the firmware present in the Bank-2 of the flash from the Bank-1

Hi,I am using LED blink firmware generated using CUBE-MX by Disabling all the modes and Clearing the pinouts.I flashed one firmware in the bank-1 (0x08000000) and second firmware(with few changes the way the led blinks) flashed into the bank-2 (0x080...

0693W00000BbKnzQAF.png 0693W00000BbKpCQAV.png
shabaz704 by Associate II
  • 5335 Views
  • 10 replies
  • 0 kudos

STM32F103xx Assembly - unable to run application

I am "Learning" assembly, So I have tried to program my stm32f103 in assembly (a simple program to blink a led). The problem is that the program runs when uploaded using st-flash utility. But, If I press reset button, the program stops working.Here a...

Praveen1 by Associate II
  • 2019 Views
  • 3 replies
  • 0 kudos

My STM32H743 MCU can not get into USB DFU mode, which has initial bootloader version 13.2 I got the wrong ic or there is another solution?

Hello ~My STM32H743 MCU can not get into USB DFU mode, which has initial bootloader version V13.2I follow the instruction, boot0 pin to high, plug usb, watching my device list, but there is no STM FS DFU device.I designed new board with stm32h743xi, ...

0693W00000Bbc0qQAB.png
GLee.4 by Associate
  • 1677 Views
  • 1 replies
  • 0 kudos