Hello dear contributor. currently i am using BLE_uart example in a project. but it is crashes when i use Serial2 together. it is working perfectly with Serial and Serial1 but no with Serial2. please can you help me with this problem if you have any idea, please?
by the way, especially it is crashes if I select GPIO17 as a TX pin
PC: 0x4015c95f: bt_get_i2c_data at phy_chip_v7_ana.c line 1799
EXCVADDR: 0x00000000
Decoding stack results
0x4015c95f: bt_get_i2c_data at phy_chip_v7_ana.c line 1799
0x4015cb7d: set_chan_freq_hw_init at phy_chip_v7_ana.c line 2048
0x4015cc4b: rf_init at phy_chip_v7_ana.c line 1083
0x40158f63: register_chipv7_phy at phy_chip_v7.c line 3777
0x4015e635: esp_phy_rf_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/phy_init.c line 180
0x4015e8d6: esp_phy_load_cal_and_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/phy_init.c line 673
0x400eba07: esp_bt_controller_enable at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/bt/bt.c line 1528
0x400d6e7e: btStart at C:\Users\isakov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32\esp32-hal-bt.c line 45
0x400d3ccd: BLEDevice::init(std::__cxx11::basic_string , std::allocator >) at C:\Users\isakov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\BLE\src\BLEDevice.cpp line 339
0x400d14d1: setup() at C:\Users\isakov\AppData\Local\Temp\arduino_modified_sketch_159513/BLE_uart.ino line 73
0x400d7672: loopTask(void*) at C:\Users\isakov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32\main.cpp line 18
0x4008ff66: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
Hello dear contributor. currently i am using BLE_uart example in a project. but it is crashes when i use Serial2 together. it is working perfectly with Serial and Serial1 but no with Serial2. please can you help me with this problem if you have any idea, please? by the way, especially it is crashes if I select GPIO17 as a TX pin
this is crash reason:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:10124 load:0x40080400,len:5856 entry 0x400806a8 Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled. Memory dump at 0x4015c958: 20c0004d 3df03d00 3df03d30 Core 1 register dump: PC : 0x4015c95f PS : 0x00060f30 A0 : 0x8015cb80 A1 : 0x3ffc6f40
A2 : 0x3ffc6fc2 A3 : 0x3ffc6fb7 A4 : 0x3ffc6fac A5 : 0x3ffc40c0
A6 : 0x3ffc6f96 A7 : 0x0000000b A8 : 0x00000009 A9 : 0x00000000
A10 : 0x00000002 A11 : 0x3ffc6fa9 A12 : 0x3ffc6f9e A13 : 0x3ffc40c8
A14 : 0x3ffc6f8b A15 : 0x3ffc6f93 SAR : 0x00000019 EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x40002390 LEND : 0x4000239f LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x4015c95f:0x3ffc6f40 0x4015cb7d:0x3ffc6f70 0x4015cc4b:0x3ffc6ff0 0x40158f63:0x3ffc7020 0x4015e635:0x3ffc7050 0x4015e8d6:0x3ffc7080 0x400eba07:0x3ffc70b0 0x400d6e7e:0x3ffc70d0 0x400d3ccd:0x3ffc7110 0x400d14d1:0x3ffc7140 0x400d7672:0x3ffc7190 0x4008ff66:0x3ffc71b0
Rebooting... ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:10124 load:0x40080400,len:5856 entry 0x400806a8 ets Jul 29 2019 12:21:46
rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:10124 load:0x40080400,len:5856 entry 0x400806a8 Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled. Memory dump at 0x4015c958: 20c0004d 3df03d00 3df03d30 Core 1 register dump: PC : 0x4015c95f PS : 0x00060f30 A0 : 0x8015cb80 A1 : 0x3ffc6f40
A2 : 0x3ffc6fc2 A3 : 0x3ffc6fb7 A4 : 0x3ffc6fac A5 : 0x3ffc40c0
A6 : 0x3ffc6f96 A7 : 0x0000000b A8 : 0x00000009 A9 : 0x00000000
A10 : 0x00000002 A11 : 0x3ffc6fa9 A12 : 0x3ffc6f9e A13 : 0x3ffc40c8
A14 : 0x3ffc6f8b A15 : 0x3ffc6f93 SAR : 0x00000019 EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x40002390 LEND : 0x4000239f LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x4015c95f:0x3ffc6f40 0x4015cb7d:0x3ffc6f70 0x4015cc4b:0x3ffc6ff0 0x40158f63:0x3ffc7020 0x4015e635:0x3ffc7050 0x4015e8d6:0x3ffc7080 0x400eba07:0x3ffc70b0 0x400d6e7e:0x3ffc70d0 0x400d3ccd:0x3ffc7110 0x400d14d1:0x3ffc7140 0x400d7672:0x3ffc7190 0x4008ff66:0x3ffc71b0
this is result taken from ExeptionDecoder:
PC: 0x4015c95f: bt_get_i2c_data at phy_chip_v7_ana.c line 1799 EXCVADDR: 0x00000000
Decoding stack results 0x4015c95f: bt_get_i2c_data at phy_chip_v7_ana.c line 1799 0x4015cb7d: set_chan_freq_hw_init at phy_chip_v7_ana.c line 2048 0x4015cc4b: rf_init at phy_chip_v7_ana.c line 1083 0x40158f63: register_chipv7_phy at phy_chip_v7.c line 3777 0x4015e635: esp_phy_rf_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/phy_init.c line 180 0x4015e8d6: esp_phy_load_cal_and_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/phy_init.c line 673 0x400eba07: esp_bt_controller_enable at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/bt/bt.c line 1528 0x400d6e7e: btStart at C:\Users\isakov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32\esp32-hal-bt.c line 45 0x400d3ccd: BLEDevice::init(std::__cxx11::basic_string , std::allocator >) at C:\Users\isakov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\BLE\src\BLEDevice.cpp line 339 0x400d14d1: setup() at C:\Users\isakov\AppData\Local\Temp\arduino_modified_sketch_159513/BLE_uart.ino line 73 0x400d7672: loopTask(void*) at C:\Users\isakov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32\main.cpp line 18 0x4008ff66: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143