cancel
Showing results for 
Search instead for 
Did you mean: 

FUS version read issue

APort
Associate III

Hello,

We are having trouble reading FUS version using STMprogrammer application.

0x20030030 always returns 0.

The interesting bit, is that SHCI_GetWirelessFwInfo() API does return 1.1.0 as FUS version as expected.

FW version is 1.5.0.

Its either issue with the documentation (address changed?), or with programmer application.

Any ideas?

./STM32_Programmer_CLI -c port=SWD mode=UR -r32 0x20030030 1
      -------------------------------------------------------------------
                        STM32CubeProgrammer v2.2.1                  
      -------------------------------------------------------------------
 
ST-LINK SN  : 31FF6B065248393731200143
ST-LINK FW  : V2J36S7
Voltage     : 1.82V
SWD freq    : 4000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x495
Device name : STM32WBxx
Flash size  : 1 MBytes
Device type : MCU
Device CPU  : Cortex-M0+/M4
 
 
Reading 32-bit memory content
  Size          : 4 Bytes
  Address:      : 0x20030030
 
0x20030030 : 00000000

1 ACCEPTED SOLUTION

Accepted Solutions
Remi QUINTIN
ST Employee

​There is no isssue except the fact that the read of the FUS version is not implemented when using the SWD port.

It works only with the USB or UART ports. You can try using one of these ports.

View solution in original post

5 REPLIES 5
Remi QUINTIN
ST Employee

​There is no isssue except the fact that the read of the FUS version is not implemented when using the SWD port.

It works only with the USB or UART ports. You can try using one of these ports.

I understand.

Unfortunate, its a custom board with either or those interfaces available.

Any suggestion for flash sequence for SWD-only boards?

Just to try all FUS versions?

Maybe we can read the version from FUS flash address?

Thanks in advance

Remi QUINTIN
ST Employee

​You can use the batch file I created for my own usage. Just adapt the paths to your environment.

Thanks.

So basically, its just trying FUS version hoping it works.

Remi QUINTIN
ST Employee

​You can do what you want.

Just uncomment the sections you need.