Burn New Bootloader Esp32 Flash Download Tool Mac

Hi,

Select Arduino328 from Tools Board 2. Select your serial port (same as before). Select Arduino as ISP from Tools Programmer 4. Select Burn Bootloader It will take like 30 seconds, and voila! You can now use your cheap, not pico, ATMega328 as a normal Arduino. The ESP32 has a few common problems, specially when you are trying to upload new sketches or install the ESP32 add-on on the Arduino IDE. This guide is dedicated to the ESP32 when programmed with Arduino IDE.


I'm using ESPFlashDownloadTool_v3.6.4
My OS is win10x64
My device is MH-ET ESP32MiniKit which uses an ESP-WROOM-32 module.
I tested download bins files with default security.conf, it worked.

Esp32 Flash Download Tool V3.6.4

But I tried to download with Flash Encryption enabled, it failed.
Here is my security.confI closed the downloader and restarted again, I got the Window as expected
Window.PNG (83.21 KiB) Viewed 5671 times
Here are my settings:The settings are not changed, they worked with the default security.conf with no Secure Boot or Flash Encryption

How To Flash Esp32

Click the START button, and it reports errors:
Log.PNG (37.79 KiB) Viewed 5671 times
A text copy of the error log:
test offset : 4096 0x1000
case ok
test offset : 32768 0x8000
case ok
test offset : 57344 0xe000
case ok
test offset : 65536 0x10000
case ok
CONNECT BAUD: 115200
...Efuse CONSOLE_DEBUG_DISABLE is already burned.
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Exception in thread Thread-1:
Traceback (most recent call last):
File 'threading.pyo', line 801, in __bootstrap_inner
File 'download_panel_info.pyo', line 790, in run
File 'espDownloader.pyo', line 432, in flash_download_test
File 'espDownloader.pyo', line 599, in flash_download_func
File 'espDownloader.pyo', line 1562, in esp_write_flash
File 'espDownloader.pyo', line 1535, in esp_gen_secure_key
NameError: global name 'path_str' is not defined
Hope someone could help.

Download flash tool from espressif

Link: Dowload — (Google Cloud)

Flash Download Tools (ESP8266 & ESP32) Windows PC

Esp32 flash download tool v3.6.4

This turtorial use version: Windows PC – V3.6.5 .

Download Test Firmware for ESPrtk :

Link : Download — (Google Cloud)

Open the software.

Extract the downloaded file, find the software named “fash_download_toolv365.exe”.

Run the software, a new window appears with 4 subprograms. Please select “ESP32 downloadtool”.

A new window with the interface as shown below

Burn New Bootloader Esp32 Flash Download Tool Mac Os

Add files:

Click the … button to add the .bin file component.

Find the folder containing the firmware files for esp32. Click and enter the address in the following order:

TypeFile nameAddress
Bootloader_a_0x1000.bin 0x1000
Partition Table _b_0x8000.bin 0x8000
Main File _c_0x10000.bin 0x10000
SPIFFS_d_0x225000.bin 0x225000

Tick ​​on the selected buttons on all files:

Upload configuration for ESPrtk is:

  • CrystalFreq: 40MHz.
  • SPI Speed: 80MHz.
  • SPI Mode: DIO.
  • Flash Size: 32Mbit.
  • SPIAutoset: No Select.
  • DoNotChgbin: No Select.

Flash

Pull GPIO0 LOW by pressing the “program” button on your development board. Reset the ESP32 by pressing the EN button momentarily while holding down the IO0 button.

(You do not need to do this if ESP32 is mounted on the development board that supports automatically pulling IO0 pins such as DEVCKIT, NodeMCU boards, …)

Now the ESP32 will successfully enter the flash programming mode. You can now set the files and check the required BIN file slots in the software such that they are all set to be downloaded into the flash.

Make sure that the COM port has been correctly selected. The download tool would typically automatically detect an USB-UART converter.

Burn New Bootloader Esp32 Flash Download Tool Mac 10

Next press the Start button to continue and flash the BIN files into your ESP32 module, ESP32 will return information about the MAC address and the progress bar will start running.

Status box switch to mode: “Download”

Flash complete, Status box switch to mode: “Finish”

Esp32 Firmware

Now, press the STOP button, Status box changes to: “STOP”.

You can see a short video bellow :

Check.

After upload success, Press reset button on ESP32 and open Serial Terminal at baudrate 230400 to see output messeage.