- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using Murata Type 1Dx module, which uses Broadcom BCM4343W chipset.
I am trying to bring-up the Bluetooth module & using WICED SDK 3.5.2
My host MCU platform is ARM Cortex M4. I am using WICED-SDK-3.5.2\apps\snip\bluetooth\ble_hello_sensor application.
I could see read/write operations happening through UART port.
On Console I see below messages
00000000 GKI_create_task func=0xfa1d id=1 name=BTU stack=0x0 stackSize=6144
00000000 GKI_create_task func=0x10e91 id=0 name=HCISU stack=0x0 stackSize=4096
00096110 GKI_exception(): Task State Table
00096110 GKI_exception 65524 getbuf: out of buffers
00100110 GKI_exception(): Task State Table
00100110 GKI_exception 65524 getbuf: out of buffers
00104110 GKI_exception(): Task State Table
00104110 GKI_exception 65524 getbuf: out of buffers
00108110 GKI_exception(): Task State Table
00108110 GKI_exception 65524 getbuf: out of buffers
00112110 GKI_exception(): Task State Table
00112110 GKI_exception 65524 getbuf: out of buffers
00116110 GKI_exception(): Task State Table
00116110 GKI_exception 65524 getbuf: out of buffers
00120110 GKI_exception(): Task State Table
00120110 GKI_exception 65524 getbuf: out of buffers
00124110 GKI_exception(): Task State Table
00124110 GKI_exception 65524 getbuf: out of buffers
Program control never reaches in bt/ble link management callback function. Whereas the "Out of buffers" message keeps on coming. I also tried increasing buffer count in wiced_bt_cfg_buf_pools (defined in file WICED-SDK-3.5.2\apps\snip\bluetooth\ble_hello_sensor\wiced_bt_cfg.c). But this did not help.
How can I solve this "getbuf: out of buffers" issue?
It will be very helpful if someone can provide pointers on this.
Thanks & Regards,
Pratik.
Solved! Go to Solution.
- Tags:
- gki_exception
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Depends on the profiles enabled.
But in general currently if this is BLE only then need at least 96KB of SRAM for reliable operation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which MCU are you using?
Your MCU doesn't have enough RAM to run the Bluetooth stack
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How much memory is required to run Bluetooth stack?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Depends on the profiles enabled.
But in general currently if this is BLE only then need at least 96KB of SRAM for reliable operation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
96K SRAM requirement is quite huge.
If what I need is to scan beacons (as observer) what's such memory requirement and would you please share a configuration file for such case ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nsankar wrote:
Depends on the profiles enabled.
But in general currently if this is BLE only then need at least 96KB of SRAM for reliable operation
If enable BLE only will take at least 96KB SRAM for reliable operation,
the wifi+BT platforms with 128KB SRAM are useless because it's likely to
run out of memory after enable both BT and WIFI stacks.
Can you double check if it really need *96KB* SRAM for BLE only?
Also, do you have plan to reduce the memory usage for BLE stack?