Skip to content

Commit e37b82a

Browse files
authored
Update README.md
1 parent 65d9994 commit e37b82a

1 file changed

Lines changed: 28 additions & 1 deletion

File tree

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,29 @@
11
# ESP32-OTA-File-management
2-
ESP32 OTA Firmware update & File management.
2+
OTA Firmware update & File management for ESP32.<br>
3+
This sketch will let you:<br>
4+
1. Update ESP32 Firmware using a compiled binary file.<br>
5+
2. Upload SPIFFS.bin that can contain supporting files that you might need for your project.<br>
6+
3. Browse, Delete, and Upload files stored on ESP32 File system.<br><br>
7+
8+
<b>Make sure</b> that your partition table is ready for OTA. You can select predefined Partition tables in Arduino IDE or create your own.
9+
<br><br>
10+
I used 16MB chip so my partition table looks like this.<br>
11+
12+
![](Screenshots/S1.JPG)<br>
13+
14+
<b>Don't forget</b> to include your local network SSID and PASSWORD.<br>
15+
Then when everything is up and runnig you can access main page via esp32.local/ or using ip address that will be reported into a serial monitor.<br><br>
16+
17+
<p><b>1.</b> Firmware update is very straightforward. Bin file can be simply generated using Arduino IDE. Then find it, select it and press Update button. If successful there will be a popup window and after presssing OK you will be redirected to the main page. Meanwhile ESP will reboot and rewrite its APP derictory with uploaded bin.<br>
18+
19+
![](gif/1.gif)
20+
</p><br>
21+
<p><b>2.</b> SPIFFS.bin upload. For this one I used MKSPIFFS tool to generate SPIFFS.bin file. Command that initiates compiling looks like this:<br>
22+
<b>mkspiffs -c C:\Users\xxxx\Documents\Arduino\OTA_file_management\data -b 4096 -p 256 -s 0x6F0000 spiffs.bin</b><br>
23+
it compiles everything that is in data folder into one bin file. 0x6F0000 is the size of your SPIFFS partition and depends on partition table you choose.<br>
24+
25+
![](gif/2.gif)<br>
26+
</p>
27+
<p><b>3.</b> You can browse/delete/upload files stored in SPIFFS.<br>
28+
29+
![](gif/3.gif)<br></p>

0 commit comments

Comments
 (0)