Flash ESP Easy on ESP32

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
jbaben
Normal user
Posts: 10
Joined: 07 Mar 2021, 09:45

Flash ESP Easy on ESP32

#1 Post by jbaben » 08 May 2021, 13:22

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.
Attachments
20210507163318.zip
(1.21 KiB) Downloaded 723 times

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Flash ESP Easy on ESP32

#2 Post by Ath » 08 May 2021, 14:29

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)
/Ton (PayPal.me)

jbaben
Normal user
Posts: 10
Joined: 07 Mar 2021, 09:45

Re: Flash ESP Easy on ESP32

#3 Post by jbaben » 09 May 2021, 10:57

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.

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Flash ESP Easy on ESP32

#4 Post by Ath » 09 May 2021, 10:58

Great, thanks for reporting your success!
/Ton (PayPal.me)

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: Flash ESP Easy on ESP32

#5 Post by Smotek7 » 12 Jan 2022, 21:40

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.

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Flash ESP Easy on ESP32

#6 Post by Ath » 12 Jan 2022, 21:46

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)
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Flash ESP Easy on ESP32

#7 Post by TD-er » 12 Jan 2022, 22:19

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.

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: Flash ESP Easy on ESP32

#8 Post by Smotek7 » 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

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Flash ESP Easy on ESP32

#9 Post by Ath » 13 Jan 2022, 11:06

Smotek7 wrote: 13 Jan 2022, 09:31 I have to learn to build my own build
https://espeasy.readthedocs.io/en/lates ... on-espeasy
/Ton (PayPal.me)

jennyluce
New user
Posts: 4
Joined: 13 Jan 2022, 11:15

Re: Flash ESP Easy on ESP32

#10 Post by jennyluce » 13 Jan 2022, 11:31

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

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: Flash ESP Easy on ESP32

#11 Post by Smotek7 » 13 Jan 2022, 14:23

if you mean link
https://td-er.nl/ESPEasy/index_4.html

works fine
I uploaded FW to ESP32

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 37 guests