Open evrardjp opened 1 year ago
As I am very new to this, and I am very close to John Snow in this topics (I know nothing), I am naturally inclined to say it might be a memory issue (malloc buffer fail
, expected to init 16 rx buffer, actual is 0
) . If you need extra logs, please feel free to contact me.
How can I investigate this further? Any help is welcomed.
I had a look (before and after your comment) and I considered the issues different (that's why I created this one). The problem looks the same, but the trace is different. I am new, so maybe it IS the same... any help on how to drill further is welcomed.
I've discovered that if I use wifi + my ili9341 display it's fine, but I run out of RAM if I also add in the bluetooth_proxy
and it boot loops trying to initialize wifi. I wonder if either of you are hitting an out of RAM issue, too.
Might be a RAM issue, I don't know, I am lost at the debugging bit ;) Moved to another esp32 board without issues, so I am leaving this open-ed until I can debug this further, but FYI my priorities have changed.
Might be a RAM issue, I don't know, I am lost at the debugging bit ;) Moved to another esp32 board without issues, so I am leaving this open-ed until I can debug this further, but FYI my priorities have changed.
Should you decide to come back to it, I discovered it was a RAM issue by connecting the device over USB, asking ESPHome for logs over USB, and clicking "Reset Device". This enabled me to the logs right from startup, allowing me to see where it was Wifi initialization was complaining about RAM.
I don't have this RAM issue when I use the much lower resolution 2.42" OLED (128x64) SSD1306/1309 - I can use the bluetooth proxy on those devices that are otherwise doing about the same work (maybe fewer font
s). But the touchscreen and increased resolution of the ili9341 is nice.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
If I am adding esp32_ble_tracker on my config (regardless of the scan_parameters), the wifi doesn't connect.
Which version of ESPHome has the issue?
2022.9.2 (running from docker image sha256:791c8f1475d64389332702d50205175ade9b55a6a562ad2e81d)
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
Not using HA
What platform are you using?
ESP32
Board
m5stick-c
Component causing the issue
unknown. maybe esp32_ble_tracker, maybe wifi, maybe other
Example YAML snippet
Anything in the logs that might be useful for us?
In a nutshell:
See also log here: https://gist.github.com/evrardjp/41102f19964d507c45cd5cec85d2c976 I am curious on why esp-idf is logged here, I never asked for esp-idf, but I am new to all of this :)
Additional information
No response