Something that looked like that


I’m not sure you can find those anymore
That’s taken from an old French tutorial I had written a while back
Something that looked like that


I’m not sure you can find those anymore
That’s taken from an old French tutorial I had written a while back
Thanks! If I buy another one, I will buy that adapter also.
However, for this one, what could I do to solve this error? I have seen that it is quite a common problem.
To be honest, I’ll put it in the trash/recycle bin…and never buy one again unless you have a solid reason for that…
get a more capable board and program directly in c++…
I have tried this solution and it still does not work. I believe it should not be a problem related to the firmware as I have flashed it using different ones and I still get the same error always.
I'm not actually sure that the flashing worked. do you get positive confirmation all went fine?
if you run this command line:
esptool.py –port COMx flash_id
(where COMx is your com port), what do you get?
When I run the command you indicated me, I get this.
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Uploading stub...
Running stub...
Stub running...
Manufacturer: 5e
Device: 4014
Detected flash size: 1MB
Hard resetting via RTS pin...
OK that's a good sign that you can read and write from the ESP.
have you tried ESP8266 NONOS SDK V1.5.3 ?
I have just done so, and it gives me the same error.
Using this command to check, it prints me the following:
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Uploading stub...
Running stub...
Stub running...
Manufacturer: 5e
Device: 4014
Detected flash size: 1MB
Hard resetting via RTS pin...
Therefore, I think I have flashed it correctly.
can you share the commands and response you see when flashing ESP8266 NONOS SDK V1.5.3?
may be it's worth erasing the flash
esptool.py --port /dev/tty.usbserial-0001 erase_flash
if you could share all what you see during this process in the command line or console, that would be great
~$ esptool.py --port /dev/tty.usbserial-0001 erase_flash
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 2.6s
Hard resetting via RTS pin...
~$ cd Downloads/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/bin/
~/Downloads/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/bin$ esptool.py --port /dev/tty.usbserial-0001 --baud 115200 write_flash --flash_freq 80m --flash_mode dio --flash_size 4MB 0x78000 blank.bin
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x00078000 to 0x00078fff...
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x00078000 in 0.1 seconds (effective 544.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
~/Downloads/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/bin$ esptool.py --port /dev/tty.usbserial-0001 --baud 115200 write_flash --flash_freq 80m --flash_mode dio --flash_size 4MB 0x7C000 esp_init_data_default.bin
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x0007c000 to 0x0007cfff...
Compressed 128 bytes to 77...
Wrote 128 bytes (77 compressed) at 0x0007c000 in 0.1 seconds (effective 17.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
~/Downloads/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/bin$ esptool.py --port /dev/tty.usbserial-0001 --baud 115200 write_flash --flash_freq 80m --flash_mode dio --flash_size 4MB 0x7A000 blank.bin
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x0007a000 to 0x0007afff...
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x0007a000 in 0.1 seconds (effective 536.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
~/Downloads/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/bin$ esptool.py --port /dev/tty.usbserial-0001 --baud 115200 write_flash --flash_freq 80m --flash_mode dio --flash_size 4MB 0x7E000 blank.bin
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x0007e000 to 0x0007efff...
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x0007e000 in 0.1 seconds (effective 528.2 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
~/Downloads/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/bin$ cd at/noboot/
~/Downloads/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/bin/at/noboot$ esptool.py --port /dev/tty.usbserial-0001 --baud 115200 write_flash --flash_freq 80m --flash_mode dio --flash_size 4MB 0x00000 eagle.flash.bin
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00009fff...
Flash params set to 0x024f
Compressed 39136 bytes to 26341...
Wrote 39136 bytes (26341 compressed) at 0x00000000 in 2.9 seconds (effective 109.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
~/Downloads/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/bin/at/noboot$ esptool.py --port /dev/tty.usbserial-0001 --baud 115200 write_flash --flash_freq 80m --flash_mode dio --flash_size 4MB 0x10000 eagle.irom0text.bin
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x00010000 to 0x00065fff...
Compressed 351216 bytes to 254973...
Wrote 351216 bytes (254973 compressed) at 0x00010000 in 22.6 seconds (effective 124.1 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
~/Downloads/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/bin/at/noboot$ esptool.py --port /dev/tty.usbserial-0001 flash_id
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Uploading stub...
Running stub...
Stub running...
Manufacturer: 5e
Device: 4014
Detected flash size: 1MB
Hard resetting via RTS pin...
--flash_freq 80m --flash_mode dio --flash_size 4MB
your module is only 1MB
can you do the following:
go download ESP8266 NONOS SDK V1.5.4 https://www.espressif.com/sites/default/files/sdks/esp8266_nonos_sdk_v1.5.4_16_05_20.zip
Unzip file file, you should see
As you have 1MB modules, the applicable upload information probably will be (form the readme)
### Flash size 8Mbit: 512KB+512KB
boot_v1.2+.bin 0x00000
user1.1024.new.2.bin 0x01000
esp_init_data_default.bin 0xfc000 (optional)
blank.bin 0x7e000 & 0xfe000
create a directory on your desktop and copy the relevant file from the unzipped folder to your new directory (the last one is in the at/512+512 subdirectory
➜ esp8266_nonos_sdk_v1.5.4_16_05_20/ESP8266_NONOS_SDK/bin/blank.bin
➜ esp8266_nonos_sdk_v1.5.4_16_05_20/ESP8266_NONOS_SDK/bin/boot_v1.2.bin
➜ esp8266_nonos_sdk_v1.5.4_16_05_20/ESP8266_NONOS_SDK/bin/esp_init_data_default.bin
➜ esp8266_nonos_sdk_v1.5.4_16_05_20/ESP8266_NONOS_SDK/bin/at/512+512/user1.1024.new.2.bin
So you should have a simple directory with 4 files

in a terminal console, cd to that working directory and perform the following
esptool.py --port /dev/tty.usbserial-0001 erase_flash
esptool.py --chip esp8266 --port /dev/tty.usbserial-0001 --baud 115200 write_flash 0x00000 boot_v1.2.bin 0x01000 user1.1024.new.2.bin 0xfc000 esp_init_data_default.bin 0x7e000 blank.bin 0xfe000 blank.bin
can you give it a try and report back what you see?
~/Downloads/esp8266_nonos_sdk_v1.5.4_16_05_20/ESP8266_NONOS_SDK/INSTALAR$ esptool.py --port /dev/tty.usbserial-0001 erase_flash
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
.
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 2.5s
Hard resetting via RTS pin...
~/Downloads/esp8266_nonos_sdk_v1.5.4_16_05_20/ESP8266_NONOS_SDK/INSTALAR$ esptool.py --chip esp8266 --port /dev/tty.usbserial-0001 --baud 115200 write_flash 0x00000 boot_v1.2.bin 0x01000 user1.1024.new.2.bin 0xfc000 esp_init_data_default.bin 0x7e000 blank.bin 0xfe000 blank.bin
esptool.py v3.1
Serial port /dev/tty.usbserial-0001
Connecting...
Failed to get PID of a device on /dev/tty.usbserial-0001, using standard reset sequence.
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:68:16:c8
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00000fff...
Flash will be erased from 0x00001000 to 0x00062fff...
Flash will be erased from 0x000fc000 to 0x000fcfff...
Flash will be erased from 0x0007e000 to 0x0007efff...
Flash will be erased from 0x000fe000 to 0x000fefff...
Compressed 1936 bytes to 1460...
Wrote 1936 bytes (1460 compressed) at 0x00000000 in 0.2 seconds (effective 79.8 kbit/s)...
Hash of data verified.
Compressed 399204 bytes to 286943...
Wrote 399204 bytes (286943 compressed) at 0x00001000 in 25.5 seconds (effective 125.1 kbit/s)...
Hash of data verified.
Compressed 128 bytes to 77...
Wrote 128 bytes (77 compressed) at 0x000fc000 in 0.1 seconds (effective 17.4 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x0007e000 in 0.1 seconds (effective 372.9 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x000fe000 in 0.1 seconds (effective 527.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
I still get the same problem
meaning you see
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 31320, room 16
tail 8
chksum 0xef
load 0x00000000, len 0, room 0
tail 0
chksum 0xef
load 0x00000000, len 0, room 8
tail 0
chksum 0xef
csum 0xef
csum err
ets_main.c
when you connect your ESP to a Serial monitor ?
Whenever I see anyone trying to use an ESP as a WiFi shield for an Arduino Uno, I am reminded of the wisdom of Marvin: "This will all end in tears. I just know it".
I would recommend the Wemos D1 Mini or NodeMCU. They already have WiFi and you can run a web server directly on them.
Yes. It just doesn't send anything, and it does not respond to AT Commands. When I reset it connecting RST pin to GND, it prints that error at 74880 baud.
I don't have mine anymore to try out... I would explore variations on this to see if you get lucky...
but as said before, that's already a lot of time invested in a half baked solution that will likely lead to disappointments...