蓝牙SPP传输,当手机与ESP32-MINI-1距离拉远时,ESP32报错复位重启
Moderator: ESP_XCGuang
-
- Posts: 8
- Joined: Wed Jun 29, 2022 7:59 am
蓝牙SPP传输,当手机与ESP32-MINI-1距离拉远时,ESP32报错复位重启
ESP32-MINI-1使用2.5.0 AT固件,蓝牙SPP传输,当手机与ESP32-MINI-1保持蓝牙连接把距离拉远时,ESP32会报错复位重启,请问这个问题如何解决?
0140:at_bt_gap_cb - event = 13
0141:at_bt_gap_cb - event = 13
0142:at_bt_gap_cb - event = 13
0143:at_bt_gap_cb - event = 17
0144:Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
0145:
0146:Core 0 register dump:
0147:PC : 0x4000c2e4 PS : 0x00060230 A0 : 0x800e5efc A1 : 0x3ffd1320
0148:A2 : 0x00000000 A3 : 0x3ffc327c A4 : 0x00000b68 A5 : 0x00000000
0149:A6 : 0x2c572c32 A7 : 0x2a562c41 A8 : 0x00000000 A9 : 0xfffffffd
0150:A10 : 0x00000000 A11 : 0xffffffff A12 : 0x3ffe6dc0 A13 : 0x00000000
0151:A14 : 0x3ffbd848 A15 : 0x00000064 SAR : 0x0000001a EXCCAUSE: 0x0000001d
0152:EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x000000b5
0153:
0154:
0155:Backtrace: 0x4000c2e1:0x3ffd1320 0x400e5ef9:0x3ffd1330 0x400e74df:0x3ffd1360 0x400934c5:0x3ffd1510
0156:
0157:
0158:
0159:
0160:ELF file SHA256: 6e6639645222285d
0161:
0162:Rebooting...
0163:ets Jul 29 2019 12:21:46
0164:
0165:rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
0166:configsip: 188777542, SPIWP:0xee
0167:clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
0168:mode:DIO, clock div:2
0169:load:0x3fff0030,len:6948
0170:load:0x40078000,len:16068
0171:load:0x40080400,len:3632
0172:entry 0x4008061c
0173:*[0;32mI (28) boot: ESP-IDF v5.0-541-g885e501d99 2nd stage bootloader*[0m
0174:*[0;32mI (28) boot: compile time 10:14:56*[0m
0175:*[0;32mI (28) boot: chip revision: v3.0*[0m
0176:*[0;32mI (32) boot.esp32: SPI Speed : 40MHz*[0m
0177:*[0;32mI (37) boot.esp32: SPI Mode : DIO*[0m
0178:*[0;32mI (41) boot.esp32: SPI Flash Size : 4MB*[0m
0179:*[0;32mI (46) boot: Enabling RNG early entropy source...*[0m
0180:*[0;32mI (51) boot: Partition Table:*[0m
0181:*[0;32mI (55) boot: ## Label Usage Type ST Offset Length*[0m
0182:*[0;32mI (62) boot: 0 phy_init RF data 01 01 0000f000 00001000*[0m
0183:*[0;32mI (69) boot: 1 otadata OTA data 01 00 00010000 00002000*[0m
0184:*[0;32mI (77) boot: 2 nvs WiFi data 01 02 00012000 0000e000*[0m
0185:*[0;32mI (84) boot: 3 at_customize unknown 40 00 00020000 000e0000*[0m
0186:*[0;32mI (92) boot: 4 ota_0 OTA app 00 10 00100000 00180000*[0m
0187:*[0;32mI (99) boot: 5 ota_1 OTA app 00 11 00280000 00180000*[0m
0188:*[0;32mI (107) boot: End of partition table*[0m
0189:*[0;32mI (111) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=2896ch (166252) map*[0m
0190:*[0;32mI (180) esp_image: segment 1: paddr=00128994 vaddr=3ff80063 size=00008h ( 8) load*[0m
0191:*[0;32mI (180) esp_image: segment 2: paddr=001289a4 vaddr=3ffbdb60 size=04b38h ( 19256) load*[0m
0192:*[0;32mI (193) esp_image: segment 3: paddr=0012d4e4 vaddr=40080000 size=02b34h ( 11060) load*[0m
0193:*[0;32mI (199) esp_image: segment 4: paddr=00130020 vaddr=400d0020 size=e93cch (955340) map*[0m
0194:*[0;32mI (548) esp_image: segment 5: paddr=002193f4 vaddr=40082b34 size=18ab8h (101048) load*[0m
0195:*[0;32mI (589) esp_image: segment 6: paddr=00231eb4 vaddr=400c0000 size=00064h ( 100) load*[0m
0196:*[0;32mI (603) boot: Loaded app from partition at offset 0x100000*[0m
0197:*[0;32mI (603) boot: Disabling RNG early entropy source...*[0m
0198:no external 32k oscillator, disable it now.
0199:at param mode: 1
0200:AT cmd port:uart1 tx:10 rx:9 cts:15 rts:14 baudrate:460800
0201:module_name: MINI-1
0202:2.5.0
0203:
0140:at_bt_gap_cb - event = 13
0141:at_bt_gap_cb - event = 13
0142:at_bt_gap_cb - event = 13
0143:at_bt_gap_cb - event = 17
0144:Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
0145:
0146:Core 0 register dump:
0147:PC : 0x4000c2e4 PS : 0x00060230 A0 : 0x800e5efc A1 : 0x3ffd1320
0148:A2 : 0x00000000 A3 : 0x3ffc327c A4 : 0x00000b68 A5 : 0x00000000
0149:A6 : 0x2c572c32 A7 : 0x2a562c41 A8 : 0x00000000 A9 : 0xfffffffd
0150:A10 : 0x00000000 A11 : 0xffffffff A12 : 0x3ffe6dc0 A13 : 0x00000000
0151:A14 : 0x3ffbd848 A15 : 0x00000064 SAR : 0x0000001a EXCCAUSE: 0x0000001d
0152:EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x000000b5
0153:
0154:
0155:Backtrace: 0x4000c2e1:0x3ffd1320 0x400e5ef9:0x3ffd1330 0x400e74df:0x3ffd1360 0x400934c5:0x3ffd1510
0156:
0157:
0158:
0159:
0160:ELF file SHA256: 6e6639645222285d
0161:
0162:Rebooting...
0163:ets Jul 29 2019 12:21:46
0164:
0165:rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
0166:configsip: 188777542, SPIWP:0xee
0167:clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
0168:mode:DIO, clock div:2
0169:load:0x3fff0030,len:6948
0170:load:0x40078000,len:16068
0171:load:0x40080400,len:3632
0172:entry 0x4008061c
0173:*[0;32mI (28) boot: ESP-IDF v5.0-541-g885e501d99 2nd stage bootloader*[0m
0174:*[0;32mI (28) boot: compile time 10:14:56*[0m
0175:*[0;32mI (28) boot: chip revision: v3.0*[0m
0176:*[0;32mI (32) boot.esp32: SPI Speed : 40MHz*[0m
0177:*[0;32mI (37) boot.esp32: SPI Mode : DIO*[0m
0178:*[0;32mI (41) boot.esp32: SPI Flash Size : 4MB*[0m
0179:*[0;32mI (46) boot: Enabling RNG early entropy source...*[0m
0180:*[0;32mI (51) boot: Partition Table:*[0m
0181:*[0;32mI (55) boot: ## Label Usage Type ST Offset Length*[0m
0182:*[0;32mI (62) boot: 0 phy_init RF data 01 01 0000f000 00001000*[0m
0183:*[0;32mI (69) boot: 1 otadata OTA data 01 00 00010000 00002000*[0m
0184:*[0;32mI (77) boot: 2 nvs WiFi data 01 02 00012000 0000e000*[0m
0185:*[0;32mI (84) boot: 3 at_customize unknown 40 00 00020000 000e0000*[0m
0186:*[0;32mI (92) boot: 4 ota_0 OTA app 00 10 00100000 00180000*[0m
0187:*[0;32mI (99) boot: 5 ota_1 OTA app 00 11 00280000 00180000*[0m
0188:*[0;32mI (107) boot: End of partition table*[0m
0189:*[0;32mI (111) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=2896ch (166252) map*[0m
0190:*[0;32mI (180) esp_image: segment 1: paddr=00128994 vaddr=3ff80063 size=00008h ( 8) load*[0m
0191:*[0;32mI (180) esp_image: segment 2: paddr=001289a4 vaddr=3ffbdb60 size=04b38h ( 19256) load*[0m
0192:*[0;32mI (193) esp_image: segment 3: paddr=0012d4e4 vaddr=40080000 size=02b34h ( 11060) load*[0m
0193:*[0;32mI (199) esp_image: segment 4: paddr=00130020 vaddr=400d0020 size=e93cch (955340) map*[0m
0194:*[0;32mI (548) esp_image: segment 5: paddr=002193f4 vaddr=40082b34 size=18ab8h (101048) load*[0m
0195:*[0;32mI (589) esp_image: segment 6: paddr=00231eb4 vaddr=400c0000 size=00064h ( 100) load*[0m
0196:*[0;32mI (603) boot: Loaded app from partition at offset 0x100000*[0m
0197:*[0;32mI (603) boot: Disabling RNG early entropy source...*[0m
0198:no external 32k oscillator, disable it now.
0199:at param mode: 1
0200:AT cmd port:uart1 tx:10 rx:9 cts:15 rts:14 baudrate:460800
0201:module_name: MINI-1
0202:2.5.0
0203:
- Attachments
-
- WeChat Image_20230313144512.png (256.63 KiB) Viewed 6766 times
Re: 蓝牙SPP传输,当手机与ESP32-MINI-1距离拉远时,ESP32报错复位重启
可以使用 ESP32 release 版本测试下看看是否存在此问题呢?
ESP32 release 版本:https://docs.espressif.com/projects/esp ... s.html#id1
ESP32 release 版本:https://docs.espressif.com/projects/esp ... s.html#id1
-
- Posts: 8
- Joined: Wed Jun 29, 2022 7:59 am
Re: 蓝牙SPP传输,当手机与ESP32-MINI-1距离拉远时,ESP32报错复位重启
官方发布的固件不支持SPP蓝牙功能吧?ESP_Sun wrote: ↑Wed Mar 15, 2023 2:17 am可以使用 ESP32 release 版本测试下看看是否存在此问题呢?
ESP32 release 版本:https://docs.espressif.com/projects/esp ... s.html#id1
Re: 蓝牙SPP传输,当手机与ESP32-MINI-1距离拉远时,ESP32报错复位重启
那可以基于 release/v2.4.0.0 分支编译哈,可以提供下这个问题复现概率吗?
-
- Posts: 8
- Joined: Wed Jun 29, 2022 7:59 am
-
- Posts: 8
- Joined: Wed Jun 29, 2022 7:59 am
Re: 蓝牙SPP传输,当手机与ESP32-MINI-1距离拉远时,ESP32报错复位重启
Hi, 我这边在尝试复现这个问题,可以将能复现这个问题的 AT 指令序列分享一下吗?
Re: 蓝牙SPP传输,当手机与ESP32-MINI-1距离拉远时,ESP32报错复位重启
ESP_Sun wrote: ↑Fri Apr 14, 2023 8:31 amHi, 我这边在尝试复现 “蓝牙SPP传输,当手机与ESP32-MINI-1距离拉远时,ESP32报错复位重启” ,可以将能复现这个问题的 AT 指令序列分享一下吗?
蓝牙在长时间连接传输数据后,有时也会出现自动重启的现象 ------》 这里的长时间大概是多久,这段时间是一直在传输数据吗?这里使用的命令序列同样可以分享下吗?
Re: 蓝牙SPP传输,当手机与ESP32-MINI-1距离拉远时,ESP32报错复位重启
可以在编译的时候把系统 log 改成 info,然后 BLE 的 HCI 的 log 改成 debug,多复现几次,提供下相关 log 呢?
-
- Posts: 8
- Joined: Wed Jun 29, 2022 7:59 am
Who is online
Users browsing this forum: No registered users and 16 guests