-
Notifications
You must be signed in to change notification settings - Fork 6
Installation
If this is your first install you might want to back up the existing firmware, however to do this you will need to install python3 and esptool.py. If you don't care to do this, just skip to one of the installation options below.
The preferred method of installation is to use a web browser, which has to be one of Chrome, Edge or Opera.
Once you have installed python and esptool.py run this command (replace <your port name> with the actual port your clock is connected to and adjust for location of files etc):
python esptool.py --port <your port name> read_flash 0x0 0x400000 elekstubeipsv1.bin
I recommend you do a full install, i.e. choose 'Full Install' if you use the web browser method, or flash all of the binaries if you use one of the other methods.
If you installed the previous version, you could get away with just choosing 'Firmware Only' option if you use the web browser method, or just flashing firmware.bin if you use one of the other methods.
Go here and scroll down to the Installation section.
- Choose 'Full Install'. If this is the first time installing this software, choose 'erase' from the dialog that pops up, otherwise you only need to install the software. If the clock can't connect to WiFi you will be given the option to configure the connection.
Adafruit WebSerial ESPTool. You can only flash four files at a time. Flash all but littlefs.bin first, then flash littlefs.bin. You will need the table of file names and locations in the section below.
- Download the espressif download tool(!). The download includes documentation.
- Download the binaries below.
- Use the tool to flash the binaries to your clock
These are the binaries and the locations they need to be flashed to:
Binary | Location |
---|---|
bootloader.bin | 0x1000 |
partitions.bin | 0x8000 |
boot_app0.bin | 0xe000 |
firmware.bin | 0x10000 |
littlefs.bin | 0x180000 |
- Install python3 and download esptool.py.
- Download the attached binaries.
- Run the command below. Replace <your port name> with whatever port your clock is connected to.
python esptool.py --chip esp32 --port <your port name> --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin 0x180000 littlefs.bin
If you want to or need to:
python esptool.py --port <your port name> write_flash --flash_freq 0x0 elekstubeipsv1.bin
You might need to specify baud rate and flash frequency
- Naturally esptool.py may not be in the same directory as the binaries
- python might be called python3