bigtreetech / BTT-WRITER-V1.0

BigTree Technology Co., Ltd. developed this module for the use on firmware flashing, serial port debugging and so on.
48 stars 20 forks source link

A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header #2

Open VirtualMafia opened 4 years ago

VirtualMafia commented 4 years ago

I am using the BTT Writer with the Wifi Module from BTT as well. I have verified this issue on 2 different PCs now. Wiring is exact as diagram provided this is my platformio.ini below. I have tried ck instead of nodemcu and even followed this video (https://www.youtube.com/watch?v=NGgzw-XayEo&t=684s) with no success.

[env:esp8266] platform = espressif8266 board = esp01_1m framework = arduino monitor_speed = 115200 ; set frequency to 160MHz board_build.f_cpu = 80000000L ; set frequency to 40MHz board_build.f_flash = 40000000L board_build.flash_mode = dio upload_resetmethod = nodemcu board_build.ldscript = eagle.flash.1m256.ld build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY -DNONOSDK221=1 -DNDEBUG -DVTABLES_IN_FLASH upload_speed = 115200 lib_ignore = AsyncTCP ESP32NetBIOS ESP32SSPD

nebakanezzer commented 4 years ago

also seeing this with 4 other esp01 / 8266 devices

I tried the original btt wifi module that I ordered with my SKR, it worked at first, broadcasted ssid, allowed me to upload files, and then, it just served a blank page. this was after uploading the favicon.ico file.

I tried wiping it and rewriting, which goes fine, but not it does not broadcast an ssid.

I decided to purchase 4 more esp8266 devices from amazon, as they had the same exact specs, pins, etc. they all wont connect to the writer.