Open bastianhjaeger opened 4 years ago
Builing and flashing as described to an TTGO-Camera Plus Board gives me this:
ubuntu@s0028:~/dev/official/esp32-camera-screen (master *)$ make monitor Toolchain path: /home/ubuntu/.espressif/tools/xtensa-esp32-elf/esp-2020r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: esp-2020r1 Compiler version: 8.2.0 Python requirements from /home/ubuntu/dev/official/esp-idf/requirements.txt are satisfied. MONITOR --- idf_monitor on /dev/ttyUSB0 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_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:1 load:0x3fff0030,len:4 load:0x3fff0034,len:7380 load:0x40078000,len:15024 load:0x40080400,len:4652 entry 0x4008069c I (29) boot: ESP-IDF v4.2-dev-1660-g7d7521367-dirty 2nd stage bootloader I (29) boot: compile time 11:57:54 I (30) boot: chip revision: 1 I (34) boot_comm: chip revision: 1, min. bootloader chip revision: 0 I (41) qio_mode: Enabling default flash chip QIO I (46) boot.esp32: SPI Speed : 80MHz I (51) boot.esp32: SPI Mode : QIO I (55) boot.esp32: SPI Flash Size : 4MB I (60) boot: Enabling RNG early entropy source... I (65) boot: Partition Table: I (69) boot: ## Label Usage Type ST Offset Length I (76) boot: 0 factory factory app 00 00 00010000 00300000 I (84) boot: 1 nvs WiFi data 01 02 00310000 00004000 I (91) boot: 2 fr unknown 20 20 00320000 00020000 I (99) boot: End of partition table I (103) boot_comm: chip revision: 1, min. application chip revision: 0 I (110) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x5eeb0 (388784) map I (232) esp_image: segment 1: paddr=0x0006eed8 vaddr=0x3ffb0000 size=0x01140 ( 4416) load I (234) esp_image: segment 2: paddr=0x00070020 vaddr=0x400d0020 size=0xa49e0 (674272) map 0x400d0020: _stext at ??:? I (435) esp_image: segment 3: paddr=0x00114a08 vaddr=0x3ffb1140 size=0x0343c ( 13372) load I (440) esp_image: segment 4: paddr=0x00117e4c vaddr=0x40080000 size=0x00400 ( 1024) load 0x40080000: _WindowOverflow4 at /home/ubuntu/dev/official/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730 I (442) esp_image: segment 5: paddr=0x00118254 vaddr=0x40080400 size=0x1d9c8 (121288) load I (508) boot: Loaded app from partition at offset 0x10000 I (509) boot: Disabling RNG early entropy source... I (509) psram: This chip is ESP32-D0WD I (514) spiram: Found 64MBit SPI RAM device I (518) spiram: SPI RAM mode: flash 80m sram 80m I (523) spiram: PSRAM initialized, cache is in low/high (2-core) mode. I (531) cpu_start: Pro cpu up. I (534) cpu_start: Application information: I (539) cpu_start: Project name: ttgo_camera_plus I (545) cpu_start: App version: 66c7f11-dirty I (550) cpu_start: Compile time: Jun 21 2020 11:57:58 I (556) cpu_start: ELF file SHA256: 820429a5fb308b92... I (562) cpu_start: ESP-IDF: v4.2-dev-1660-g7d7521367-dirty I (569) cpu_start: Starting app cpu, entry point is 0x400816b4 0x400816b4: call_start_cpu1 at /home/ubuntu/dev/official/esp-idf/components/esp32/cpu_start.c:286 I (0) cpu_start: App cpu up. I (1070) spiram: SPI SRAM memory test OK I (1070) heap_init: Initializing. RAM available for dynamic allocation: I (1071) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (1077) heap_init: At 3FFC82F0 len 00017D10 (95 KiB): DRAM I (1083) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (1089) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (1096) heap_init: At 4009DDC8 len 00002238 (8 KiB): IRAM I (1102) cpu_start: Pro cpu start user code I (1107) spiram: Adding pool of 4096K of external SPI memory to heap allocator I (1127) spi_flash: detected chip: generic I (1128) spi_flash: flash io: qio I (1128) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (1141) esp-eye: Version 0.9.0 W (1145) BJ LOG: TEST l 30 E (1149) vfs_fat_sdmmc: slot init failed (0x103). W (1154) BJ LOG: TEST l 32 E (1158) [SD]: Failed to initialize the card (ESP_ERR_INVALID_STATE). Make sure SD card lines have pull-up resistors in place. I (1170) gpio: GPIO[13]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1179) sccb: pin_sda 18 pin_scl 23 I (1275) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1275) gpio: GPIO[37]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1282) gpio: GPIO[38]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1292) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1301) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1311) gpio: GPIO[26]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1320) gpio: GPIO[13]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1329) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1339) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1348) gpio: GPIO[27]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1357) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1367) camera: Allocating 2 frame buffers (30 KB total) I (1373) camera: Allocating 15 KB frame buffer in OnBoard RAM I (1379) camera: Allocating 15 KB frame buffer in OnBoard RAM I (1542) gpio: GPIO[12]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 wake word number = 1, word1 name = nihaotianmao wake word number = 1, word1 name = nihaotianmao I (7967) I2S: DMA Malloc info, datalen=blocksize=2400, dma_buf_count=3 W (7967) I2S: I2S driver already installed I (7972) I2S: PLL_D2: Req RATE: 16000, real rate: 16025.000, BITS: 32, CLKM: 39, BCK: 4, MCLK: 4096000.000, SCLK: 1025600.000000, diva: 64, divb: 4 /home/ubuntu/dev/official/esp-idf/components/freertos/queue.c:728 (xQueueGenericSend)- assert failed! abort() was called at PC 0x40090e77 on core 1 0x40090e77: xQueueGenericSend at /home/ubuntu/dev/official/esp-idf/components/freertos/queue.c:728 (discriminator 5) Backtrace:0x4008dc16:0x3ffd9cb0 0x4008e2d5:0x3ffd9cd0 0x40095142:0x3ffd9cf0 0x40090e77:0x3ffd9d60 0x400f9aa6:0x3ffd9da0 0x400f9d5e:0x3ffd9e30 0x400d6c90:0x3ffd9e70 0x400d6ca7:0x3ffd9ed0 0x400900a5:0x3ffd9f00 0x4008dc16: panic_abort at /home/ubuntu/dev/official/esp-idf/components/esp_system/panic.c:330 0x4008e2d5: esp_system_abort at /home/ubuntu/dev/official/esp-idf/components/esp_system/system_api.c:100 0x40095142: abort at /home/ubuntu/dev/official/esp-idf/components/newlib/abort.c:46 0x40090e77: xQueueGenericSend at /home/ubuntu/dev/official/esp-idf/components/freertos/queue.c:728 (discriminator 5) 0x400f9aa6: i2s_set_clk at /home/ubuntu/dev/official/esp-idf/components/driver/i2s.c:480 0x400f9d5e: i2s_driver_install at /home/ubuntu/dev/official/esp-idf/components/driver/i2s.c:969 0x400d6c90: i2s_init at /home/ubuntu/dev/official/esp32-camera-screen/main/app_speech_recsrc.c:40 0x400d6ca7: recsrcTask at /home/ubuntu/dev/official/esp32-camera-screen/main/app_speech_recsrc.c:47 0x400900a5: vPortTaskWrapper at /home/ubuntu/dev/official/esp-idf/components/freertos/xtensa/port.c:143 ELF file SHA256: 820429a5fb308b92 Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_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:1 load:0x3fff0030,len:4 load:0x3fff0034,len:7380 load:0x40078000,len:15024 load:0x40080400,len:4652 entry 0x4008069c I (29) boot: ESP-IDF v4.2-dev-1660-g7d7521367-dirty 2nd stage bootloader I (29) boot: compile time 11:57:54 I (30) boot: chip revision: 1
Update: If I flash the bin files from bin/no_bme, I get:
But if I do as you recommend here I get this:
Builing and flashing as described to an TTGO-Camera Plus Board gives me this: