Flashing esp wroom- 32 espeasy

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
momo3000
Normal user
Posts: 13
Joined: 24 Jun 2020, 20:30

Flashing esp wroom- 32 espeasy

#1 Post by momo3000 » 24 Jun 2020, 21:17

Hallo, i am newbie, i received my first esp32 board. I want to install espeasy, but i can't find a complete guide to do it. Can someone help me? i find this guide https://www.14core.com/wiring-bootloadi ... 32-wrover/ but i don't understand wich is the procedure to put esp32 in flashing mode. Thank you!!!

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

Re: Flashing esp wroom- 32 espeasy

#2 Post by Ath » 24 Jun 2020, 21:36

Hi, welcome to the forum!

Most ESP32 boards have 2 buttons, one usually labeled Boot or B and one Reset or EN. To go into flash mode, press and hold the Boot button, and then press the Reset button shortly (about half a second is fine). I usually hold the Boot button for a few more seconds, and then release it. That's usually enough to get it in the right mode. "It at first you don't succeed, try again", is the motto I use here :D
/Ton (PayPal.me)

momo3000
Normal user
Posts: 13
Joined: 24 Jun 2020, 20:30

Re: Flashing esp wroom- 32 espeasy

#3 Post by momo3000 » 24 Jun 2020, 22:13

ok. i tryed using botton sequence. I have got this error using esp easy flesher. This is the copy of log:

######2020-06-24######
#######0.04.007#######
######FLASH INFO######
BIN file: ESP_Easy_mega_20200608_test_ESP32_4M316k-factory.bin
COM port: (COM3) Silicon Labs CP210x USB to UART Bridge (Port_#0004.Hub_#0001)
Baud rate: 115200
######POST FLASH######
No post flash information entered...
######FLASH LOG######
[esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf "C:\Users\HP\Downloads\ESPEasy_ESP32_mega-20200608\bin\ESP_Easy_mega_20200608_test_ESP32_4M316k-factory.bin"]
[24/06/2020 22:12:28] esptool v0.4.12 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
[24/06/2020 22:12:28] setting board to nodemcu
[24/06/2020 22:12:28] setting baudrate from 115200 to 115200
[24/06/2020 22:12:28] setting port from to COM3
[24/06/2020 22:12:28] setting address from 0x00000000 to 0x00000000
[24/06/2020 22:12:28] espcomm_upload_file
[24/06/2020 22:12:28] espcomm_upload_mem
[24/06/2020 22:12:28] setting serial port timeouts to 1000 ms
[24/06/2020 22:12:28] opening bootloader
[24/06/2020 22:12:28] resetting board
[24/06/2020 22:12:28] trying to connect
[24/06/2020 22:12:28] flush start
[24/06/2020 22:12:28] setting serial port timeouts to 1 ms
[24/06/2020 22:12:28] setting serial port timeouts to 1000 ms
[24/06/2020 22:12:28] flush complete
[24/06/2020 22:12:28] espcomm_send_command: sending command header
[24/06/2020 22:12:28] espcomm_send_command: sending command payload
[24/06/2020 22:12:28] read 0, requested 1
[24/06/2020 22:12:28] trying to connect
[24/06/2020 22:12:28] flush start
[24/06/2020 22:12:28] setting serial port timeouts to 1 ms
[24/06/2020 22:12:28] setting serial port timeouts to 1000 ms
[24/06/2020 22:12:28] flush complete
[24/06/2020 22:12:28] espcomm_send_command: sending command header
[24/06/2020 22:12:28] espcomm_send_command: sending command payload
[24/06/2020 22:12:28] espcomm_send_command: receiving 4 bytes of data
[24/06/2020 22:12:28] trying to connect
[24/06/2020 22:12:28] flush start
[24/06/2020 22:12:28] setting serial port timeouts to 1 ms
[24/06/2020 22:12:28] setting serial port timeouts to 1000 ms
[24/06/2020 22:12:28] flush complete
[24/06/2020 22:12:28] espcomm_send_command: sending command header
[24/06/2020 22:12:28] espcomm_send_command: sending command payload
[24/06/2020 22:12:28] espcomm_send_command: receiving 4 bytes of data
[24/06/2020 22:12:28] espcomm_send_command: receiving 4 bytes of data
[24/06/2020 22:12:28] espcomm_send_command: receiving 4 bytes of data
[24/06/2020 22:12:28] espcomm_send_command: receiving 4 bytes of data
[24/06/2020 22:12:28] espcomm_send_command: receiving 4 bytes of data
[24/06/2020 22:12:28] espcomm_send_command: receiving 4 bytes of data
[24/06/2020 22:12:28] espcomm_send_command: receiving 4 bytes of data
[24/06/2020 22:12:28] espcomm_send_command: receiving 4 bytes of data
[24/06/2020 22:12:28] Uploading 1856864 bytes from C:\Users\HP\Downloads\ESPEasy_ESP32_mega-20200608\bin\ESP_Easy_mega_20200608_test_ESP32_4M316k-factory.bin to flash at 0x00000000
[24/06/2020 22:12:28] erasing flash
[24/06/2020 22:12:28] size: 1c5560 address: 000000
[24/06/2020 22:12:28] first_sector_index: 0
[24/06/2020 22:12:28] total_sector_count: 454
[24/06/2020 22:12:28] head_sector_count: 16
[24/06/2020 22:12:28] adjusted_sector_count: 438
[24/06/2020 22:12:28] erase_size: 1b6000
[24/06/2020 22:12:28] espcomm_send_command: sending command header
[24/06/2020 22:12:28] espcomm_send_command: sending command payload
[24/06/2020 22:12:28] setting serial port timeouts to 17264 ms
[24/06/2020 22:12:28] read 0, requested 1
[24/06/2020 22:12:28] setting serial port timeouts to 1000 ms
[24/06/2020 22:12:28] warning: espcomm_send_command: didn't receive command response
[24/06/2020 22:12:28] warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
[24/06/2020 22:12:28] closing bootloader
[24/06/2020 22:12:28] flush start
[24/06/2020 22:12:28] setting serial port timeouts to 1 ms
[24/06/2020 22:12:28] setting serial port timeouts to 1000 ms
[24/06/2020 22:12:28] flush complete
[24/06/2020 22:12:28] error: espcomm_upload_mem failed
[2020-06-24 22:12:28] DONE! BUT WITH (1) ERRORS!
############################
[2020-06-24 22:12:28] The COM port was already in use... the post-flash did not complete.
[2020-06-24 22:12:28] JOB COMPLETED, over and out!

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Flashing esp wroom- 32 espeasy

#4 Post by Wiki » 24 Jun 2020, 22:34

Wrong program for flashing an ESP32.

Use Flash Download Tool

Put the ESP32 in flash mode, start the program, search the .bin, enter flash address 0x00000, hit start and thats it.

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

momo3000
Normal user
Posts: 13
Joined: 24 Jun 2020, 20:30

Re: Flashing esp wroom- 32 espeasy

#5 Post by momo3000 » 24 Jun 2020, 23:11

can i upload easpeasy firmware uploading .bin using 0x00000 address? now the red led pulse fast. i uploaded .bin but i can't see espeasy in wifi network. i think something is going wrong....

henkdejonge
Normal user
Posts: 13
Joined: 22 Nov 2017, 13:47

Re: Flashing esp wroom- 32 espeasy

#6 Post by henkdejonge » 25 Jun 2020, 10:46

Try to have look over here https://tasmota.github.io/docs/ESP32/

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

Re: Flashing esp wroom- 32 espeasy

#7 Post by TD-er » 25 Jun 2020, 12:02

For the ESP32, you should use the "factory" bin file to flash the first time and the the other bin file for an OTA update.

momo3000
Normal user
Posts: 13
Joined: 24 Jun 2020, 20:30

Re: Flashing esp wroom- 32 espeasy

#8 Post by momo3000 » 25 Jun 2020, 12:28

Where i can find default factory bin files?

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

Re: Flashing esp wroom- 32 espeasy

#9 Post by Ath » 25 Jun 2020, 13:12

momo3000 wrote: 25 Jun 2020, 12:28 Where i can find default factory bin files?
They are included in recent builds of ESPEasy, in the bin directory. Latest releases can be found here: https://github.com/letscontrolit/ESPEasy/releases
/Ton (PayPal.me)

momo3000
Normal user
Posts: 13
Joined: 24 Jun 2020, 20:30

Re: Flashing esp wroom- 32 espeasy

#10 Post by momo3000 » 25 Jun 2020, 13:34

i am following this guide:

Code: Select all

https://www.14core.com/wp-content/uploads/2017/09/flashing-esp32-wrover-wroom-flash-download-tools-v3.jpg
i download facotry bin file from here:

https://www.espressif.com/en/support/download/at

i have got this board :ESP32-WROOM-32 AT Bin V2.0

i unzipped the file and i have

1- bootloader.bin 0x1000
2- partitions_at.bin 0x4000
3- factory_WROOM-32.bin 0x10000

this is the screenshot
2020-06-25 (2).png
2020-06-25 (2).png (40.17 KiB) Viewed 27798 times
after, i opened the serial terminal and i can see this. I think that it's not normal and there's something wrong!!!! where?


2020-06-25 (3).png
2020-06-25 (3).png (38.23 KiB) Viewed 27798 times

henkdejonge
Normal user
Posts: 13
Joined: 22 Nov 2017, 13:47

Re: Flashing esp wroom- 32 espeasy

#11 Post by henkdejonge » 25 Jun 2020, 14:49

Hi,

Looks like wrong baudrate..

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

Re: Flashing esp wroom- 32 espeasy

#12 Post by Ath » 25 Jun 2020, 17:15

TD-er wrote down a procedure to flash ESP32 boards here: https://www.letscontrolit.com/forum/vie ... ash#p44622
You shouldn't use the download from that post, as they are a bit 'old' now, you'd better get the latest from the releases page I linked above. There are the -factory.bin files included that initially should be loaded onto the device. After that, just do the OTA update, available from the Tools page (Update Firmware), with a .bin file without -factory in its name.
/Ton (PayPal.me)

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

Re: Flashing esp wroom- 32 espeasy

#13 Post by TD-er » 25 Jun 2020, 17:50

I will make an update in the main docs for flashing the ESP32.
Posts in the forum are quite hard to find if you need them,

momo3000
Normal user
Posts: 13
Joined: 24 Jun 2020, 20:30

Re: Flashing esp wroom- 32 espeasy

#14 Post by momo3000 » 27 Jun 2020, 23:59

Thank you now it's all ok, i am playing with esp 32. This is my first experience using this device. I'll come back soon in this forum. :D

venti
New user
Posts: 6
Joined: 31 Jul 2020, 12:32

Re: Flashing esp wroom- 32 espeasy

#15 Post by venti » 31 Jul 2020, 12:57

TD-er wrote: 25 Jun 2020, 17:50 I will make an update in the main docs for flashing the ESP32.
Posts in the forum are quite hard to find if you need them,
Have you done the update and where can I find it?
Thanks a lot.

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

Re: Flashing esp wroom- 32 espeasy

#16 Post by TD-er » 31 Jul 2020, 17:10

Not yet :oops: , so thanks for the reminder.

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests