ESP 32 issues

597 views
Skip to first unread message

laf...@lafleur.us

unread,
Jun 24, 2021, 1:29:27 PM6/24/21
to TasmotaUsers

I'm new to this project, when I flash an ESP8266, all is well...
but with ESP32. Feather  or TTGO, I get this output from the serial monitor...
~~~


rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun  8 2016 00:22:57


---------------------------------

Command: esptool.py --port /dev/cu.usbserial-28 --baud 115200 --after no_reset write_flash --flash_size detect --flash_mode dio 0x00000 /Users/lafleur/Downloads/tasmota32.bin --erase-all

esptool.py v3.0
Serial port /dev/cu.usbserial-28
Connecting........_____....._
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, Coding Scheme None
Crystal is 40MHz
MAC: 30:ae:a4:6a:a4:9c
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Erasing flash (this may take a while)...
Chip erase completed successfully in 6.1s
Compressed 1492016 bytes to 889195...
Wrote 1492016 bytes (889195 compressed) at 0x00000000 in 78.2 seconds (effective 152.7 kbit/s)...
Hash of data verified.

Leaving...
Staying in bootloader.

Firmware successfully flashed. Unplug/replug or reset device
to switch back to normal boot mode.

Erix

unread,
Jun 24, 2021, 2:55:57 PM6/24/21
to TasmotaUsers, laf...@lafleur.us, erix molinie

Hi,
I am far from an expert but your command line doesn't exactly look like the one on the Tasmota Docs
I don't know if it's the cause of your problem, but it doesn't hurt to try it..
Hope it helps a bit
Cheers
Erix


or

Initial flashing support for ESP32 using partition scheme esp32_partition_app1856k_spiffs320k.csv
which is standard for Tasmota32 and ESP32 with 4 Mbyte flash.

Updated to Esptool.py 3.0 and Pyserial 3.5. (Should now work with MacOS BigSur)



Flashing

Use ESP_Flasher for flashing an ESP32 or ESP82xx (Windows and MacOs executables are tested and verified as working).

With esptool.py use the following command syntax (replace COM port number!):

esptool.py --chip esp32 --port COM5 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dout --flash_freq 40m --flash_size detect 0x1000 bootloader_dout_40m.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 tasmota32.bin

Use a proper power supply!

ESP32 is power hungry and there's a high chance it will not be able to boot properly off the serial-to-USB power. Power it from a separate power supply that can provide at least 1A.


--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/f5cd341b-81b3-4588-b57a-b0edc343a5afn%40googlegroups.com.

laf...@lafleur.us

unread,
Jun 26, 2021, 9:55:52 AM6/26/21
to TasmotaUsers
I have used both NodeMCU and ESP-Flasher, have the same issue...

Philip Knowles

unread,
Jun 26, 2021, 1:59:48 PM6/26/21
to laf...@lafleur.us, TasmotaUsers

You do not appear to have flashed partitions.bin, bootloader_dout_m40.bin or boot_app0.bin which you need to. ESP32 is not the same as ESP8266 you need to flash all 4 bins

 

Regards

 

Phil K

 

Sent from Mail for Windows 10

Tom Lafleur

unread,
Jun 26, 2021, 2:06:00 PM6/26/21
to Philip Knowles, TasmotaUsers
Thanks, I'll look for instructions on how to do this....  Was unaware after reading flashing notes, ...

Thanks

~~ _/) ~~~~ _/) ~~~~ _/) ~~~~ _/) ~~

Tom Lafleur

On Jun 26, 2021, at 10:59 AM, Philip Knowles <knowles...@gmail.com> wrote:



Philip Knowles

unread,
Jun 26, 2021, 6:29:28 PM6/26/21
to Tom Lafleur, TasmotaUsers

esptool.py --chip esp32 --port COM5 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dout --flash_freq 40m --flash_size detect 0x1000 bootloader_dout_40m.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 tasmota32.bin

 

Sent from Mail for Windows 10

Jon Bartlett

unread,
Jun 27, 2021, 8:50:07 AM6/27/21
to TasmotaUsers

I had similar problems last weekend, the dev version of esp32-cam would flash, but not run on AI-Tinkerer.  Switching to release version worked for me.
I didn't flash the other partitions, and used espflasher...
Reply all
Reply to author
Forward
0 new messages