cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55REV6: Failed to get programmed via SWD

turjman
Visitor

Hello everyone,

I'm a fairly experienced STM32 Developer, and I use the STM32 line almost in all of my designs.
However, I've encountered an extraordinary problem.

I've followed this Application note: AN5290 in my schematic (see attachment).

However, I cannot program it via SWD.

I've supplied +5V and checked that all +3V3 rails are present and OK.

When I try to program it via STLINK-V3 (official, not the clone) it cannot access the MCU and says "No STM32 Target Found".

I've connected the MCU USB to my computer and showed that the MCU is in DFU Mode even though BOOT0 is pulled LOW.

Another strange thing is that Option bits are assigned strangely.

turjman_0-1729326786326.png


I've uploaded the code in the attachments via USB DFU mode and the Code has worked perfectly.
However, I cannot program it again even via SWD or DFU which is very strange behavior.

The board consumes around 10mA in DFU or Runs the code in the attachments.

Thanks.


1 REPLY 1
AScha.3
Chief II

Hi,

When I try to program it via STLINK-V3 (official, not the clone) it cannot access the MCU and says "No STM32 Target Found".

btw there is no V3 "clone" , afaik.

Try cubeProgrammer with: st-link mode,  hardware reset, connect under reset. (and nrst connected to st-link...)

-> show, what its telling.

If you feel a post has answered your question, please click "Accept as Solution".