Hi Rob Yu,
Thanks for your patient.
Today, I have finished the lwip_httpssrv_ota project testing, totally works.
Now, please follow my steps to make it work:
1. Download the evkmimxrt1060_ota_bootloader, build the release version.
2. Download the evkmimxrt1060_lwip_httpssrv_ota_freertos
3. Find a PC, configure your PC Ethernet properties like this:

4. Find an Ethernet cable to connect the PC and your board, power on your board.
5.You can ping your board

No lost
6. Open the serial tool, you will find the print out log:
Initializing PHY...
************************************************
mbedSSL HTTPS Server example
************************************************
IPv4 Address : 192.168.0.102
IPv4 Subnet mask : 255.255.255.0
IPv4 Gateway : 192.168.0.100
************************************************
Please note, to identify the evkmimxrt1060_lwip_httpssrv_ota_freertos version 1 or version 2, I add the version printf code in the evkmimxrt1060_lwip_httpssrv_ota_freertos project

7. Now, open a brower, you can use the chrome, type https://192.168.0.102
Then you can upload the new V2 (when current is V1 )or V1(when current is V2) evkmimxrt1060_lwip_httpssrv_ota_freertos .bin file
This is my test result:

You can find, when my current is V1, after I upload the new V2.bin app, then the new printf result is V2, it means my http ota is working.
Vice-versa, when my current is V2, I can upload V1 version, then you will see the new printf result is V1.
Now, answer you new questions, your understanding is correct, OTA is used to update the self app code, in this example, evkmimxrt1060_lwip_httpssrv_ota_freertos is the app, it use the ethernet to update itself code, that's why you will find the new printf is V2, or V1.
I also upload my generated V1 and V2 .bin code, for your reference.
Please try it on your side.
If you still have questions about it, please kindly let me know.
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------