ESP32C3-CORE initial flashing
The FreeDSM is based on Tasmota IoT free software. It is possible to flash the device before the complete assembly ... or after that, but inside the chassis, the "Boot" button is not so accesible.
To perform these processes, espfuse and esptool are needed. They are available as Python or compiled for different OS:
Please note that, since this initial flashing, all subsequent upgrades can be performed through the Tasmota web interface.
Firmware and script files are available at firmware-releases
NOTE: Replace the COM99 port with the one detected in your computer, connected to the ESP32.
1 Enabling screen backlight
To enable the Air101 screen backlight, it is needed to "free" the GPIO11 (theorically reserved to provide power to the flash, but the ESP32C3-CORE board provides 3.3V power directly).
Connect the USB-C cable to your computer and push the "Boot" button (around 1 second) of the ESP32 board.
From command line, execute:
espefuse -p COM99 burn_efuse VDD_SPI_AS_GPIO 1
and confirm the efuse burn (not reversible process) writing "BURN"
2 Flashing the ESP32C3-CORE board
Connect the USB-C cable to your computer and push the "Boot" button (around 1 second) of the ESP32 board.
The flashing command is:
esptool.exe --chip esp32-c3 --port COM99 --baud 921600 write_flash -fs 4MB -fm dio --erase-all 0x0 .\firmware.factory.bin
ESP32C3-CORE web upgrade
To perform a complete upgrade of the FreeDSM, it is mandatory to update the Berry script and the firmware.
Access to the web interface of your FreeDSM (you can check the IP address in your router or physically access the configuration of the device, "AP information" will tell you the IP).
- First: Main Screen, selecting "Consoles" -> "Manage File System" you will see this screen:
Upload the new "autoexec.bec" using the first button.
- Second: Main Screen, selecting "Firmware Upgrade" you will see this screen:
Check that the url is: https://gitlab.citic.udc.es/lia2-publico/g4s/-/wikis/fw/firmware.bin or simply upload the "firmware.bin" in "Upgrade by file upload"