sinricpro / esp8266-esp32-sdk

Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
https://sinric.pro
228 stars 121 forks source link

Timed out waiting for packet content #320

Closed jonasspring closed 1 year ago

jonasspring commented 1 year ago

Hi, I'm trying to setup an esp8266 for sinric pro via an arduino uno. However I'm unable to program the esp with the arduino ide. Here is the output I'm getting: . Variables and constants in RAM (global, static), used 31120 / 80192 bytes (38%) ║ SEGMENT BYTES DESCRIPTION ╠══ DATA 1508 initialized variables ╠══ RODATA 3284 constants ╚══ BSS 26328 zeroed variables . Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60169 / 65536 bytes (91%) ║ SEGMENT BYTES DESCRIPTION ╠══ ICACHE 32768 reserved space for flash instruction cache ╚══ IRAM 27401 code in IRAM . Code in flash (default, ICACHE_FLASH_ATTR), used 379744 / 1048576 bytes (36%) ║ SEGMENT BYTES DESCRIPTION ╚══ IROM 379744 code in flash esptool.py v3.0 Serial port COM5 Connecting........_____....._____....._____....._____....._____....._____....._____ A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet content The CH_PD and RST Ports of the esp are connected with 10k Ohm resistors to VCC and GPIO0 is connected to the ground. When I start the upload the LED of the esp is blinking.

kakopappa commented 1 year ago

Can you flash other sketches? According to the error message, it looks like ESP8266 is not in download mode

On Sat, 20 May 2023 at 6:36 PM jonasspring @.***> wrote:

Hi, I'm trying to setup an esp8266 for sinric pro via an arduino uno. However I'm unable to program the esp with the arduino ide. Here is the output I'm getting: . Variables and constants in RAM (global, static), used 31120 / 80192 bytes (38%) ║ SEGMENT BYTES DESCRIPTION ╠══ DATA 1508 initialized variables ╠══ RODATA 3284 constants ╚══ BSS 26328 zeroed variables . Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60169 / 65536 bytes (91%) ║ SEGMENT BYTES DESCRIPTION ╠══ ICACHE 32768 reserved space for flash instruction cache ╚══ IRAM 27401 code in IRAM . Code in flash (default, ICACHE_FLASHATTR), used 379744 / 1048576 bytes (36%) ║ SEGMENT BYTES DESCRIPTION ╚══ IROM 379744 code in flash esptool.py v3.0 Serial port COM5 Connecting........____.............................. A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet content The CH_PD and RST Ports of the esp are connected with 10k Ohm resistors to VCC and GPIO0 is connected to the ground. When I start the upload the LED of the esp is blinking.

— Reply to this email directly, view it on GitHub https://github.com/sinricpro/esp8266-esp32-sdk/issues/320, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZXO3AOVF4ASOZPXKMDXHCUE3ANCNFSM6AAAAAAYIV2ERQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jonasspring commented 1 year ago

Ok, I got it to work. It seemed to help to reset the esp once, when it is already powered, to make sure its in the correct mode. Thanks :D