ESP32-AT开启经典蓝牙,下载之后不断重启
Posted: Fri Jul 29, 2022 1:01 am
你好。我根据教程,配置了ESP-IDF环境,成功下载了HELLO——WORLD工程,说明环境配置成功;
然后git clone了esp-at工程;配置环境检查了,选择了对应的platform 和module name 。用python build.py menuconfig命令打开了AT中的bt command 和spp 命令和a2dp命令。然后保存,然后退出配置,然后python build.py build了配置。生成了 factory_WROOM-32.bin文件,然后用esp32 download toolV3.9.2下载固件到板子上面。开机重启。发现板子不断的复位,
话说为什么不能传图片啊。
rst:0x3 (SW_RESET),boot:0x13 (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:2
load:0x3fff0030,len:7820
ho 0 tail 12 room 4
load:0x40078000,len:16432
load:0x40080400,len:3928
entry 0x400806a0
[0;32mI (56) boot: ESP-IDF v4.3.2-553-g588436db47-dirty 2nd stage bootloader[0m
[0;32mI (56) boot: compile time 08:02:01[0m
[0;32mI (56) boot: chip revision: 1[0m
[0;32mI (60) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (67) boot.esp32: SPI Speed : 40MHz[0m
[0;32mI (71) boot.esp32: SPI Mode : DIO[0m
[0;32mI (76) boot.esp32: SPI Flash Size : 4MB[0m
[0;32mI (80) boot: Enabling RNG early entropy source...[0m
[0;32mI (86) boot: Partition Table:[0m
[0;32mI (89) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (97) boot: 0 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (104) boot: 1 otadata OTA data 01 00 00010000 00002000[0m
[0;32mI (112) boot: 2 nvs WiFi data 01 02 00012000 0000e000[0m
[0;32mI (119) boot: 3 at_customize unknown 40 00 00020000 000e0000[0m
[0;32mI (127) boot: 4 ota_0 OTA app 00 10 00100000 00180000[0m
[0;32mI (134) boot: 5 ota_1 OTA app 00 11 00280000 00180000[0m
[0;32mI (142) boot: End of partition table[0m
[0;32mI (146) boot: No factory image, trying OTA 0[0m
[0;32mI (151) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (158) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=2cec8h (184008) map[0m
[0;32mI (234) esp_image: segment 1: paddr=0012cef0 vaddr=3ffbdb60 size=03128h ( 12584) load[0m
[0;32mI (239) esp_image: segment 2: paddr=00130020 vaddr=400d0020 size=14409ch (1327260) map[0m
[0;32mI (720) esp_image: segment 3: paddr=002740c4 vaddr=3ffc0c88 size=011c4h ( 4548) load[0m
[0;32mI (722) esp_image: segment 4: paddr=00275290 vaddr=40080000 size=17a2ch ( 96812) load[0m
[0;32mI (765) esp_image: segment 5: paddr=0028ccc4 vaddr=400c0000 size=00064h ( 100) load[0m
[0;32mI (766) esp_image: segment 6: paddr=0028cd30 vaddr=50000000 size=00010h ( 16) load[0m
[0;31mE (771) esp_image: Image length 1625456 doesn't fit in partition length 1572864[0m
[0;31mE (779) boot: OTA app partition slot 0 is not bootable[0m
[0;31mE (785) esp_image: image at 0x280000 has invalid magic byte (nothing flashed here?)[0m
[0;31mE (793) boot: OTA app partition slot 1 is not bootable[0m
[0;31mE (799) boot: No bootable app partitions in the partition table[0m
ets Jun 8 2016 00:22:57
rst:0x3 (SW_RESET),boot:0x13 (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:2
load:0x3fff0030,len:7820
ho 0 tail 12 room 4
load:0x40078000,len:16432
load:0x40080400,len:3928
entry 0x400806a0
[0;32mI (56) boot: ESP-IDF v4.3.2-553-g588436db47-dirty 2nd stage bootloader[0m
[0;32mI (56) boot: compile time 08:02:01[0m
[0;32mI (56) boot: chip revision: 1[0m
[0;32mI (60) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (67) boot.esp32: SPI Speed : 40MHz[0m
[0;32mI (71) boot.esp32: SPI Mode : DIO[0m
[0;32mI (76) boot.esp32: SPI Flash Size : 4MB[0m
[0;32mI (80) boot: Enabling RNG early entropy source...[0m
[0;32mI (86) boot: Partition Table:[0m
[0;32mI (89) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (97) boot: 0 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (104) boot: 1 otadata OTA data 01 00 00010000 00002000[0m
[0;32mI (112) boot: 2 nvs WiFi data 01 02 00012000 0000e000[0m
[0;32mI (119) boot: 3 at_customize unknown 40 00 00020000 000e0000[0m
[0;32mI (127) boot: 4 ota_0 OTA app 00 10 00100000 00180000[0m
[0;32mI (134) boot: 5 ota_1 OTA app 00 11 00280000 00180000[0m
[0;32mI (142) boot: End of partition table[0m
[0;32mI (146) boot: No factory image, trying OTA 0[0m
[0;32mI (151) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (158) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=2cec8h (184008) map[0m
然后git clone了esp-at工程;配置环境检查了,选择了对应的platform 和module name 。用python build.py menuconfig命令打开了AT中的bt command 和spp 命令和a2dp命令。然后保存,然后退出配置,然后python build.py build了配置。生成了 factory_WROOM-32.bin文件,然后用esp32 download toolV3.9.2下载固件到板子上面。开机重启。发现板子不断的复位,
话说为什么不能传图片啊。
rst:0x3 (SW_RESET),boot:0x13 (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:2
load:0x3fff0030,len:7820
ho 0 tail 12 room 4
load:0x40078000,len:16432
load:0x40080400,len:3928
entry 0x400806a0
[0;32mI (56) boot: ESP-IDF v4.3.2-553-g588436db47-dirty 2nd stage bootloader[0m
[0;32mI (56) boot: compile time 08:02:01[0m
[0;32mI (56) boot: chip revision: 1[0m
[0;32mI (60) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (67) boot.esp32: SPI Speed : 40MHz[0m
[0;32mI (71) boot.esp32: SPI Mode : DIO[0m
[0;32mI (76) boot.esp32: SPI Flash Size : 4MB[0m
[0;32mI (80) boot: Enabling RNG early entropy source...[0m
[0;32mI (86) boot: Partition Table:[0m
[0;32mI (89) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (97) boot: 0 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (104) boot: 1 otadata OTA data 01 00 00010000 00002000[0m
[0;32mI (112) boot: 2 nvs WiFi data 01 02 00012000 0000e000[0m
[0;32mI (119) boot: 3 at_customize unknown 40 00 00020000 000e0000[0m
[0;32mI (127) boot: 4 ota_0 OTA app 00 10 00100000 00180000[0m
[0;32mI (134) boot: 5 ota_1 OTA app 00 11 00280000 00180000[0m
[0;32mI (142) boot: End of partition table[0m
[0;32mI (146) boot: No factory image, trying OTA 0[0m
[0;32mI (151) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (158) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=2cec8h (184008) map[0m
[0;32mI (234) esp_image: segment 1: paddr=0012cef0 vaddr=3ffbdb60 size=03128h ( 12584) load[0m
[0;32mI (239) esp_image: segment 2: paddr=00130020 vaddr=400d0020 size=14409ch (1327260) map[0m
[0;32mI (720) esp_image: segment 3: paddr=002740c4 vaddr=3ffc0c88 size=011c4h ( 4548) load[0m
[0;32mI (722) esp_image: segment 4: paddr=00275290 vaddr=40080000 size=17a2ch ( 96812) load[0m
[0;32mI (765) esp_image: segment 5: paddr=0028ccc4 vaddr=400c0000 size=00064h ( 100) load[0m
[0;32mI (766) esp_image: segment 6: paddr=0028cd30 vaddr=50000000 size=00010h ( 16) load[0m
[0;31mE (771) esp_image: Image length 1625456 doesn't fit in partition length 1572864[0m
[0;31mE (779) boot: OTA app partition slot 0 is not bootable[0m
[0;31mE (785) esp_image: image at 0x280000 has invalid magic byte (nothing flashed here?)[0m
[0;31mE (793) boot: OTA app partition slot 1 is not bootable[0m
[0;31mE (799) boot: No bootable app partitions in the partition table[0m
ets Jun 8 2016 00:22:57
rst:0x3 (SW_RESET),boot:0x13 (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:2
load:0x3fff0030,len:7820
ho 0 tail 12 room 4
load:0x40078000,len:16432
load:0x40080400,len:3928
entry 0x400806a0
[0;32mI (56) boot: ESP-IDF v4.3.2-553-g588436db47-dirty 2nd stage bootloader[0m
[0;32mI (56) boot: compile time 08:02:01[0m
[0;32mI (56) boot: chip revision: 1[0m
[0;32mI (60) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (67) boot.esp32: SPI Speed : 40MHz[0m
[0;32mI (71) boot.esp32: SPI Mode : DIO[0m
[0;32mI (76) boot.esp32: SPI Flash Size : 4MB[0m
[0;32mI (80) boot: Enabling RNG early entropy source...[0m
[0;32mI (86) boot: Partition Table:[0m
[0;32mI (89) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (97) boot: 0 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (104) boot: 1 otadata OTA data 01 00 00010000 00002000[0m
[0;32mI (112) boot: 2 nvs WiFi data 01 02 00012000 0000e000[0m
[0;32mI (119) boot: 3 at_customize unknown 40 00 00020000 000e0000[0m
[0;32mI (127) boot: 4 ota_0 OTA app 00 10 00100000 00180000[0m
[0;32mI (134) boot: 5 ota_1 OTA app 00 11 00280000 00180000[0m
[0;32mI (142) boot: End of partition table[0m
[0;32mI (146) boot: No factory image, trying OTA 0[0m
[0;32mI (151) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (158) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=2cec8h (184008) map[0m