2021-09-07 02:34 AM
Saludos!
Im new to STM32W series.
With two P-NUCLEO-WB55 boards on my table im trying to run the BLE_CableReplacement example.
It doesnt work out of the box so i opened the readme.txt
@par How to use it ?
This application requires having the stm32wb5x_BLE_Stack_full_fw.bin binary flashed on the Wireless Coprocessor.
If it is not the case, you need to use STM32CubeProgrammer to load the appropriate binary.
All available binaries are located under /Projects/STM32_Copro_Wireless_Binaries directory.
Refer to UM2237 to learn how to use/install STM32CubeProgrammer.
Refer to /Projects/STM32_Copro_Wireless_Binaries/ReleaseNote.html for the detailed procedure to change the Wireless Coprocessor binary.
I found the binaries already
But as i try to follow the release note instructions i get stuck in STEP3
There is no "Start FUS" button anywhere, am i doing the raindance wrong?
Also if i try to "firmware upgrade" anyway is asking me for the start flash addr, thats not in any STEP
Solved! Go to Solution.
2021-09-07 02:46 AM
okay i found this video
STM32WB Getting Started Series: Part 9, Stack Loading
https://www.youtube.com/watch?v=wheGvdXsi4o
Im going to try and use the addr 0x080CB000 seen in the video
meeeeeeeeeec, warning, but it worked? logs:
12:06:19 : FUS state is FUS_IDLE
12:06:19 : FUS status is FUS_NO_ERROR
12:06:22 : Old Firmware delete ...
12:06:22 : Deleting firmware ...
12:06:22 : Firmware delete finished
12:06:22 : FUS state is FUS_SERVICE_ONGOING
12:06:22 : FUS status is FUS_IMAGE_NOT_FOUND
12:06:25 : FUS state is FUS_IDLE
12:06:25 : FUS status is FUS_NO_ERROR
12:06:27 : Download Stack/FUS image at address 0x80cb000 ...
12:06:27 : Memory Programming ...
12:06:27 : Opening and parsing file: stm32wb5x_BLE_Stack_full_fw.bin
12:06:27 : File : stm32wb5x_BLE_Stack_full_fw.bin
12:06:27 : Size : 170804 Bytes
12:06:27 : Address : 0x080CB000
12:06:27 : Erasing memory corresponding to segment 0:
12:06:27 : Erasing internal memory sectors [203 244]
12:06:28 : erasing sector 0203 @: 0x080cb000 done
12:06:28 : erasing sector 0204 @: 0x080cc000 done
12:06:28 : erasing sector 0205 @: 0x080cd000 done
12:06:28 : erasing sector 0206 @: 0x080ce000 done
12:06:28 : erasing sector 0207 @: 0x080cf000 done
12:06:28 : erasing sector 0208 @: 0x080d0000 done
12:06:28 : erasing sector 0209 @: 0x080d1000 done
12:06:28 : erasing sector 0210 @: 0x080d2000 done
12:06:28 : erasing sector 0211 @: 0x080d3000 done
12:06:28 : erasing sector 0212 @: 0x080d4000 done
12:06:28 : erasing sector 0213 @: 0x080d5000 done
12:06:28 : erasing sector 0214 @: 0x080d6000 done
12:06:28 : erasing sector 0215 @: 0x080d7000 done
12:06:28 : erasing sector 0216 @: 0x080d8000 done
12:06:28 : erasing sector 0217 @: 0x080d9000 done
12:06:28 : erasing sector 0218 @: 0x080da000 done
12:06:28 : erasing sector 0219 @: 0x080db000 done
12:06:28 : erasing sector 0220 @: 0x080dc000 done
12:06:28 : erasing sector 0221 @: 0x080dd000 done
12:06:28 : erasing sector 0222 @: 0x080de000 done
12:06:28 : erasing sector 0223 @: 0x080df000 done
12:06:28 : erasing sector 0224 @: 0x080e0000 done
12:06:28 : erasing sector 0225 @: 0x080e1000 done
12:06:28 : erasing sector 0226 @: 0x080e2000 done
12:06:28 : erasing sector 0227 @: 0x080e3000 done
12:06:28 : erasing sector 0228 @: 0x080e4000 done
12:06:28 : erasing sector 0229 @: 0x080e5000 done
12:06:28 : erasing sector 0230 @: 0x080e6000 done
12:06:28 : erasing sector 0231 @: 0x080e7000 done
12:06:28 : erasing sector 0232 @: 0x080e8000 done
12:06:28 : erasing sector 0233 @: 0x080e9000 done
12:06:28 : erasing sector 0234 @: 0x080ea000 done
12:06:28 : erasing sector 0235 @: 0x080eb000 done
12:06:28 : erasing sector 0236 @: 0x080ec000 done
12:06:28 : erasing sector 0237 @: 0x080ed000 done
12:06:28 : erasing sector 0238 @: 0x080ee000 done
12:06:29 : erasing sector 0239 @: 0x080ef000 done
12:06:29 : erasing sector 0240 @: 0x080f0000 done
12:06:29 : erasing sector 0241 @: 0x080f1000 done
12:06:29 : erasing sector 0242 @: 0x080f2000 done
12:06:29 : erasing sector 0243 @: 0x080f3000 done
12:06:29 : erasing sector 0244 @: 0x080f4000 done
12:06:29 : Download in Progress:
12:06:31 : File download complete
12:06:31 : Time elapsed during download operation: 00:00:03.661
12:06:31 : Verifying ...
12:06:31 : Read progress:
12:06:32 : Download verified successfully
12:06:32 : FUS state is FUS_IDLE
12:06:32 : FUS status is FUS_NO_ERROR
12:06:34 : Firmware Upgrade process started ...
12:06:34 : Updating firmware ...
12:06:34 : Waiting for firmware upgrade end
12:06:35 : FUS state is WIRELESS_STACK_UPGRADE_ONGOING
12:06:35 : FUS status is FUS_IMAGE_NOT_FOUND
12:06:37 : Warning: Firmware upgrade Error!
2021-09-07 02:46 AM
okay i found this video
STM32WB Getting Started Series: Part 9, Stack Loading
https://www.youtube.com/watch?v=wheGvdXsi4o
Im going to try and use the addr 0x080CB000 seen in the video
meeeeeeeeeec, warning, but it worked? logs:
12:06:19 : FUS state is FUS_IDLE
12:06:19 : FUS status is FUS_NO_ERROR
12:06:22 : Old Firmware delete ...
12:06:22 : Deleting firmware ...
12:06:22 : Firmware delete finished
12:06:22 : FUS state is FUS_SERVICE_ONGOING
12:06:22 : FUS status is FUS_IMAGE_NOT_FOUND
12:06:25 : FUS state is FUS_IDLE
12:06:25 : FUS status is FUS_NO_ERROR
12:06:27 : Download Stack/FUS image at address 0x80cb000 ...
12:06:27 : Memory Programming ...
12:06:27 : Opening and parsing file: stm32wb5x_BLE_Stack_full_fw.bin
12:06:27 : File : stm32wb5x_BLE_Stack_full_fw.bin
12:06:27 : Size : 170804 Bytes
12:06:27 : Address : 0x080CB000
12:06:27 : Erasing memory corresponding to segment 0:
12:06:27 : Erasing internal memory sectors [203 244]
12:06:28 : erasing sector 0203 @: 0x080cb000 done
12:06:28 : erasing sector 0204 @: 0x080cc000 done
12:06:28 : erasing sector 0205 @: 0x080cd000 done
12:06:28 : erasing sector 0206 @: 0x080ce000 done
12:06:28 : erasing sector 0207 @: 0x080cf000 done
12:06:28 : erasing sector 0208 @: 0x080d0000 done
12:06:28 : erasing sector 0209 @: 0x080d1000 done
12:06:28 : erasing sector 0210 @: 0x080d2000 done
12:06:28 : erasing sector 0211 @: 0x080d3000 done
12:06:28 : erasing sector 0212 @: 0x080d4000 done
12:06:28 : erasing sector 0213 @: 0x080d5000 done
12:06:28 : erasing sector 0214 @: 0x080d6000 done
12:06:28 : erasing sector 0215 @: 0x080d7000 done
12:06:28 : erasing sector 0216 @: 0x080d8000 done
12:06:28 : erasing sector 0217 @: 0x080d9000 done
12:06:28 : erasing sector 0218 @: 0x080da000 done
12:06:28 : erasing sector 0219 @: 0x080db000 done
12:06:28 : erasing sector 0220 @: 0x080dc000 done
12:06:28 : erasing sector 0221 @: 0x080dd000 done
12:06:28 : erasing sector 0222 @: 0x080de000 done
12:06:28 : erasing sector 0223 @: 0x080df000 done
12:06:28 : erasing sector 0224 @: 0x080e0000 done
12:06:28 : erasing sector 0225 @: 0x080e1000 done
12:06:28 : erasing sector 0226 @: 0x080e2000 done
12:06:28 : erasing sector 0227 @: 0x080e3000 done
12:06:28 : erasing sector 0228 @: 0x080e4000 done
12:06:28 : erasing sector 0229 @: 0x080e5000 done
12:06:28 : erasing sector 0230 @: 0x080e6000 done
12:06:28 : erasing sector 0231 @: 0x080e7000 done
12:06:28 : erasing sector 0232 @: 0x080e8000 done
12:06:28 : erasing sector 0233 @: 0x080e9000 done
12:06:28 : erasing sector 0234 @: 0x080ea000 done
12:06:28 : erasing sector 0235 @: 0x080eb000 done
12:06:28 : erasing sector 0236 @: 0x080ec000 done
12:06:28 : erasing sector 0237 @: 0x080ed000 done
12:06:28 : erasing sector 0238 @: 0x080ee000 done
12:06:29 : erasing sector 0239 @: 0x080ef000 done
12:06:29 : erasing sector 0240 @: 0x080f0000 done
12:06:29 : erasing sector 0241 @: 0x080f1000 done
12:06:29 : erasing sector 0242 @: 0x080f2000 done
12:06:29 : erasing sector 0243 @: 0x080f3000 done
12:06:29 : erasing sector 0244 @: 0x080f4000 done
12:06:29 : Download in Progress:
12:06:31 : File download complete
12:06:31 : Time elapsed during download operation: 00:00:03.661
12:06:31 : Verifying ...
12:06:31 : Read progress:
12:06:32 : Download verified successfully
12:06:32 : FUS state is FUS_IDLE
12:06:32 : FUS status is FUS_NO_ERROR
12:06:34 : Firmware Upgrade process started ...
12:06:34 : Updating firmware ...
12:06:34 : Waiting for firmware upgrade end
12:06:35 : FUS state is WIRELESS_STACK_UPGRADE_ONGOING
12:06:35 : FUS status is FUS_IMAGE_NOT_FOUND
12:06:37 : Warning: Firmware upgrade Error!