2020-10-15 01:48 AM
I got some STM32WB55CG samples from st office and the date code is 034. The read out FUS version is 1.1.0. Has the default firmware been upgraded? So the customer doesn't have to upgrade FUS anymore?
D:\Program Files\STMicroelectronics\stm32cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=SWD mode=HOTPLUG -r32 0x20030030 4 -r32 0x20030024 50
-------------------------------------------------------------------
STM32CubeProgrammer v2.5.0
-------------------------------------------------------------------
ST-LINK SN : 32FF6C063047463341421351
ST-LINK FW : V2J37S7
Board : --
Voltage : 3.23V
SWD freq : 4000 KHz
Connect mode: Hot Plug
Reset mode : Software reset
Device ID : 0x495
Revision ID : Rev Y
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 : 01010100
Reading 32-bit memory content
Size : 52 Bytes
Address: : 0x20030024
0x20030024 : A94656B9 00000001 01010000 01010100
0x20030034 : 00000006 00000000 00000000 00000000
0x20030044 : 00000000 00000000 00658473 0080E126
0x20030054 : 00000496
Solved! Go to Solution.
2020-10-26 09:09 PM
I switched ON the system. When I read FUS state, I got this error (image1). I plugged the power off to the Nucleo board by removing both the USB connectors (ST-Link and user USB), plugged again. This time when I read I get no error. However the green LED does not blink. Yesterday I used the "Firmware Delete" key to delete the BLE stack and programmed it again.
2020-10-27 09:01 AM
At the time you plug the board, the FUS is not running. You need to activate it to get its version. As mentioned in AN5185, you may have to call the FUS_GET_STATE command twice before getting the result. The “READ FUS STATE�? button is issuing this FUS_GET_STATE command. If you press it twice, you will get the information displayed for sure.
Use the programming sequence I exposed above and it should be OK.
2020-10-27 10:05 AM
Thank you so much Remi QUINTIN. I shall do as advised.
2020-11-02 01:39 AM
Hi Remi QUINTIN,
Help needed please. This is driving me crazy. Looks like everything is in order but the sample application is not running. I am trying to program the Nucleo board (not the dongle). I have been able to load V1.1.0.0 FUS. Thereafter to load the RF stack steps followed:
Except reloading the FUS V 1.1.0.0, I tried loading the RF stack and the application program more than once. When I read the FUS status it shows IDLE most times. Is this correct (if RF stack is running FUS must be stopped. Right?)
What am doing wrong in the above steps?
Thank you for your time.
Regards
PS: Should I start a new thread as my above question is not really related to the topic?
2020-11-02 08:58 AM
Did you remove the jumper used to set PHY/BOOT0 to 1? to boot from main flash.
Yes start a new thread if the issue is not solved with this check.
2020-11-02 09:22 PM
Hi Remi QUINTIN,
Thank you very much. You hit the bulls eye!!! Yes I missed the jumper, but then the "run after programming" is ticked, hence did not really bother to check with the jumper setting. Sorry to have disturbed so very often and hope not to trouble you further. Best regards
NPS