cancel
Showing results for 
Search instead for 
Did you mean: 

Inconsistent Coprocessor Flashing Behavior on STM32WB5MMG with Zephyr

Hello, I am currently programming on an STM32WB5MMG microcontroller using Zephyr, and I'm facing an issue with flashing the coprocessor. I am using STM32CubeProgrammer to flash the firmware stm32wb5x_BLE_HCILayer_extended_fw.bin. However, after flashing, the microcontroller gets stuck in Zephyr's bt_enable function, which tries to communicate with the coprocessor. After repeating the flashing process several times, the program sometimes works, but I am unsure why the behavior is inconsistent, even though I am using the exact same procedure. Do you know the cause of this issue, and could you suggest a solution to ensure the flashing procedure works every time?

1 REPLY 1
STTwo-32
ST Employee

Hello @axel_le_programmeur and welcome to the ST Community 

Have you clicked on the "Start Wireless Stack" button after updating the stack. Also, have you installed the .bin file from the STM32CubeWB V1.22.0.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.