Hello all,
I'm new here.
I have been trying to upload a Nodemcu V3 with an ESP8266 a Micropython firmware for some time now.
Unfortunately, so far I have not succeeded.
When I upload the firmware v1.17 (2021-09-02) .bin, and when it is done, the LED flashes very fast.
There is then no micropython loaded.
With the following line I tried the upload:
esptool --port /dev/ttyUSB0 --baud115200 write_flash --flash_size=detect 0 esp8266-20210902-v1.17.bin
I don't know what options I have left to upload it properly, or maybe I'm doing something wrong.
Regards Robert.
Flash failure
Re: Flash failure
You can try the four flash_mode option variants. The default is dio. But some boards need a different option, like dout.
Re: Flash failure
You likely want the DIO option. I just flashed a NodeMCU v3 using Thonny, and DIO worked as expected:
-
- Posts: 4
- Joined: Sat May 14, 2022 6:34 pm
Re: Flash failure
Hello Scruss,
I can't choose that option in my Thonny.
I am running it under Linux(Ubuntu Mate).
The version I have is 3.2.7.
This is the latest version for Linux.
Regards Robert.
I can't choose that option in my Thonny.
I am running it under Linux(Ubuntu Mate).
The version I have is 3.2.7.
This is the latest version for Linux.
Regards Robert.
-
- Posts: 4
- Joined: Sat May 14, 2022 6:34 pm
Re: Flash failure
Helle Roberth,
When I add -fm dout in the line, I get an error message.
Should I remove the baud rate if necessary?
If it's possible, can you give me an example line.
Regards Robert.
Re: Flash failure
It should be:
esptool --port /dev/ttyUSB0 --baud 115200 write_flash --flash_size=4MB --flash_mode dout 0 esp8266-20210902-v1.17.bin
If the flash size of your device is >4MB, you have to set it to 4MB.
The flash modes are qio,qout,dio or dout.
esptool --port /dev/ttyUSB0 --baud 115200 write_flash --flash_size=4MB --flash_mode dout 0 esp8266-20210902-v1.17.bin
If the flash size of your device is >4MB, you have to set it to 4MB.
The flash modes are qio,qout,dio or dout.
Re: Flash failure
I have 3.3.14 on my Ubuntu box here.robertje1024 wrote: ↑Tue May 17, 2022 5:25 pmThe version I have is 3.2.7.
This is the latest version for Linux.
-
- Posts: 4
- Joined: Sat May 14, 2022 6:34 pm
Re: Flash failure
Hello guys,
I managed to upload the firmware with the "dio"
But then I still want to know how you got the version in Ubuntu.
I downloaded my Thonny through the standard way, with "sudo apt-get install thonny".
Thanks to help me.
My project, a weatherstation is running now.
Regards Robert
I managed to upload the firmware with the "dio"
But then I still want to know how you got the version in Ubuntu.
I downloaded my Thonny through the standard way, with "sudo apt-get install thonny".
Thanks to help me.
My project, a weatherstation is running now.
Regards Robert