cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB5MMG BLE_Ota after NVIC_SystemReset stuck in SHCI_C2_BLE_Init

Leimen1007
Associate

Hello,

I face same issue.

same as

https://community.st.com/t5/stm32-mcus-wireless/shci-c2-ble-init-never-returns-in-ble-ota/td-p/724995

https://community.st.com/t5/stm32-mcus-wireless/stm32wb-cpu1-stuck-waiting-cpu2-at-init/td-p/80505

 

I am use the BLE_Ota on STM32WB5MM-DK,  

set CFG_LED_SUPPORTED = 0,  CFG_BUTTON_SUPPORTED = 0
I tried to Commenting these lines as last post same.

and it's not working.
I still stuck waiting for SHCI_C2_BLE_Init() to finish after APP send Reboot.
On P-NUCLEO-WB55 is working well.
On STM32WB5MM-DK is stuck. (but erase user application from 0x8007000, only BLE_Ota can do FUOTA by APP without Reboot)

Any help from anyone would be greatly appreciated.

Thanks,

Leimen

 

Debug log as follow:

----------------------------------------

Wireless Firmware version 1.13.2
Wireless Firmware build 2
FUS version 1.2.0
>>== SHCI_SUB_EVT_CODE_READY

>>== WIRELESS_FW_RUNNING
>>== DBGMCU_GetRevisionID= 2003

>>== DBGMCU_GetDeviceID= 495

Success: SHCI_C2_BLE_Init command

==>> Start Ble_Hci_Gap_Gatt_Init function
Success: hci_reset command
Success: aci_hal_write_config_data command - CONFIG_DATA_PUBADDR_OFFSET
Public Bluetooth 
Address: xx:xx:xx:xx:xx:xx
Success: aci_hal_write_config_data command - CONFIG_DATA_IR_OFFSET
Success: aci_hal_write_config_data command - CONFIG_DATA_ER_OFFSET
Success: aci_hal_set_tx_power_level command
Success: aci_gatt_init command
Success: aci_gap_init command
Success: hci_le_set_default_phy command
Success: aci_gap_set_io_capability command
Success: aci_gap_set_authentication_requirement command
Success: aci_gap_configure_whitelist command
==>> End Ble_Hci_Gap_Gatt_Init function

Success: aci_hal_set_radio_activity_mask command

==>> aci_gap_set_discoverable - Success
==>> Success 
Start Fast Advertising


>>== HCI_LE_CONNECTION_COMPLETE_SUBEVT_CODE - Connection handle: 0x801
- Connection established with Central: @:xx:xx:xx:xx:xx:xx
- Connection Interval: 30.00 ms
- Connection latency: 0
- Supervision Timeout: 5000 ms

>>== HCI_LE_CONNECTION_UPDATE_COMPLETE_SUBEVT_CODE
- Connection Interval: 7.50 ms
- Connection latency: 0
- Supervision Timeout: 5000 ms

>>== HCI_LE_CONNECTION_UPDATE_COMPLETE_SUBEVT_CODE
- Connection Interval: 30.00 ms
- Connection latency: 0
- Supervision Timeout: 5000 ms

-- P2P APPLICATION SERVER : NOTIFICATION ENABLED

-- GATT : REBO?


Wireless Firmware version 1.13.2
Wireless Firmware build 2
FUS version 1.2.0
>>== SHCI_SUB_EVT_CODE_READY

>>== WIRELESS_FW_RUNNING
>>== DBGMCU_GetRevisionID= 2003

>>== DBGMCU_GetDeviceID= 495

Success: SHCI_C2_BLE_Init command

==>> Start Ble_Hci_Gap_Gatt_Init function
Success: hci_re
set command
Success: aci_hal_write_config_data command - CONFIG_DATA_PUBADDR_OFFSET
Public Bluetooth Address: xx:xx:xx:xx:xx:xx
Success: aci_hal_write_config_data command - CONFIG_DATA_IR_OFFSET
Success: aci_hal_write_config_data command - CONFIG_DATA_ER_OFFSET
Success: aci_hal_set_tx_power_level command
Success: aci_gatt_init command
Success: aci_ 
gap_init command
Success: hci_le_set_default_phy command
Success: aci_gap_set_io_capability command
Success: aci_gap_set_authentication_requirement command
Success: aci_gap_configure_whitelist command
==>> End Ble_Hci_Gap_Gatt_Init function

Success: aci_hal_set_radio_activity_mask command

==>> aci_gap_set_discoverable - Success
==>> Success: Start Fast Advertising

2 REPLIES 2
Leimen1007
Associate

append

1.png

 

 

 

P-NUCLEO-WB55

2.png


STM32WB5MM-DK 

1.png