So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By penright
#85173 I do have a programmer from @dyimore.cc.
Using it I can flash ESP-01S.
The ESP-01S came with a relay board.
The programmer came with a ESP-01. I also bought 5 at one time for a total of 6. I have used the programer on all 6 of the ESP-01. I have other USB serial flashers. They work on the ESP-01S, but not the ESP-01.
I did find some old articles, but they did not fit and not being sure the culture on this forum I was afraid to resurrect an old thread.


The programmer does have a switch that shorts GRD to IO0. I don't think that is my issue.

Just in case I have what I am calling the S model backward, let me ask this.
ESP-01 (blue PCB) vs ESP-01S (black PCB)
- 512kB flash vs 1MB flash
- Red power LED vs -No- power LED
- Blue LED on TX vs Blue LED on GPIO2 (low = on)

My non S models are black also, but I am sure of the 01S (right side) because it is silkscreened.
rps20200106_154917_754.jpg


So is the one on the left an ESP-01?
Do they program the same?

Here is an example of me trying to erase the memory. Same error if I try and flash it.
Code: Select all>esptool.exe -cb 115200 -cp COM36 -ce -v
esptool v0.4.13-1-gf80ae31 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
opening bootloader
resetting board
trying to connect
trying to connect
trying to connect
resetting board
trying to connect
trying to connect
trying to connect
resetting board
trying to connect
trying to connect
trying to connect
warning: espcomm_sync failed
error: espcomm_open failed



[Edit]
After posting I found this explaining the differences between the black boards.
https://www.esp8266.com/viewtopic.php?p=78465#p78465
As you can see, mine does not have the "AI-could inside" silkscreened.

[Edit #2]
Here is a video I posted for the person who is helping me where I bought it. I load a 01S model first then the 01 model fails.
https://photos.app.goo.gl/RX5uSKwz3tXTLEXY8
Also here is total out from a fail
https://hastebin.com/eyovikevap.http
You do not have the required permissions to view the files attached to this post.
User avatar
By icons
#85200 The only set up that works for me for all 3 esp8266 01 that I have (black with Al-cloud inside, black with silkscreen and plain black), is Arduino IDE 1.8.5 with esp8266 board manager 2.4.2.

By the way I am using the same programming jig as in your video. With IDE version 1.8.10 I get the same result.
User avatar
By penright
#85208
icons wrote:The only set up that works for me for all 3 esp8266 01 that I have (black with Al-cloud inside, black with silkscreen and plain black), is Arduino IDE 1.8.5 with esp8266 board manager 2.4.2.

By the way I am using the same programming jig as in your video. With IDE version 1.8.10 I get the same result.


I downgraded to 1.85 and ESP8266 version 2.4.2.
An interesting reaction, exact same sketch, same "Tools" settings, getting this error. It seems to have hung here.

Code: Select all"C:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981/arduino.ar" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\core\spiffs_hal.cpp.o"
Archiving built core (caching) in: C:\Users\PAULEN~1\AppData\Local\Temp\arduino_cache_892592\core\core_esp8266_esp8266_generic_CpuFrequency_80,VTable_flash,ResetMethod_ck,CrystalFreq_26,FlashFreq_40,FlashMode_dout,FlashSize_512K0,led_2,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_115200_d6701caec6cd565e8e057befb3154f0b.a
Linking everything together...
"C:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc" -CC -E -P -DVTABLES_IN_FLASH "C:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/ld/eagle.app.v6.common.ld.h" -o "C:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/ld/eagle.app.v6.common.ld"
"C:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc" -Wl,-Map "-Wl,C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981/Tuya-Convert-Donor.ino.map" -g -w -Os -nostdlib -Wl,--no-check-sections -u app_entry -u _printf_float -u _scanf_float -Wl,-static "-LC:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/lib" "-LC:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/ld" "-LC:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/libc/xtensa-lx106-elf/lib" "-Teagle.flash.512k0.ld" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read  -o "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981/Tuya-Convert-Donor.ino.elf" -Wl,--start-group "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\sketch\Tuya-Convert-Donor.ino.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\BearSSLHelpers.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\CertStoreBearSSL.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\ESP8266WiFi.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\ESP8266WiFiAP.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\ESP8266WiFiGeneric.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\ESP8266WiFiMulti.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\ESP8266WiFiSTA.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\ESP8266WiFiScan.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\WiFiClient.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\WiFiClientSecureAxTLS.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\WiFiClientSecureBearSSL.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\WiFiServer.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\WiFiServerSecureAxTLS.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\WiFiServerSecureBearSSL.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981\libraries\ESP8266WiFi\WiFiUdp.cpp.o" "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981/arduino.ar" -lhal -lphy -lpp -lnet80211 -llwip2 -lwpa -lcrypto -lmain -lwps -lbearssl -laxtls -lespnow -lsmartconfig -lairkiss -lwpa2 -lstdc++ -lm -lc -lgcc -Wl,--end-group  "-LC:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981"
"C:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.13/esptool.exe" -eo "C:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/bootloaders/eboot/eboot.elf" -bo "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981/Tuya-Convert-Donor.ino.bin" -bm dout -bf 40 -bz 512K -bs .text -bp 4096 -ec -eo "C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981/Tuya-Convert-Donor.ino.elf" -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WiFi
Sketch uses 253900 bytes (50%) of program storage space. Maximum is 499696 bytes.
Global variables use 28544 bytes (34%) of dynamic memory, leaving 53376 bytes for local variables. Maximum is 81920 bytes.
java.lang.NullPointerException
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingProgrammer(SerialUploader.java:314)
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:89)
   at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
   at processing.app.SketchController.upload(SketchController.java:713)
   at processing.app.SketchController.exportApplet(SketchController.java:686)
   at processing.app.Editor$DefaultExportAppHandler.run(Editor.java:2265)
   at java.lang.Thread.run(Thread.java:748)


I will restart, try some settings. I just thought this was interesting.



Changing memory size, now I am not getting the "memory" error, but still will not flash.

Code: Select allC:\Users\paulenright\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.13/esptool.exe -vv -cd ck -cb 115200 -cp COM36 -ca 0x00000 -cf C:\Users\PAULEN~1\AppData\Local\Temp\arduino_build_631981/Tuya-Convert-Donor.ino.bin
esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
   setting board to ck
   setting baudrate from 115200 to 115200
   setting port from COM1 to COM36
   setting address from 0x00000000 to 0x00000000
   espcomm_upload_file
   espcomm_upload_mem
   setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
resetting board
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
resetting board
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
An error occurred while uploading the sketch
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed



Here are the current "Tool" settings.
Untitled.jpg


Also, as a sanity check, I went back to the 01S and it uploaded.
You do not have the required permissions to view the files attached to this post.