Page 1 of 1

Flash ESP Easy on ESP32

Posted: 08 May 2021, 13:22
by jbaben
Hello,

I have a problem transferring the ESPEasy firmware to the ESP32 DEVKIT V1.
When flashing, I get an error message (see attached file).
Flash Tool: ESP Easy Flasher (0.04.007)
Firmware: ESP_Easy_mega_20210503_normal_ESP32_4M316K.bin
Board: ESP32 DEVKIT V1

Kind Regards

Juergen B.

Re: Flash ESP Easy on ESP32

Posted: 08 May 2021, 14:29
by Ath
When flashing an ESP32 initially, there are a few prerequisites:
- Use the Espressif flashing tool (included in the combined download in subfolder "Espressif_flash_download_tool_v3.8.5"
- Select a .bin file with 'factory' in the name (this includes the bootloader, partition table, etc. files)
- Flash the file at address 0

Depending on the board, you may need to manually force it into flash mode by holding the BOOT button, short-press the EN button, and after a couple of seconds release the BOOT button. That should be done just before, or while, the flash tool is searching for the board (you have about 10 seconds for that)

After a successful flash you can update the firmware using the Firmware Update button on the Tools tab, now using an ESP32 .bin file without factory in the name.

NB: This can be found in the fine documentation, over here: https://espeasy.readthedocs.io/en/lates ... shing.html (look for the ESP32 section)

Re: Flash ESP Easy on ESP32

Posted: 09 May 2021, 10:57
by jbaben
Hello,

Thank you for the information, I was able to flash the ESP32 with ESPEasy and connect it to my WLAN.

Kind Regards

Juergen B.

Re: Flash ESP Easy on ESP32

Posted: 09 May 2021, 10:58
by Ath
Great, thanks for reporting your success!

Re: Flash ESP Easy on ESP32

Posted: 12 Jan 2022, 21:40
by Smotek7
It is possible to use
Espressif_flash_download_tool
do I also make flash settings directly?
In one step.
If I use a LAN module,
to have Ethernet, IP ... set up right away ...
So that I don't have to use wifi.

Re: Flash ESP Easy on ESP32

Posted: 12 Jan 2022, 21:46
by Ath
You can connect via USB-Serial, like used for flashing, with a software terminal, and type the commands to the unit (you can't correct using backspace though, best prepare the commands in an editor and copy&paste)

Not sure these commands are already documented:

Hardware setup:

Code: Select all

ethphyadr,<addr>
ethpinmdc,<gpio>
ethpinmdio,<gpio>
ethpinpower,<gpio>
ethphytype,<phy-type> // 0=LAN8710, 1=TLK110
ethclockmode,<clock-mode> // 0=Ext_crystal_osc, 1=Int_50MHz_GPIO_0, 2=Int_50MHz_GPIO_16,3=Int_50MHz_GPIO_17_inv
Network setup:

Code: Select all

ethip,<ip4-address>
ethgateway,<gateway-ip>
ethsubnet,<subnet-mask>
ethdns,<0|1> // (1=enable dns mode)
ethwifimode,<0|1> // (0=wifi, 1=ethernet)

Re: Flash ESP Easy on ESP32

Posted: 12 Jan 2022, 22:19
by TD-er
I still have to update the build stored here to the latest build, but you can test this version of the web flasher which also offers the option to open a serial console from the browser right after flashing.
https://td-er.nl/ESPEasy/index_4.html

There you can also add the commands for "wifikey,MySecretKey" and "wifissid,MySSID" (and "save")
You can also build a fully Custom build, where you define all the presets for your builds in a Custom.h file.

Re: Flash ESP Easy on ESP32

Posted: 13 Jan 2022, 09:31
by Smotek7
@Ath
Entering one at a time is time consuming.

But knowing that this is the possibility.

@TD-er
Web flash works
but the console does not appear.
Or I can't open.

I have to learn to build my own build

Re: Flash ESP Easy on ESP32

Posted: 13 Jan 2022, 11:06
by Ath
Smotek7 wrote: 13 Jan 2022, 09:31 I have to learn to build my own build
https://espeasy.readthedocs.io/en/lates ... on-espeasy

Re: Flash ESP Easy on ESP32

Posted: 13 Jan 2022, 11:31
by jennyluce
Smotek7 wrote: 13 Jan 2022, 09:31 @Ath
Entering one at a time is time consuming.

But knowing that this is the possibility.

@TD-er
Web flash works
but the console does not appear.
Or I can't open.

I have to learn to build my own build
did below worked for you??. I am scared to open any links

Re: Flash ESP Easy on ESP32

Posted: 13 Jan 2022, 14:23
by Smotek7
if you mean link
https://td-er.nl/ESPEasy/index_4.html

works fine
I uploaded FW to ESP32