cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot write program to STM32WB55CG

ASiva.1
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Remi QUINTIN
ST Employee

​Good! Thanks for your feedback.

View solution in original post

3 REPLIES 3
Remi QUINTIN
ST Employee

​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?

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
ST Employee

​Good! Thanks for your feedback.