BLE stack installation
Hello.
I'm using a custom PCB with the STM32WB50 controller. I think I successfully upgraded the FUS from version 0.5.3 to 1.0.2 and finally to 1.1.0 (when I read 0x20030030 I get 01010000). Then I tried to install the BLE light stack as described in the Release Notes of the STM32CubeWB framework. But I'm not sure if this was successful because I get some error messages during fwupgrade.
File download complete
Time elapsed during download operation: 00:00:27.389
RSS_GET_STATE_COMMAND status : 0x0
RSS state : FUS_IDLE
Error : FUS_NO_ERROR
RSS_GET_STATE_COMMAND status : 0x0
Firmware Upgrade process started ...
FIRMWARE_UPGRADE_COMMAND status : 0x0
RSS state : FUS_IDLE
Waiting for firmware upgrade end
checking FUS state ...
Reconnecting...
Reconnected !
Success with Time elapsed during Reconnect: 2066 ms
Response received from device: NACK
Special Command not acknowleged
Reconnecting...
failed to reconnect after reset !
Failing with Time elapsed during Reconnect: 22660 ms
Unable to reconnect. Firmware upgrade finished.
Firmware Upgrade SuccessAt the end it tells me that the upgrade was successful but some lines above I get "failed to reconnect after reset". So, I'm not sure if this was working. I also have seen that after flashing the BLE stack, I don't get the version of FUS from the memory address. Is this the normal behavior?
If I send -fusgetstate two or three times, I suddenly get some positive response. And also the version number of FUS is visible again.
Nevertheless, I tried to make the BLE Beacon example running. What I have seen is that the SHCI related commands are working. So, I get some response from the Cortex M0 coprocessor. But when it comes to the BLE initialization my program gets stuck when "hci_reset" is called. The hci_cmd_resp_release function is never called. Does this mean that the BLE stack is not working correctly?
I also tried to send SHCI_GetWirelessFwInfo from the firmware to get some information about the stack. But the version number for FUS and the wireless stack is 0 (major and minor). What does this mean? Can someone explain this?
Thanks,
Andreas