-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
ESP32-S3 crashing with the examples #649
Comments
Okay, I finally figured it out. |
Thanks to @JanB97 for posting this. I experienced this as well and downgrading the board to 2.x solved it for me. @h2zero, just to add more data for this: Using "esp32" board library version 3.0.0-rc1, the "ESP32S3 Dev Module" board, and the following test code in Arduino IDE version 2.3.2: #include <NimBLEDevice.h>
void setup() {
Serial.begin(115200);
delay(1000);
Serial.println("Begin setup...");
NimBLEDevice::init("");
// Delaying here just to allow time to reset/boot device during upload
delay(10000);
NimBLEScan* pScan = NimBLEDevice::getScan();
Serial.println("Going to start scanning...");
pScan->start(5, false); // crash happens here
Serial.println("esp32 3.0.0-rc will never get here.");
}
void loop() {
} I see the following output:
Once I downgraded esp32 from 3.0.0-rc to 2.0.16 the test code worked fine. |
Hello there, unfortunetely I need some help.
I had a already somewhat working programm I made last year.
I decided to finally pick the programm up again, opened the INO, changed just the BLEDevice name aaaaand my programm crashed the esp32 after flashing.
I then used a new (never flashed) esp32 and put the server example on it and it crashed again.
I am not really sure whats happening here, the Nimble Version is 1.4.1, also tried older ones.
Arduino IDE is version 2.3.2, I will post the log here if anyone would be so kind a help me figure this out.
I also tried the older BLE implementation, that seems to work (Neil Kolban), but I would like to use nimble to use my existing work.
The crash seems to happen on BLEDevice::startAdvertising();
The text was updated successfully, but these errors were encountered: