Skip to main content
ASiva.1
Associate III
January 7, 2021
Solved

Cannot write program to STM32WB55CG

  • January 7, 2021
  • 3 replies
  • 1078 views

I am using an STM32WB55CG in a custom board with SWD interface. When I tried to connect the MCU using STM32CubeProgrammer, the MCU is identified in the Cube Programmer. But, when I tried to program it using the STM32cube IDE, device is not identified. Also, when I tried to erase the flash using STM32CubeProgrammer and also tried to write program through flash Programmer both does not work and shows errors. What is the problem behind it?

This topic has been closed for replies.
Best answer by Remi QUINTIN

​Good! Thanks for your feedback.

3 replies

Remi QUINTIN
ST Technical Moderator
January 19, 2021

​What kind of error do you have with CubeProgrammer once connected and trying to program or erase the Flash memory?

What are the values of the option bytes?

ASiva.1
ASiva.1Author
Associate III
January 19, 2021

Thank you for the reply. That problem was that the voltage detection of the custom board showing 1.7 V even though the voltage that is powered the mcu was 3.3 V. That was due to physical damage to the programming cable. Now that is working.

Remi QUINTIN
Remi QUINTINBest answer
ST Technical Moderator
January 19, 2021

​Good! Thanks for your feedback.