Closed aliraza1944 closed 4 years ago
@projectgus I have follow a lot of your responses on issues. Kindly take a look at this one too.
Hi @aliraza1944 ,
Thanks for the very detailed bug report. All of the esptool output suggests that the flash chip in the module is not responding to any requests.
Warning: Could not auto-detect Flash size (FlashID=0x0, SizeID=0x0), defaulting to 4MB
Manufacturer: ff Device: ffff Detected flash size: Unknown
Everything else looks normal and correct to me.
You mention that nothing is connected to the pins of the module that are shared with flash. Can you double-check for shorts between any of the module pads, in particular IOs 6-11?
I had exactly same issue with custom board using 128mb flash and esp-wroom-32. Root cause was flash qspi pads had some shorts which occurred during soldering. So I had to desolder the module from the board removed all solders from the pad using wick and then resoldered very carefully then the shorts are gone and it worked like a charm.
@projectgus I checked the pins 6-11 for shorts between them and they all seem soldered fine. Also double checked EN pin and it is being pulled up @ 3.3V.
I have noticed one strange thing and that is the MTDI pin is low at startup as it should be but when I press the Boot button it gets pulled up to 3.3V (probably the continuous resets due to the flash align with the boot button press and put the device in boot mode). If I do the same thing on the ethernet dev kit by espressif, MTDI remains low whether the device is in normal or boot mode.
I have access to two different boards of the same production batch and both are causing the same issue. Is there a chance that the SPI flash on board the module is actually fried.
Also the MTDO pin is being manually pulled up by me too but I guess that shouldn't effect as the default state for MTDO is pull up.
My next steps involve taking the metal jacket of ESP32-WRover-B module and inspecting the SPI and desoldering the module and replacing it with the ESP module from the ethernet devkit.
Another difference between the module on my custom PCB and ethernet devkit is that the custom PCB ESPWrover has a marking "XX0H64" whereas the ethernet devkit module has marking "XX0H32". Let me know if there is anything else I can try.
@123swk123 I checked for shorts but everything seems fine.
Hi everyone, I was able to fix the issue. As expected it was a hardware issue. The ethernet devkit reference designs says to leave GPIO2 NC which I did. If I manually drive the pin low during the upload process the device works.
Operating system
Win 10
Python version
2.7.15
What Chip
ESP32-WROVER-B
What development board or other hardware is the chip attached to
Custom developed PCB. The design is based upon the Ethernet kit 1.1 reference design.
If your hardware is custom or unusual, please attach a photo to the issue. https://imgur.com/KpE0OH4
Is anything else attached to the development board, except for the serial flasher connections?
Yes, but pins 6 -11 are unconnected. MTDI is unconnected. As per the datasheet it shows that internally its NC too due to the 3.3V flash component.
Are you running esptool.py from an IDE such as Arduino or Eclipse?
Using command prompt
Error that I get
What else I have observed.
Probably due to the continuous restarts gpio5 pin is pulled down if I manually pull it up with a wire it goes into flash mode but then I get this.
I am also able to erase the flash using "make erase_flash".
What have I tried
Efuse Summary output
ESPEFUSE Dump
ESPTool Flash id output
Note:
In all the above cases, where I am able to get serial output from the board. I have to manually pull up GPIO5 using a wire.