Skip to main content
APort
Associate III
March 9, 2020
Solved

FUS version read issue

  • March 9, 2020
  • 3 replies
  • 1262 views

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

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

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

3 replies

Remi QUINTIN
Technical Moderator
March 9, 2020

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

APort
APortAuthor
Associate III
March 9, 2020

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
Technical Moderator
March 9, 2020

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

APort
APortAuthor
Associate III
March 9, 2020

Thanks.

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

Remi QUINTIN
Technical Moderator
March 9, 2020

​You can do what you want.

Just uncomment the sections you need.