Hello!
I decided, well yesterday to download to my IR Blaster its newer code blob, the V2 of the first one sent to it. All went well until that point:
. Variables and constants in RAM (global, static), used 29904 / 80192 bytes (37%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1496 initialized variables
╠══ RODATA 2272 constants
╚══ BSS 26136 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 61195 / 65536 bytes (93%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 28427 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 360796 / 1048576 bytes (34%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 360796 code in flash
Using library IRremoteESP8266 at version 2.8.6 in folder: C:\Users\hanso\Documents\Arduino\libraries\IRremoteESP8266
C:\Users\hanso\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3 -I C:\Users\hanso\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/upload.py --chip esp8266 --port COM4 --baud 115200 --before default_reset --after hard_reset write_flash 0x0 C:\Users\hanso\AppData\Local\Temp\arduino_build_452268/IRrecvDumpV2.ino.bin
esptool.py v3.0
Serial port COM4
Connecting........_____....._____....._____....._____....._____....._____.....____
A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header_
It did that earlier today and just now. A little advice. I have two, that one and another under construction.
Put the ESP8266 into flashing mode:
- Hold the GPIO0 pin low (connect to GND).
- Press and release the RST pin (reset the module).
Also, check if the ESP8266 is receiving sufficient power. A weak power supply can cause instability.
If you think about redesigning your system, you can see here:
ESP8266 IR Remote AC controller v1.2.0 - Share Project - PCBWay
Okay, I tried that twice. It loads but there is no output on the serial monitor.
Repeated it on an assembled second one. Same story different device.
It looks like you’re using v3.0 of esptool.py, it is currently on 4.18 GitHub - espressif/esptool: Espressif SoC serial bootloader utility
I’d try a wipe & re-install like so https://support.arduino.cc/hc/en-us/articles/360021325733-Uninstall-Arduino-IDE - be sure to perform the “Removing additional files” steps, then try re-installing/starting over and see how it goes
Backup plan: Those are also fairly old devices, you might have to downgrade/use the older IDE & libraries that the guide does
Hello!
This is 1.8.19, are you saying I might be better off using 1.8.16 or 1.8.15 or even a lower minor number?
I don’t install from the MSI or Microsoft store packages, I unzip the folders into my working folder, and run things from in there. I made sure the right JSON from the ESP8266 on Arduino IDE place was installed, even installing a fresh copy.
A follow up. I found that despite simply deleting the folder containing the tools, and even libraries and sketches, I also needed to remove the folder in one of the hidden places. It seems Windows expects programs running on it to normally place features inside those folders. I made that connection after seeing that a seemingly fresh install contained the same extra boards items that I had stuck in there for a previous job.
Next I’ll add the library series for the WiFi IR Blaster kit.
1 Like