What am I doing wrong with the ESP32 module?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
marceloMiranda
Normal user
Posts: 10
Joined: 12 Dec 2018, 18:01

What am I doing wrong with the ESP32 module?

#1 Post by marceloMiranda » 14 Dec 2018, 13:32

Hello everyone!

I'm trying to use ESP32 but the ESP_EASY network does not appear for me to connect to 192.168.4.1.

I am using the latest mega-20181214 version and used the two programs that come in it ...

I programmed using the commands below:

esptool -p / dev / ttyUSB0 write_flash 0x00000 ESP_Easy_mega-20181214_esp32test_1M8_partition.bin

esptool -p / dev / ttyUSB0 write_flash 0x00000 ESP_Easy_mega-20181214_esp32dev.bin

The two modules are as follows:
esp32modules.jpeg
esp32modules.jpeg (69.28 KiB) Viewed 13993 times
Nothing happened, so I connected the serial and a message appears below:
esp32.png
esp32.png (159.16 KiB) Viewed 13993 times
What am I doing wrong? :?:

Best regards
Marcelo Miranda

marceloMiranda
Normal user
Posts: 10
Joined: 12 Dec 2018, 18:01

Re: What am I doing wrong with the ESP32 module?

#2 Post by marceloMiranda » 17 Dec 2018, 14:25

:cry:
Why nobody answers me?
ESP32 would it be in another topic?

Marcelo Miranda

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: What am I doing wrong with the ESP32 module?

#3 Post by grovkillen » 17 Dec 2018, 15:33

marceloMiranda wrote: 17 Dec 2018, 14:25 :cry:
Why nobody answers me?
ESP32 would it be in another topic?

Marcelo Miranda
ESP32 support is still experimental and we are very pressured by the release of a first stable for the ESP82XX. Please be patient and we'll get going on the ESP32 in early next year.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

waspie
Normal user
Posts: 127
Joined: 09 Feb 2017, 19:35

Re: What am I doing wrong with the ESP32 module?

#4 Post by waspie » 17 Dec 2018, 16:03

looks like its in flash mode?

marceloMiranda
Normal user
Posts: 10
Joined: 12 Dec 2018, 18:01

Re: What am I doing wrong with the ESP32 module?

#5 Post by marceloMiranda » 17 Dec 2018, 17:06

Sorry to bother you.
You need any help I can by testing something, please let me know.

Tommmii
Normal user
Posts: 37
Joined: 06 Apr 2018, 12:37

Re: What am I doing wrong with the ESP32 module?

#6 Post by Tommmii » 18 Dec 2018, 17:21

i just flashed ESPEasy_mega-20181218.zip without any problems.

I think perhaps you neglected to flash the extra bin files :
  • boot_app0.bin
  • bootloader.bin
  • ESPEasy.ino.partitions.bin

marceloMiranda
Normal user
Posts: 10
Joined: 12 Dec 2018, 18:01

Re: What am I doing wrong with the ESP32 module?

#7 Post by marceloMiranda » 18 Dec 2018, 18:45

I neglected to flash the extra bin, but how you program...
See considering the latest version "Release mega-20181218" I download zip and inside has only 2 file about ESP32 ...

• boot_app0.bin → may be ESP_Easy_mega-20181218_esp32dev.bin
• bootloader.bin → :?:
• ESPEasy.ino.partitions.bin → may be ESP_Easy_mega-20181218_esp32test_1M8_partition.bin

Then a try the comand bellow:
esptool -p /dev/ttyUSB0 --baud 115200 write_flash --flash_freq 40m 0x1000 ESP_Easy_mega-20181218_esp32dev.bin

esptool.py v2.1
Connecting.......
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision (unknown 0xa))
Enabling default SPI flash mode...
Configuring flash size...
Auto-detected Flash size: 4MB
Erasing flash...
Took 4.56s to erase flash block
Wrote 1294336 bytes at 0x00001000 in 126.7 seconds (81.7 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting…

any again don work...

Please, how you program your ESP32?

Hamed
New user
Posts: 1
Joined: 05 Oct 2019, 16:00

Re: What am I doing wrong with the ESP32 module?

#8 Post by Hamed » 05 Oct 2019, 16:21

Any comments on this problem ?

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

Re: What am I doing wrong with the ESP32 module?

#9 Post by TD-er » 05 Oct 2019, 16:59

Is it still a problem when flashing the latest nightly built ESP32 files?
I only flashed them using the programming environment.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: What am I doing wrong with the ESP32 module?

#10 Post by Shardan » 06 Oct 2019, 21:46

Any usefull "HowTo flash ESp32"? Nothing in the Wiki, afaik.
Regards
Shardan

User avatar
Sasch600xt
Normal user
Posts: 164
Joined: 10 Sep 2018, 16:37

Re: What am I doing wrong with the ESP32 module?

#11 Post by Sasch600xt » 12 Oct 2019, 20:33

Shardan wrote: 06 Oct 2019, 21:46 Any usefull "HowTo flash ESp32"? Nothing in the Wiki, afaik.

Yes, that would be great.

I have an esp32 here and just for fun i would love to flash espeasy to it.

But it wont work for me, so i would need a kinda "How to flash esp32 firmware in a few steps"

So if you have a little "How to" let me know :)

Thank you so much :)
"the flat earth society has members all around the globe"

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: What am I doing wrong with the ESP32 module?

#12 Post by Shardan » 13 Oct 2019, 14:57

I'd really like some advice how to flash an ESP32.
Sadly I have no clue how to do that.
I could write a wiki about that but at this time my job
takes every minute so I lack time to find out everything by myself.

I've some ESP32-nodeMCUs here waiting......
Regards
Shardan

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

Re: What am I doing wrong with the ESP32 module?

#13 Post by TD-er » 13 Oct 2019, 20:44

I only flashed them using the programmer environment and that one is using esptool.py to flash.

User avatar
Sasch600xt
Normal user
Posts: 164
Joined: 10 Sep 2018, 16:37

Re: What am I doing wrong with the ESP32 module?

#14 Post by Sasch600xt » 13 Oct 2019, 21:55

so do i have to connect gpio0 and gpio2 to GND to enter boot mode so i can flash espeasy ?
"the flat earth society has members all around the globe"

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

Re: What am I doing wrong with the ESP32 module?

#15 Post by TD-er » 13 Oct 2019, 22:03

Depends on the setup.
Some boards use the "node MCU" way of restart to flash mode.
This is also supported in the esptool.py flasher as reset option.
At least GPIO-0 should be held low at boot to enter flash mode.

User avatar
Sasch600xt
Normal user
Posts: 164
Joined: 10 Sep 2018, 16:37

Re: What am I doing wrong with the ESP32 module?

#16 Post by Sasch600xt » 13 Oct 2019, 22:19

Thank you for your answere :)

maybe i should wait untill there is an easy way to flash.

now i would say i have an "half" operating system on my ESP32.

I did use the "ESP.Easy.Flasher.exe" to flash the esp32_Test build.
(gpio0 and gpio2 where LOW)

After that an ESP is showing up as Wifi AP, i can connect, but when i try to open 192.168.4.1 nothing apears :(

When i type "ipconfig" in cmd it shows my laptop has got the 192.168.4.2 and the gateway is 192.168.4.1
So this should be fine i think
"the flat earth society has members all around the globe"

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

Re: What am I doing wrong with the ESP32 module?

#17 Post by TD-er » 13 Oct 2019, 22:35

Well if you flashed it, then it should also accept commands from serial.
So you could set the SSID and password using any serial terminal, or even the ESPEasy flasher.
See: https://espeasy.readthedocs.io/en/lates ... nds-listed
wifikey and wifissid.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: What am I doing wrong with the ESP32 module?

#18 Post by Shardan » 17 Oct 2019, 16:04

Testing will be lonely when there is no HowTo for flashing...
I gave in meanwhile, didn't get any ESP32 to run.
Regards
Shardan

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 31 guests