What's the matter with the esp32 D2WD Flash download fail ?

Smartisan
Posts: 45
Joined: Sat May 20, 2017 3:08 am

What's the matter with the esp32 D2WD Flash download fail ?

Postby Smartisan » Tue Jul 11, 2017 7:40 am

It's the first time we use the esp32 d2wd which embeled falsh inner, we once use the esp32 d0wd which the flash out and it's flash download well. We don't konw why the same way can't be used in the esp32 d2wd? Apart from the flash is there any difference between the d2wd and d02d ? Before we download flash we have been pulled down the gpio0 so it can be in download mode, but the print message is error we can't get any information because it's garbled.Could anyone help me please? I submit the picture in the attachments,THX! :oops: :oops: :oops: :oops:
Attachments
A24201005D2090F73FD44ABB1640E068.jpg
A24201005D2090F73FD44ABB1640E068.jpg (88.72 KiB) Viewed 14723 times
3FE0E922E568CFF51EA05B176C0097CA.jpg
3FE0E922E568CFF51EA05B176C0097CA.jpg (347.22 KiB) Viewed 14723 times

roctwo
Posts: 95
Joined: Mon Nov 28, 2016 3:12 am

Re: What's the matter with the esp32 D2WD Flash download fail ?

Postby roctwo » Tue Jul 11, 2017 8:47 am

I have met this problem too.I expect explanation.Thanks.

ESP_Sprite
Posts: 9772
Joined: Thu Nov 26, 2015 4:08 am

Re: What's the matter with the esp32 D2WD Flash download fail ?

Postby ESP_Sprite » Tue Jul 11, 2017 8:48 am

I see you're using version 3.4.5 of the download tool, which afaik is not the newest one. Can you try grabbing the newest version from https://espressif.com/en/support/download/other-tools and trying again?

Alternatively, if you're using esp-idf, it also has an internal download tool you can use. Just run 'make flash' from the root of your project.

Smartisan
Posts: 45
Joined: Sat May 20, 2017 3:08 am

Re: What's the matter with the esp32 D2WD Flash download fail ?

Postby Smartisan » Wed Jul 12, 2017 1:19 am

We use the flash download tool v3.4.9 as you say but can't work well.I post messege and submit,please help me to see if there any wrong?
We think it was something wrong with the flash? Could you please tell me is the flash ok? Because we have used the esp32 d0wd which work OK,as you know the flash is outside but the d2wd is inner and this is the only different between the two chips.
Please help me? We are very anxious about this problem!!!
Attachments
IMG_20170712_090547R.jpg
IMG_20170712_090547R.jpg (7.16 MiB) Viewed 14681 times

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: What's the matter with the esp32 D2WD Flash download fail ?

Postby WiFive » Wed Jul 12, 2017 2:19 am


What is your schematic?

You know about:
The embedded flash operates at 1.8V. For the ESP32 series of chips that contain embedded flash, the MTDI/GPIO12 should be pulled high.
ESP32-D2WD’s pins GPIO16, GPIO17, SD_CMD, SD_CLK, SD_DATA_0 and SD_DATA_1 are used for
connecting the embedding flash, and are not recommended for other uses.

Smartisan
Posts: 45
Joined: Sat May 20, 2017 3:08 am

Re: What's the matter with the esp32 D2WD Flash download fail ?

Postby Smartisan » Wed Jul 12, 2017 2:47 am

Yes,we pull high the MTDI/GPIO12 and the gpio which used for embeded flash were not used for others,but the flashdownload still can't work well! Is there any other solution to solve the problem?

xunxunnihao
Posts: 2
Joined: Wed Jul 12, 2017 5:44 am

Re: What's the matter with the esp32 D2WD Flash download fail ?

Postby xunxunnihao » Wed Jul 12, 2017 6:17 am

ESP32-D2WD can not download,the situation I've met too recently.
GPIO0 is pulled down,and GPIO12/MTDI is pulled high,the voltage of pin VDD_SDIO is 1.8V.
The system power is 3.3V and the clock is 40MHz,all the conditions is satisfied,but still can't download bin to the flash which is embedded the ESP32,it confused me these days.

I've download bin to the ESP32-D2WD through linux,prints as below:
ESP32-D2WD.jpg
ESP32-D2WD.jpg (75.66 KiB) Viewed 14652 times
it shows can't detect flash,does anybody have ideas?

and the ESP32-D0WDQ6,prints as below:
ESP32D0WDQ6.jpg
ESP32D0WDQ6.jpg (78.37 KiB) Viewed 14652 times
it could download bin to the flash which is out of ESP32.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: What's the matter with the esp32 D2WD Flash download fail ?

Postby ESP_Angus » Wed Jul 12, 2017 6:30 am

xunxunnihao wrote:ESP32-D2WD can not download,the situation I've met too recently.
You have quite an old version of esptool.py (v2.0beta1, it's printed in the log output). This version pre-dates ESP32-D2WD support. Please get a newer esptool.py or newer ESP-IDF (which includes esptool.py). esptool.py v2.0 final or newer should work.

If you have an old ESP-IDF then it may also not have ESP32-D2WD support yet (it is supported in ESP-IDF v2.1-rc1 or newer.)

Regarding the Windows GUI flash download tool, we'll check with the developers if this tool has been updated for ESP32-D2WD yet. In the meantime you can use "make flash" in IDF or install esptool.py from https://github.com/espressif/esptool/

Who is online

Users browsing this forum: No registered users and 39 guests