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 12:27] – [Firmware upgrade services] darronboards:wb15 [2024/08/15 02:24] (current) – [Demo firmware] darron
Line 104: 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 114: 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 141: 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==