2020-03-09 04:32 AM
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
Solved! Go to Solution.
2020-03-09 05:24 AM
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.
2020-03-09 05:24 AM
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.
2020-03-09 05:33 AM
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
2020-03-09 05:44 AM
2020-03-09 06:31 AM
Thanks.
So basically, its just trying FUS version hoping it works.
2020-03-09 06:32 AM
You can do what you want.
Just uncomment the sections you need.