Skip to content
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

STM32WBA52 (Revision ID: Rev B) can't run BLE demos successfully. bt_settings: settings_subsys_init failed (err -33)[0m Bluetooth init failed (err -33) #76311

Closed
LucienKUANG-vip opened this issue Jul 26, 2024 · 6 comments
Assignees
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug

Comments

@LucienKUANG-vip
Copy link

LucienKUANG-vip commented Jul 26, 2024

STM32WBA52 (Revision ID: Rev B) can't run BLE demos successfully. bt_settings: settings_subsys_init failed (err -33)�[0m Bluetooth init failed (err -33)

Describe the bug

Using STM32WBA52 chip cut2.0 version chip (Revision ID: Rev B) to develop my products. I want to use zephyr system and need to support BLE features.

When I was testing the basic Bluetooth function, I found that the BLE features of this version(cut 2.0) of the chip could not be successfully run in the current project, no matter which version of LL stack library file I used.

The same example (zephyrproject\zephyr\samples\bluetooth) can run normally when I use the Cut1.0 chip.

To Reproduce

  1. cd /c/Users/usr name/zephyrproject/zephyr
  2. west update
  3. west blobs fetch stm32
    Fetching blob stm32: C:\Users\lucien\zephyrproject\modules\hal\stm32\zephyr\blobs\stm32wba\lib\LinkLayer_BLE_Full_lib.a
    Fetching blob stm32: C:\Users\lucien\zephyrproject\modules\hal\stm32\zephyr\blobs\stm32wba\lib\stm32wba_ble_stack_llo.a
  4. cd /c/Users/usr name/zephyrproject/zephyr/samples/bluetooth/peripheral
  5. west build -b nucleo_wba52cg ./

[231/231] Linking C executable zephyr\zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 394112 B 1 MB 37.59%
RAM: 61329 B 128 KB 46.79%
SRAM6: 0 GB 16 KB 0.00%
IDT_LIST: 0 GB 32 KB 0.00%
Generating files from C:/Users/lucien/zephyrproject/zephyr/samples/bluetooth/peripheral/build/zephyr/zephyr.elf for board: nucleo_wba52cg

  1. west flash
  2. Open the serial port assistant to view the log

Logs and console output

*** Booting Zephyr OS build v3.7.0-rc3-102-g099209b7d563 ***
[00:00:00.000,000] �[1;31m `<err>` bt_settings: settings_subsys_init failed (err -33)�[0m
Bluetooth init failed (err -33)
@LucienKUANG-vip LucienKUANG-vip added the bug The issue is a bug, or the PR is fixing a bug label Jul 26, 2024
Copy link

Hi @LucienKUANG-vip! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

@FRASTM FRASTM added the platform: STM32 ST Micro STM32 label Jul 26, 2024
@FRASTM
Copy link
Collaborator

FRASTM commented Jul 26, 2024

asking @asm5878 if he has any idea

@piotrParf
Copy link

probably issue is connected. #75318

@LucienKUANG-vip
Copy link
Author

probably issue is connected. #75318

probably issue is connected. #75318

They are different.

@jhedberg jhedberg added the priority: low Low impact/importance bug label Jul 30, 2024
@asm5878
Copy link
Collaborator

asm5878 commented Aug 2, 2024

Could you please let us know the details of your board, please?
I am not aware of an RF board (MB1863) with STM32WBA52 cut 2.0

@LucienKUANG-vip
Copy link
Author

Could you please let us know the details of your board, please? I am not aware of an RF board (MB1863) with STM32WBA52 cut 2.0

Hello
This issue has been solved and the board works normally now. The problem was caused by soldering a STM32WBA52CEU6(512K Flash)instead of a STM32WBA52CGU6 when replacing the cut2.0 chip on the RF board (MB1863).
Thank you for your information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

6 participants