Re: Wemos D1 Mini Pro - Upload Sketch, doesn't run the progr
Posted: Wed Feb 17, 2021 6:45 pm
btidey wrote:Good to hear that is working.
As mentioned the settings for the Pro assume DIO flash programming, and you have got it working by using DOUT.
All the menu options and defaults for different board types are in boards.txt
DOUT is the most compatible mode as all the set up for read / write commands is done via normal SPI and then 2 bits are used for the actual data transfer. DIO is similar for the data transfer but 2 bits are actually used during the addressing phase.
See https://github.com/espressif/esptool/wi ... lash-Modes for a fuller explanation.
The difference between the boards is probably down to different flash chips being used.
You can get details on the flash chip on a board by using ESP.getFlashChipId()
Thank you very much btyDay, I'll follow your advice and I'll read about this.