You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/system/ota/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ This example is a *simplified demonstration*, for production firmware updates yo
9
9
10
10
# Aim
11
11
12
-
An app running on ESP32 can upgrade itself by downloading a new app "image" binary file, and storing it in flash.
12
+
An app running on ESP8266 can upgrade itself by downloading a new app "image" binary file, and storing it in flash.
13
13
14
-
In this example, the ESP32 has 3 images in flash: factory, OTA_0, OTA_1. Each of these is a self-contained partition. The number of OTA image partition is determined by the partition table layout.
14
+
In this example, the ESP8266 has 3 images in flash: factory, OTA_0, OTA_1. Each of these is a self-contained partition. The number of OTA image partition is determined by the partition table layout.
15
15
16
16
Flashing the example over serial with "make flash" updates the factory app image. On first boot, the bootloader loads this factory app image which then performs an OTA update (triggered in the example code). The update downloads a new image from an http server and saves it into the OTA_0 partition. At this point the example code updates the ota_data partition to indicate the new app partition, and resets. The bootloader reads ota_data, determines the new OTA image has been selected, and runs it.
17
17
@@ -24,7 +24,7 @@ The OTA_workflow.png diagram demonstrates the overall workflow:
24
24
25
25
## Step 1: Connect to AP
26
26
27
-
Connect your host PC to the same AP that you will use for the ESP32.
27
+
Connect your host PC to the same AP that you will use for the ESP8266.
28
28
29
29
## Step 2: Run HTTP Server
30
30
@@ -82,7 +82,7 @@ When the example starts up, it will print "ota: Starting OTA example..." then:
82
82
83
83
# Troubleshooting
84
84
85
-
* Check your PC can ping the ESP32 at its IP, and that the IP, AP and other configuration settings are correct in menuconfig.
85
+
* Check your PC can ping the ESP8266 at its IP, and that the IP, AP and other configuration settings are correct in menuconfig.
86
86
* Check if any firewall software is preventing incoming connections on the PC.
87
87
* Check you can see the configured file (default hello-world.bin) if you browse the file listing at http://127.0.0.1/
88
88
* If you have another PC or a phone, try viewing the file listing from the separate host.
0 commit comments