Hello,
our project is rather larger.
It includes BT and WiFi and external SPI-RAM.
At this point (after adding a lot of code) it crashes after the bootloader (with Bluetooth included in Firmware).
When removing Bluetooth, everything works as expected.
Our Bluetooth driver code itself is working correctly.
Static internal sram usage of the firmware binary is: dram=70.7% iram=86.5%
Does anyone have inputs on these matters? Any suggestion / hint would be greatly appreciated:
- memory resources short when using bluetooth?
- further analyzation methods?
- ...
BR Timm
Large project crashes when including Bluetooth (memory resources short?)
-
- Posts: 8
- Joined: Mon Nov 30, 2020 10:52 am
Re: Large project crashes when including Bluetooth (memory resources short?)
Have you checked your partition table is suitable for the app with Bluetooth installed?
I've only recently added BLE libraries to my project, and it has pushed the file size over 1MB. I was using the FACTORY/OTA_0/OTA_1 partition table (3x1MB partitions) which caused problems. I can't remember if it was a crash at boot time though.
I've only recently added BLE libraries to my project, and it has pushed the file size over 1MB. I was using the FACTORY/OTA_0/OTA_1 partition table (3x1MB partitions) which caused problems. I can't remember if it was a crash at boot time though.
Re: Large project crashes when including Bluetooth (memory resources short?)
Hi Steve,StevePeake wrote: ↑Tue Mar 16, 2021 1:56 pmHave you checked your partition table is suitable for the app with Bluetooth installed?
thanks for your reply. Yes, I have already increased te app partition size. The firmware image fits in.
It appears to be a problem with ram resources being short.
It also isn't connected to Bluetooth. I removed another module (httpd) and added bluetooth again.
Same behaviour: crashes directly after bootloader.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Large project crashes when including Bluetooth (memory resources short?)
Posting the logs leading up to the crash, the crash dump as well as a backtrace would help.
Who is online
Users browsing this forum: Baidu [Spider] and 136 guests