.. | |||
STM32Cube_FW | 3 years ago | ||
TARGET_STM32WB50xG | 3 years ago | ||
TARGET_STM32WB55xG | 3 years ago | ||
TARGET_STM32WB5MxG | 3 years ago | ||
CMakeLists.txt | 3 years ago | ||
PeripheralNames.h | 3 years ago | ||
README.md | 3 years ago | ||
analogin_device.c | 4 years ago | ||
cmsis.h | 5 years ago | ||
flash_api.c | 3 years ago | ||
flash_data.h | 4 years ago | ||
gpio_irq_device.c | 4 years ago | ||
gpio_irq_device.h | 4 years ago | ||
i2c_device.h | 4 years ago | ||
objects.h | 3 years ago | ||
pin_device.h | 4 years ago | ||
pwmout_device.c | 4 years ago | ||
pwmout_device.h | 4 years ago | ||
serial_device.c | 4 years ago | ||
spi_api.c | 4 years ago | ||
spi_device.h | 3 years ago | ||
stm32wb_ble_update.jpg | 4 years ago | ||
us_ticker_data.h | 4 years ago | ||
wb_sleep.c | 3 years ago |
This ST MCU family is dual-core : based on an Arm Cortex-M4 core and an Arm Cortex-M0+ core.
Total FLASH is 1MB, but note that it is shared by M4 and M0 cores.
RAM: 256 KB
SRAM1 is dedicated for M4 core, and then for mbed-os applications.
SRAM2 is dedicated for M0 core and inter CPU communication, and then can not be addressed.
BLE feature is based on Cordio stack and API (above HCI) implementation.
Note that the BLE controller firmware running on the cortex-M0 is the same as in STcubeFW solution
Official ST Application Note AN5289: Building wireless applications with STM32WB Series microcontrollers : https://www.st.com/resource/en/application_note/dm00598033-building-wireless-applications-with-stm32wb-series-microcontrollers-stmicroelectronics.pdf
trace group: BLE_WB
example:
[INFO][BLE_WB]: WIRELESS COPROCESSOR FW VERSION ID = 1.8.0 [INFO][BLE_WB]: WIRELESS COPROCESSOR FW STACK TYPE = 1 [DBG ][BLE_WB]: mbox_write type:1, len:3 [INFO][BLE_WB]: TX>> BLE CMD [DBG ][BLE_WB]: Type 0x1 [DBG ][BLE_WB]: Cmd 0xc03 [DBG ][BLE_WB]: Len 0D]
Official ST Application Note AN5185: ST firmware upgrade services for STM32WB Series : http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/DM00513965.pdf
Latest BLE FW : https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_BLE_Stack_full_fw.bin
Release Note and complete flashing procedure: https://htmlpreview.github.io/?https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/Release_Notes.html
https://www.st.com/en/development-tools/stm32cubeprog.html
FLASHPATH="C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin" export PATH=$FLASHPATH:$PATH
$ STM32_Programmer_CLI.exe -c port=usb1 -fwdelete ... FUS state is FUS_IDLE FUS status is FUS_NO_ERROR Deleting firmware ... Firmware delete finished fwdelete command execution finished
$ STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1 ... Reading 32-bit memory content Size : 4 Bytes Address: : 0x20030030 0x20030030 : 00050300
$ ./STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_FUS_fw_1_0_2.bin 0x080EC000 firstinstall=0
$ STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_FUS_fw.bin 0x080EC000 firstinstall=0
$ STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1 Reading 32-bit memory content Size : 4 Bytes Address: : 0x20030030 0x20030030 : 01010000
$ STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_BLE_Stack_full_fw.bin 0x080CB000 firstinstall=1 ... Download firmware image at address 0x80cb000 ... ... File download complete ... Firmware Upgrade Success