1. In my ESP32-WROOM-32 case: (1) I click on the Upload button of the IDE. (2) Waiting until this message appears: Connecting ........... (3) I press and hold the BOOT button. (4) I release the BOOT button when uploading starts. (5) At the end-of-uploading, I press EN button to execute the uploaded sketch.
2. My observations/opinions are: (1) BOOT button takes the MCU at the beginning address of boot location in the on-chip ROM memory.
(2) EN button takes the MCU at the beginning address of the sketch in the off-chip flash memory.
Hello and many many thanks for all the replies.
I have selected DOIT ESP32 DEVKIT V1 and successfully programmed the board.
Interestingly I don't need to hold either EN or boot key.
Just plugged into USB3 Win10, Arduino IDE 2.1.0 and press Upload.
Seems there are many versions of these boards on the market and bit pot luck how to use them.
BTW these boards I got from DIYMORE Aliexpress could NEVER have been tested as one board worked out of the bag. However the other board did not show in Device Manger as a comm port and got Really HOT. Under the microscope I found two solder fleks shorting pins, cleaned these off and board seems to work OK.
The resident Boot Loader Program of your ESP32 Kit looks like working in a way the Arduino UNO's Boot Loader Program works.
In Arduino UNO, the control goes to the boot location automatically and starts uploading; after the end of uploading process, the control goes to the beginning address of the sketch for the execution of the uploaded sketch.
In case, the above events do not happen in your case for ESP32 Kit, you may still use the Boot switch to initiate uploading and then use EN switch to begin sketch execution.
Do you see the message Connecting................?
Hello GolamMostafa Below is what is displayed when I press UpLoad:
Sketch uses 709677 bytes (54%) of program storage space. Maximum is 1310720 bytes.
Global variables use 44076 bytes (13%) of dynamic memory, leaving 283604 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM20
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c0:49:ef:f9:c3:70
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x000befff...
Compressed 17520 bytes to 12170...
Writing at 0x00001000... (100 %)
Wrote 17520 bytes (12170 compressed) at 0x00001000 in 0.5 seconds (effective 290.6 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 304.2 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 449.2 kbit/s)...
Hash of data verified.
Compressed 715424 bytes to 464745...
Writing at 0x00010000... (3 %)
Writing at 0x0001ba48... (6 %)
Writing at 0x000287a0... (10 %)
Writing at 0x0003074c... (13 %)
Writing at 0x00035fa0... (17 %)
Writing at 0x0003b4fc... (20 %)
Writing at 0x00040af2... (24 %)
Writing at 0x00045c84... (27 %)
Writing at 0x0004aecd... (31 %)
Writing at 0x00050275... (34 %)
Writing at 0x00055435... (37 %)
Writing at 0x0005a57d... (41 %)
Writing at 0x0005fa2c... (44 %)
Writing at 0x00064dfe... (48 %)
Writing at 0x0006ac36... (51 %)
Writing at 0x00070437... (55 %)
Writing at 0x000755ce... (58 %)
Writing at 0x0007a9a7... (62 %)
Writing at 0x0007fdb1... (65 %)
Writing at 0x000853ca... (68 %)
Writing at 0x0008abb5... (72 %)
Writing at 0x000908bb... (75 %)
Writing at 0x000962ba... (79 %)
Writing at 0x0009c668... (82 %)
Writing at 0x000a6cd5... (86 %)
Writing at 0x000abfa3... (89 %)
Writing at 0x000b19c5... (93 %)
Writing at 0x000b7094... (96 %)
Writing at 0x000bc8b9... (100 %)
Wrote 715424 bytes (464745 compressed) at 0x00010000 in 7.1 seconds (effective 807.5 kbit/s)...
Hash of data verified.
It is safe not to try soldering the capacitor as this is a tricky job which if not done carefully might destroy the RF Shielded Module owing overheat or solder bridge
It is safe not to try soldering the capacitor as this is a tricky job which if not done carefully might destroy the RF Shielded Module owing overheat or solder bridge
Am retired electronics Eng, ex SITA, IBM, Airlines, been soldering for about 65 years.
And am about to add some surface mount LEDs to these boards as they don't have one on GPIO2. Which is real handy as a signal to what is going on in my app
No blink State=0, Slow blink State=1, Quick blink State=2, No blink State=3.
IMK