ota_data_initial.bin文件的作用是什么?
Posted: Wed Nov 28, 2018 2:21 am
我尝试不烧录ota_data_initial.bin文件, 而程序依旧能够正常运行。所以我想了解,ota_data_initial.bin的作用及其定义是什么?
谢谢各位!
谢谢各位!
出自Docs » API Reference » System API » Over The Air Updates (OTA)There is also a new “otadata” slot, which holds the data for OTA updates. The bootloader consults this data in order to know which app to execute. If “ota data” is empty, it will execute the factory app.
非常感谢您!otadata分区,用于标志目前运行哪一个app类型的固件。
ota_init 中都是全0xff,表示用第0个app分区开始运行。
如果不烧,只是不确定烧完flash后运行的是否是第0个app分区的固件。