Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:wb15 [2024/08/13 11:11] – [Upgrade procedure] darronboards:wb15 [2024/08/15 02:24] (current) – [Demo firmware] darron
Line 49: Line 49:
 FUS is used to install the software stack on the co-pro. FUS is used to install the software stack on the co-pro.
  
-The STM32CubeProgrammer desktop application provides a FUS page where the you can `Read FUS infos'.+Open the STM32CubeProgrammer desktop application and 
 +navigate to the Firmware Upgrade Services page
 + 
 +Click `Start FUS' to run the services on the target board and afterward `Read FUS infos'.
  
 The factory default `infos' are as follows. The factory default `infos' are as follows.
Line 60: Line 63:
 |FUS Operator | v3.1.0| |FUS Operator | v3.1.0|
  
-If the FUS version reads all zeros you must `Start FUS' and try again. 
  
 NB This process appears to erase the user firmware on the device to operate. NB This process appears to erase the user firmware on the device to operate.
Line 102: Line 104:
  
 <code> <code>
-mkdir -p /mnt/c/ST +git clone https://github.com/STMicroelectronics/STM32CubeWB
-cd /mnt/c/ST +
-wget "https://github.com/STMicroelectronics/STM32CubeWB/archive/refs/heads/master.zip" +
-unzip STM32CubeWB-master.zip+
 </code> </code>
  
Line 112: Line 111:
 Browse to  Browse to 
 <code> <code>
-/mnt/c/ST/STM32CubeWB/tree/master/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB1x+STM32CubeWB/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB1x
 </code> </code>
  
 Select Select
 +
 <code> <code>
 stm32wb1x_BLE_Stack_full_fw.bin stm32wb1x_BLE_Stack_full_fw.bin
 </code> </code>
  
-It should say STACKV 1.18.0+It should tell you the STACKV version and code and 
 +pre-enter the firmware start address.
  
-Enter start address from table for V1.18.0 +Start addresses from the tables for stm32wb1x_BLE_Stack_full_fw.bin 
-<code> + 
-0x08021000 +^Version^Address^ 
-</code>+|V1.18.0|0x08021000| 
 +|V1.20.0|0x08022000|
  
 Now press firmware upgrade and after start the wireless firmware. Now press firmware upgrade and after start the wireless firmware.
 +
 +After the upgrade, restart FUS and re-read infos
 +
 +^Info^Value^
 +|FUS State    | FUS_IDLE|
 +|FUS Status   | FUS_NO_ERROR|
 +|FUS Version  | v1.2.2.0|
 +|Stack Version| v1.20.0.2|
 +|FUS Operator | v3.1.0|
  
 ===Demo firmware=== ===Demo firmware===
  
-To program the device with a user application use the command line utility not the desktop app.+To program the device with a user application you can use the command line utility and not only the desktop app.
  
 A few demos exist for the the Android app named "ST BLE Sensor" A few demos exist for the the Android app named "ST BLE Sensor"
Line 139: Line 150:
 ==Program== ==Program==
  
-A pre-built hex file can be programmed, else the application built from a [[https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB_BLE_STM32CubeMX|guide]] for STM32CubeMX.+A pre-built hex file can be programmed, else the application can be built using this [[https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB_BLE_STM32CubeMX|guide]] for STM32CubeMX. 
 + 
 +Browse to 
 + 
 +<code> 
 +Projects\NUCLEO-WB15CC\Applications\BLE\BLE_p2pServer\Binary 
 +</code>
  
 +Execute
 <code> <code>
-"/mnt/c/Program Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI.exe" -c port=SWD reset=HWrst -q -w BLE_p2pServer_reference.hex -v -hardRst+STM32_Programmer_CLI.exe" -c port=SWD reset=HWrst -q -w BLE_p2pServer_reference.hex -v -hardRst
 </code> </code>
  
-The hex file can be found in the Applications directory for the board along with the blobs downloaded above. 
  
 ==Console== ==Console==