Skip to main content
ASiva.1
Associate III
Jan 7, 2021 7:45 AM UTC
Solved

Cannot write program to STM32WB55CG

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.
Remi QUINTIN
Remi QUINTINBest answer
ST Technical Moderator
Jan 19, 2021 3:41 PM UTC

​Good! Thanks for your feedback.

3 replies

Remi QUINTIN
ST Technical Moderator
Jan 19, 2021 2:39 PM UTC

​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
Jan 19, 2021 3:36 PM UTC

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
Jan 19, 2021 3:41 PM UTC

​Good! Thanks for your feedback.