Skip to content

ESP32s3 reboot when using both blemouse and blekeyboard #79

@lzy035176

Description

@lzy035176

When I begin blekeyboard after ending blemouse,it will report error and reboot
Just like this
`
#include <BleMouse.h>
#include <BleKeyboard.h>
#include <WiFi.h>
#include <Arduino.h>

BleMouse bleMouse;
BleKeyboard bleKeyboard;

void setup()
{
Serial.begin(115200);
Serial.println("Starting BLE work!");
}

void loop()
{
bleKeyboard.begin();
Serial.println("BLE Keyboard Start");
delay(3000);
bleKeyboard.end();
Serial.println("BLE Keyboard End");
delay(3000);
bleMouse.begin();
Serial.println("BLE Mouse Start");
delay(3000);
bleMouse.end();
Serial.println("BLE Mouse End");
delay(3000);
}
`

`Rebooting...
�ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x29 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40376d78
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
Starting BLE work!
BLE Keyboard Start
BLE Keyboard End
BLE Mouse Start
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

Core 0 register dump:
PC : 0x42004356 PS : 0x00060430 A0 : 0x820033c2 A1 : 0x3fcf3cb0
A2 : 0xb7518078 A3 : 0x6cd54305 A4 : 0x3fc9b0ec A5 : 0x00000000
A6 : 0x00000000 A7 : 0x00010000 A8 : 0x803845ec A9 : 0x3fcf3d00
A10 : 0x3fcb5ab0 A11 : 0x3fcb5ab0 A12 : 0x00000000 A13 : 0x00060a23
A14 : 0x00060a23 A15 : 0x00000001 SAR : 0x0000000d EXCCAUSE: 0x0000001c
EXCVADDR: 0xb7518084 LBEG : 0x40056f08 LEND : 0x40056f12 LCOUNT : 0x00000000

Backtrace: 0x42004353:0x3fcf3cb0 0x420033bf:0x3fcf3d10 0x42009605:0x3fcf3d50 0x42004c09:0x3fcf3d90 0x420069fd:0x3fcf3df0 0x4201d126:0x3fcf3e10 0x4201dca5:0x3fcf3e30 0x420445f5:0x3fcf3e80 0x42046a3b:0x3fcf3ea0

ELF file SHA256: 04f9491f61ee3427

Rebooting...
�ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x29 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40376d78
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
Starting BLE work!
BLE Keyboard Start`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions