ESP32 Download Tool Address
Posted: Wed Dec 19, 2018 11:23 pm
Hi,
I've been always using Arduino IDE to load firmware to my ESP32 device, but recently I need to switch over to the ESP32 Download Tool. I have a hard time to find/fill in the Bootloader and Partition Bin files and their addresses, hope someone can help provide some hints or guideline.
This is my Arduino Set Up for my custom board:
*Board: ESP32 Dev Module
*Upload Speed: 115200
*Flash frequency: 40Mhz
*Flash Mode: DIO
*Flash Size: 4MB
*Partition Scheme: Minimal SPIFFS (since I use BLE and Wifi for OTA update, which need more memory space)
For the ESP32 Download Tool (see my attached picture)
1. For the bootloader:
I did try to use bootloader_qio_40m.bin at the address 0x1000
-> I got the file from Arduino\hardware\espressif\esp32\tools\sdk\bin
-> For the address, I am not sure which one to put there so I use a random address that I found online, where other people use it.
-> I got an IO error saying the bootload is not available in the flash download tool folder.
IOError: [Errno 2] No such file or directory: u'C:\\...\\Programmer Software\\flash_download_tools_v3.6.5_0\\flash_download_tools_v3.6.5\\flash_download_tools_v3.6.5\\dl_temp/_temp_by_dltool/downloadPanel1\\bootloader_qio_40m.bin_rep'
2. For the partition:
I have min_spiffs.bin at the address 0x4000
->I used Python to generate the bin file from the min_spiffs.csv from the folder Arduino\hardware\espressif\esp32\tools\partitions
-> Same as the bootloader's address, I really don't know what to use for the partition address.
3. For my firmware:
I have the .bin file generated by Arduino, address at 0x10000. It looks like this is a valid address.
Any thoughts?
-
I've been always using Arduino IDE to load firmware to my ESP32 device, but recently I need to switch over to the ESP32 Download Tool. I have a hard time to find/fill in the Bootloader and Partition Bin files and their addresses, hope someone can help provide some hints or guideline.
This is my Arduino Set Up for my custom board:
*Board: ESP32 Dev Module
*Upload Speed: 115200
*Flash frequency: 40Mhz
*Flash Mode: DIO
*Flash Size: 4MB
*Partition Scheme: Minimal SPIFFS (since I use BLE and Wifi for OTA update, which need more memory space)
For the ESP32 Download Tool (see my attached picture)
1. For the bootloader:
I did try to use bootloader_qio_40m.bin at the address 0x1000
-> I got the file from Arduino\hardware\espressif\esp32\tools\sdk\bin
-> For the address, I am not sure which one to put there so I use a random address that I found online, where other people use it.
-> I got an IO error saying the bootload is not available in the flash download tool folder.
IOError: [Errno 2] No such file or directory: u'C:\\...\\Programmer Software\\flash_download_tools_v3.6.5_0\\flash_download_tools_v3.6.5\\flash_download_tools_v3.6.5\\dl_temp/_temp_by_dltool/downloadPanel1\\bootloader_qio_40m.bin_rep'
2. For the partition:
I have min_spiffs.bin at the address 0x4000
->I used Python to generate the bin file from the min_spiffs.csv from the folder Arduino\hardware\espressif\esp32\tools\partitions
-> Same as the bootloader's address, I really don't know what to use for the partition address.
3. For my firmware:
I have the .bin file generated by Arduino, address at 0x10000. It looks like this is a valid address.
Any thoughts?
-