eclipse使用make flash下载时,连接不上spi flash:
1 Connecting........_____. 2 Chip is ESP32D0WDQ6 (revision (unknown 0xa)) 3 Features: WiFi, BT, Dual Core, VRef calibration in efuse 4 Uploading stub... 5 Running stub... 6 Stub running... 7 Changing baud rate to 921600 8 Changed. 9 Configuring flash size... 10 Compressed 21024 bytes to 12404... 11 12 Writing at 0x00001000... (100 %) 13 Wrote 21024 bytes (12404 compressed) at 0x00001000 in 0.2 seconds (effective 989.4 kbit/s)... 14 15 A fatal error occurred: Timed out waiting for packet header 16 make: *** [/cygdrive/d/AiThinkerIDE_V0.5/cygwin/home/aithinker/llw/esp-idf/components/esptool_py/Makefile.projbuild:55: flash] Error 2 17 18 23:54:40 Build Finished (took 20s.699ms)
出现该问题一般是,启动配置的strapping引脚采样电平不符合启动模式,需要调整硬件电路。