espressif / esp-who

Face detection and recognition framework
Other
1.64k stars 458 forks source link

Unable to program ESP-EYE Dev Board V2.1, Timed out waiting for packet header (AIV-490) #196

Closed ropelletier closed 2 years ago

ropelletier commented 2 years ago
idf.py flash monitor
Executing action: flash
Serial port /dev/ttyUSB0
Connecting.......................
/dev/ttyUSB0 failed to connect: Failed to connect to Espressif device: Timed out waiting for packet header
No serial ports found. Connect a device, or use '-p PORT' option to set a specific port.

I have held boot, then rst. Held boot. Held rst. Nothing, this device just will not flash.

ropelletier commented 2 years ago

This is what it says on boot:

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:0x3fff0018,len:4
load:0x3fff001c,len:5424
ho 0 tail 12 room 4
load:0x40078000,len:12452
load:0x40080400,len:6716
entry 0x400806d4
I (830) psram: This chip is ESP32-D0WD
I (830) spiram: Found 64MBit SPI RAM device
I (830) spiram: SPI RAM mode: flash 80m sram 80m
I (833) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (840) cpu_start: Pro cpu up.
I (844) cpu_start: Application information:
I (849) cpu_start: Project name:     esp-idf
I (854) cpu_start: App version:      v0.9.4-18-g0f580b6
I (860) cpu_start: Compile time:     Apr 30 2020 14:19:44
I (866) cpu_start: ELF file SHA256:  0b70bef2f6585bf2...
I (872) cpu_start: ESP-IDF:          v3.3.1
I (876) cpu_start: Starting app cpu, entry point is 0x400813dc
I (0) cpu_start: App cpu up.
I (1361) spiram: SPI SRAM memory test OK
I (1361) heap_init: Initializing. RAM available for dynamic allocation:
I (1362) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1368) heap_init: At 3FFBCAE0 len 00023520 (141 KiB): DRAM
I (1374) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1381) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1387) heap_init: At 400952FC len 0000AD04 (43 KiB): IRAM
I (1394) cpu_start: Pro cpu start user code
I (1398) spiram: Adding pool of 4096K of external SPI memory to heap allocator
I (76) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
ESP_EYE> I (10477) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:0 
I (10477) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:0 
Quantized wakeNet5: wakeNet5_v1_hilexin_5_0.95_0.90, mode:1 (Oct 11 2019 20:08:50)
wake word number = 1, word1 name = hilexin
I (10497) I2S: DMA Malloc info, datalen=blocksize=2400, dma_buf_count=3
I (10507) 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
I (10527) esp-eye: Please say 'Hi LeXin' to the board
I (10527) esp-eye: Version 1.0.0

And when I put it in boot mode (confirmed in boot mode by serial output) and try to flash it, it just seems to reset itself and reboot.