-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zephyr 3.7 RC2 BLE on STM32 Nucleo WB55 does not work #75318
Comments
Hi @piotrParf, have you seen? zephyr/boards/st/nucleo_wb55rg/doc/nucleo_wb55rg.rst Lines 194 to 196 in 6700a15
|
@ajarmouni-st |
^^@asm5878 |
^^ @jhedberg |
After the update of BLE HCI API drivers we have realized we have an issue in management of TX/RX HCI commands. Investigation will continue to clearly analyze the root cause. |
@asm5878 I took a quick look at the driver code, and it seems like the core issue is likely that the driver attempts to send HCI commands inside |
@asm5878 the exact failure is probably simply that the driver hasn't yet set its |
@asm5878 @erwango are you able to submit a fix based on my feedback? The fix itself should be fairly quick & simple but at least I'm not able create it as I'm on vacation this and next week. For the fix to make it to 3.7 it needs to be submitted latest today (two days review time and rc3 is coming on Friday). |
Hello @jhedberg, Thanks for your precious feedback |
@asm5878 do you have a fix ready ? |
@FRASTM we have a potential fix. Unlocking the regression but with warning/errors. |
Dear All, Status update: We had some regressions due to Zephyr BLE updates. Connected Attached you can find a patch unlocking the BLE behavior (thanks @JoeGitST ). M0 binary FW tested is: |
Implementing HCI setup function to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
Enabling BT_HCI_SET_PUBLIC_ADDR for STM32WB55 to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
Implementing HCI setup function to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
Enabling BT_HCI_SETUP for STM32WB55 to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
Enabling BT_HCI_SETUP for STM32WB55 to have a correct and proper initialization procedure to fix #75318 issue Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
@erwango why did you reopen this? |
E.g. I don't think the backport requires this to be open, rather it's sufficient that there is evidence (i.e. this original issue) that there was a bug that needed fixing. |
Oh, ok. I'll close it then. Thanks |
Implementing HCI setup function to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com> (cherry picked from commit 7ca2072)
Enabling BT_HCI_SETUP for STM32WB55 to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com> (cherry picked from commit 4fc7724)
Implementing HCI setup function to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue (cherry picked from commit 7ca2072) Original-Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com> GitOrigin-RevId: 7ca2072 Cr-Build-Id: 8740450565536499009 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8740450565536499009 Change-Id: I4c3a74a8b336f136c54048bd08d58da665c0962f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5762726 Tested-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Enabling BT_HCI_SETUP for STM32WB55 to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue (cherry picked from commit 4fc7724) Original-Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com> GitOrigin-RevId: 4fc7724 Cr-Build-Id: 8740450565536499009 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8740450565536499009 Change-Id: Ie3525142aab6a256efb219867b61528cd71988d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5762727 Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org>
Describe the bug
I am using Zephyr 3.7 RC2 but the issue is vissible also with 3.7 RC1.
I am trying if everything still works for the STM32WB55 device. I am using STM32 Nucleo WB55.
I checked radio firmware stm32wb5x_BLE_HCILayer_fw.bin in version 1.18.0 from STM32WB Copro Wireless Binaries.
The issue is visible with the radio version 1.19.1 and also with the firmware file stm32wb5x_BLE_HCILayer_extended_fw.bin.
Demos with BLE do not work on STM32 Nucleo WB55. I have also my own application but also demo iBeacon does not work.
The issue seems coming from the bt_ipm_ble_init function.
It was working with Zephyr 3.4 when I last checked.
To Reproduce
Have radio firmware loaded with radio fw.
Build the "zephyr/samples/bluetooth/ibeacon" demo for -DBOARD=nucleo_wb55rg flash and run.
Expected behavior
Working demo and visible iBeacon node on BLE scanner.
Impact
BLE on STM32 Nucleo WB55 does not work.
Logs and console output
When I read the log I got the below report:
Environment (please complete the following information):
Linux Debian 11
CMake version: 3.21.0
Zephyr version: 3.7.0-rc2
west 1.2.0
host-tools: zephyr 0.16.1
toolchain: zephyr 0.16.1
The text was updated successfully, but these errors were encountered: