This might be related to old ESP-01 firmware. I mean 2018-ish firmware in 01s I bought 3 years ago or so.
I had the same problem –- write_flashwrite_flash
works but after the reset garbage is coming in. Try this [installs micropython; change serial device to fit your setup]:
esptool.py -p /dev/tty.usbserial-02022FD3 erase_flash
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash 0xfc000 esp_init_data_default.bin
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash -fs 1MB 0x00000 ../upython-esp8266-1m-20220117-v1.18.bin
Note: the location is flash size dependant – my ESP-01s have 1 MB of flash and you can check it using the esptool.py flash_id
command. Use this reference:
0x7c000
for 512 KB, modules like most ESP-01, -03, -07 etc.0xfc000
for 1 MB, modules like ESP8285, PSF-A85, some ESP-01, -03 etc.0x1fc000
for 2 MB0x3fc000
for 4 MB, modules like ESP-12E, NodeMCU devkit 1.0, WeMos D1 mini
The esp_init_data_default.binesp_init_data_default.bin
file is taken from Espressif SDK, here's my SHA256 of it:
shasum -a 256 esp_init_data_default.bin
81e04e5ec0afef0aad3b52cca2a9bbccc205f4c57334c438e1d81e38ce94b932 esp_init_data_default.bin
But I guess the init file from Github should work OK as well [didn't try though].
This might be related to old ESP-01 firmware. I mean 2018-ish firmware in 01s I bought 3 years ago or so.
I had the same problem –- write_flash works but after the reset garbage is coming in. Try this [installs micropython; change serial device to fit your setup]:
esptool.py -p /dev/tty.usbserial-02022FD3 erase_flash
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash 0xfc000 esp_init_data_default.bin
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash -fs 1MB 0x00000 ../upython-esp8266-1m-20220117-v1.18.bin
Note: the location is flash size dependant – my ESP-01s have 1 MB of flash and you can check it using the esptool.py flash_id
command. Use this reference:
0x7c000
for 512 KB, modules like most ESP-01, -03, -07 etc.0xfc000
for 1 MB, modules like ESP8285, PSF-A85, some ESP-01, -03 etc.0x1fc000
for 2 MB0x3fc000
for 4 MB, modules like ESP-12E, NodeMCU devkit 1.0, WeMos D1 mini
The esp_init_data_default.bin is taken from Espressif SDK, here's my SHA256 of it:
shasum -a 256 esp_init_data_default.bin
81e04e5ec0afef0aad3b52cca2a9bbccc205f4c57334c438e1d81e38ce94b932 esp_init_data_default.bin
But I guess the init file from Github should work OK as well [didn't try though].
This might be related to old ESP-01 firmware. I mean 2018-ish firmware in 01s I bought 3 years ago or so.
I had the same problem –- write_flash
works but after the reset garbage is coming in. Try this [installs micropython; change serial device to fit your setup]:
esptool.py -p /dev/tty.usbserial-02022FD3 erase_flash
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash 0xfc000 esp_init_data_default.bin
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash -fs 1MB 0x00000 ../upython-esp8266-1m-20220117-v1.18.bin
Note: the location is flash size dependant – my ESP-01s have 1 MB of flash and you can check it using the esptool.py flash_id
command. Use this reference:
0x7c000
for 512 KB, modules like most ESP-01, -03, -07 etc.0xfc000
for 1 MB, modules like ESP8285, PSF-A85, some ESP-01, -03 etc.0x1fc000
for 2 MB0x3fc000
for 4 MB, modules like ESP-12E, NodeMCU devkit 1.0, WeMos D1 mini
The esp_init_data_default.bin
file is taken from Espressif SDK, here's my SHA256 of it:
shasum -a 256 esp_init_data_default.bin
81e04e5ec0afef0aad3b52cca2a9bbccc205f4c57334c438e1d81e38ce94b932 esp_init_data_default.bin
But I guess the init file from Github should work OK as well [didn't try though].
This might be realtedrelated to an old ESP-01 firmware. I mean 2018-ish firmware in 01's01s I bought 3 years ago or so.
I had the same problem –- write_flash works but after the reset garbage is coming in. Try this [installs micropython; change serial device to fit your setup]:
esptool.py -p /dev/tty.usbserial-02022FD3 erase_flash
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash 0xfc000 esp_init_data_default.bin
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash -fs 1MB 0x00000 ../upython-esp8266-1m-20220117-v1.18.bin
Note: the location is flash size dependant – my ESP-01's01s have 1 MB of flash and you can check it using the esptool.py flash_id
command. Use this reference:
0x7c000
for 512 KB, modules like most ESP-01, -03, -07 etc.0xfc000
for 1 MB, modules like ESP8285, PSF-A85, some ESP-01, -03 etc.0x1fc000
for 2 MB0x3fc000
for 4 MB, modules like ESP-12E, NodeMCU devkit 1.0, WeMos D1 mini
The esp_init_data_default.bin is taken from Espressif SDK, here's minemy SHA256 of it:
shasum -a 256 esp_init_data_default.bin
81e04e5ec0afef0aad3b52cca2a9bbccc205f4c57334c438e1d81e38ce94b932 esp_init_data_default.bin
But I guess the init file from Github should work OK as well [didn't try thou]though].
This might be realted to an old ESP-01 firmware. I mean 2018-ish firmware in 01's I bought 3 years ago or so.
I had the same problem –- write_flash works but after the reset garbage is coming in. Try this [installs micropython; change serial device to fit your setup]:
esptool.py -p /dev/tty.usbserial-02022FD3 erase_flash
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash 0xfc000 esp_init_data_default.bin
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash -fs 1MB 0x00000 ../upython-esp8266-1m-20220117-v1.18.bin
Note: the location is flash size dependant – my ESP-01's have 1 MB of flash and you can check it using esptool.py flash_id
command. Use this reference:
0x7c000
for 512 KB, modules like most ESP-01, -03, -07 etc.0xfc000
for 1 MB, modules like ESP8285, PSF-A85, some ESP-01, -03 etc.0x1fc000
for 2 MB0x3fc000
for 4 MB, modules like ESP-12E, NodeMCU devkit 1.0, WeMos D1 mini
The esp_init_data_default.bin is taken from Espressif SDK, here's mine SHA256 of it:
shasum -a 256 esp_init_data_default.bin
81e04e5ec0afef0aad3b52cca2a9bbccc205f4c57334c438e1d81e38ce94b932 esp_init_data_default.bin
But I guess init file from Github should work OK as well [didn't try thou].
This might be related to old ESP-01 firmware. I mean 2018-ish firmware in 01s I bought 3 years ago or so.
I had the same problem –- write_flash works but after the reset garbage is coming in. Try this [installs micropython; change serial device to fit your setup]:
esptool.py -p /dev/tty.usbserial-02022FD3 erase_flash
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash 0xfc000 esp_init_data_default.bin
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash -fs 1MB 0x00000 ../upython-esp8266-1m-20220117-v1.18.bin
Note: the location is flash size dependant – my ESP-01s have 1 MB of flash and you can check it using the esptool.py flash_id
command. Use this reference:
0x7c000
for 512 KB, modules like most ESP-01, -03, -07 etc.0xfc000
for 1 MB, modules like ESP8285, PSF-A85, some ESP-01, -03 etc.0x1fc000
for 2 MB0x3fc000
for 4 MB, modules like ESP-12E, NodeMCU devkit 1.0, WeMos D1 mini
The esp_init_data_default.bin is taken from Espressif SDK, here's my SHA256 of it:
shasum -a 256 esp_init_data_default.bin
81e04e5ec0afef0aad3b52cca2a9bbccc205f4c57334c438e1d81e38ce94b932 esp_init_data_default.bin
But I guess the init file from Github should work OK as well [didn't try though].
This might be realted to an old ESP-01 firmware. I mean 2018-ish firmware in 01's I bought like 3 years ago or so.
I had the same problem –- write_flash works but after the reset garbage is coming in. Try this [installs micropython; change serial device to fit your setup]:
esptool.py -p /dev/tty.usbserial-02022FD3 erase_flash
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash 0xfc000 esp_init_data_default.bin
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash -fs 1MB 0x00000 ../upython-esp8266-1m-20220117-v1.18.bin
Note: the location is flash size dependant – my ESP-01's have 1 MB of flash and you can check it using esptool.py flash_id
command. Use this reference:
0x7c000
for 512 KB, modules like most ESP-01, -03, -07 etc.0xfc000
for 1 MB, modules like ESP8285, PSF-A85, some ESP-01, -03 etc.0x1fc000
for 2 MB0x3fc000
for 4 MB, modules like ESP-12E, NodeMCU devkit 1.0, WeMos D1 mini
The esp_init_data_default.bin is taken from SDKEspressif SDK, here's mine SHA256 of it:
shasum -a 256 esp_init_data_default.bin
81e04e5ec0afef0aad3b52cca2a9bbccc205f4c57334c438e1d81e38ce94b932 esp_init_data_default.bin
But I guess init file from Github should work OK as well [didn't try thou].
This might be realted to an old ESP-01 firmware. I mean 2018-ish firmware in 01's I bought like 3 years ago.
I had the same problem –- write_flash works but after the reset garbage is coming in. Try this [installs micropython; change serial device to fit your setup]:
esptool.py -p /dev/tty.usbserial-02022FD3 erase_flash
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash 0xfc000 esp_init_data_default.bin
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash -fs 1MB 0x00000 ../upython-esp8266-1m-20220117-v1.18.bin
The esp_init_data_default.bin is taken from SDK, here's mine SHA256 of it:
shasum -a 256 esp_init_data_default.bin
81e04e5ec0afef0aad3b52cca2a9bbccc205f4c57334c438e1d81e38ce94b932 esp_init_data_default.bin
This might be realted to an old ESP-01 firmware. I mean 2018-ish firmware in 01's I bought 3 years ago or so.
I had the same problem –- write_flash works but after the reset garbage is coming in. Try this [installs micropython; change serial device to fit your setup]:
esptool.py -p /dev/tty.usbserial-02022FD3 erase_flash
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash 0xfc000 esp_init_data_default.bin
esptool.py -p /dev/tty.usbserial-02022FD3 write_flash -fs 1MB 0x00000 ../upython-esp8266-1m-20220117-v1.18.bin
Note: the location is flash size dependant – my ESP-01's have 1 MB of flash and you can check it using esptool.py flash_id
command. Use this reference:
0x7c000
for 512 KB, modules like most ESP-01, -03, -07 etc.0xfc000
for 1 MB, modules like ESP8285, PSF-A85, some ESP-01, -03 etc.0x1fc000
for 2 MB0x3fc000
for 4 MB, modules like ESP-12E, NodeMCU devkit 1.0, WeMos D1 mini
The esp_init_data_default.bin is taken from Espressif SDK, here's mine SHA256 of it:
shasum -a 256 esp_init_data_default.bin
81e04e5ec0afef0aad3b52cca2a9bbccc205f4c57334c438e1d81e38ce94b932 esp_init_data_default.bin
But I guess init file from Github should work OK as well [didn't try thou].