Page 1 of 1

ESP32-LyraTD-MSC A v2.2 Failed to connect to ESP32: Timed out waiting for packet header

Posted: Sat Dec 29, 2018 5:59 am
by kumarvkm
Hi
We got an ESP32-LyraTD-MSC A v2.2 dev board from Mouser, followed ESP32-LyraTD-MSC V2.2 Getting Started Guide to set up, after setting up as per document
It reported error when I ran the following steps.
1), Connected it to laptop through USB cable.
2), Turned the board on.
3), Ran "make flash".
4), The following messages were printed out on terminal:"make flash

Flashing binaries to serial port COM9 (app at offset 0x10000 )...
esptool.py v2.6-beta1
Serial port COM9
Connecting......................................_____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
make: *** [/home/vkm/esp/esp-idf/components/esptool_py/Makefile.projbuild:63: flash] Error 2

Note: I connected the console through COM9 using teraterm/minicom and am able to see the existing application logs, there I press Reset button and release the Boot button
and made sure that

rst:0x1 (POWERON_RESET),boot:0x7 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download and closed the console

I also even tried with flash_download_tools_v3.6.5 and seen following message

..................................................[2018-12-27 15:17:22
,753][ESP8266Loader_spi[1]][espDownloader.py][line:351][ERROR]: Chip sync error: Failed to connect to ESP32: Timed out w
aiting for packet header
[2018-12-27 15:17:22,755][ESP8266Loader_spi[1]][espDownloader.py][line:439][ERROR]: ESP32 Chip sync error esp_sync_block
ing.

Could you please tell us what is missing in terms of configuration to detect the flash
Thank You
Kumar

Re: ESP32-LyraTD-MSC A v2.2 Failed to connect to ESP32: Timed out waiting for packet header

Posted: Sat Dec 29, 2018 7:37 am
by ESP_Alvin
Hi, Kumar

Moved this topic to ESP-ADF section, since this is an issue that may be relevant to ESP audio.

And also saw you submitted an issue in ESP-IDF repository in GitHub at https://github.com/espressif/esp-idf/issues/2889

Thanks.

Alvin