当前位置:网站首页>10. Tencent cloud IOT device side learning - firmware upgrade
10. Tencent cloud IOT device side learning - firmware upgrade
2022-06-24 07:43:00 【fancyxu】
The main purpose of this series is to record the learning notes of Tencent cloud Internet of things device , And on the device side SDK Make a supplementary explanation .
brief introduction
Firmware upgrade is basically a necessary function of IOT devices , The firmware upgrade function is in IoT Hub and IoT Explorer All supported . In fact, it can be seen as two parts :
- Control messages : Interact with Tencent cloud IOT platform , This includes getting firmware download information , Realize the logic of interaction
- Firmware data : Interact with Tencent cloud object storage platform , Pull the actual firmware data
The general process is as follows :
Development considerations
Firmware upgrade is a very sensitive operation , To achieve a stable firmware upgrade, you generally need to do the following :
- Firmware verification : Developers need to verify the downloaded firmware on the device side ( Not only here md5 check , The equipment supplier's own calibration shall also be included , because md5 Only the correctness of the document can be guaranteed , There is no guarantee that the firmware itself is faulty ), To avoid accidents .
- Breakpoint continuation : For weak network scenarios or devices with large firmware , You need to do a good job of breakpoint continuation , Ensure the success rate of downloading , That is to save the breakpoint information in the corresponding storage after each download ( It's usually flash in , There are also placed in ram in , Only for breakpoints in the boot scenario ).SDK This feature is already supported .
- Firmware backup : Routinely , The firmware to be upgraded is stored in the backup area , When the equipment is powered on , Read the firmware from the backup area through the program to upgrade , Because the backup area is read-only , So even if there are abnormal conditions such as power failure in the midway , It can also ensure the availability of the equipment .
- Multi firmware : In fact, there is no essential difference between multi firmware and single firmware , Because the firmware upgrade is for files , Information can be added to the file to split a single file into multiple firmware . Of course , Another way is to use resources to download ( Subsequent articles will mention ), This is also one of the important features supported by Tencent cloud Internet of things .
边栏推荐
- Event related | reveal how Ti-One's support ability for large-scale events is developed
- pair类备注
- RDD basic knowledge points
- Wechat cloud hosting hot issues Q & A
- How to connect the Bluetooth headset to the computer and how to connect the win10 computer to the Bluetooth headset
- Global and Chinese market of Earl Grey tea 2022-2028: Research Report on technology, participants, trends, market size and share
- 科一易错点
- Phonics
- buuctf misc [UTCTF2020]docx
- 选择器(>,~,+,[])
猜你喜欢
╯︵ ┻━┻](/img/26/6986a8ae6c00eb2431a082dc0ff978.png)
[DDCTF2018](╯°□°)╯︵ ┻━┻

How to open the soft keyboard in the computer, and how to open the soft keyboard in win10

MaxCompute远程连接,上传、下载数据文件操作

相機標定(標定目的、原理)
![buuctf misc [UTCTF2020]docx](/img/e4/e160f704d6aa754e85056840e14bd2.png)
buuctf misc [UTCTF2020]docx

Étalonnage de la caméra (objectif et principe d'étalonnage)

Description of module data serial number positioning area code positioning refers to GBK code

6000多万铲屎官,捧得出一个国产主粮的春天吗?
![[vulhub shooting range]] ZABBIX SQL injection (cve-2016-10134) vulnerability recurrence](/img/c5/f548223666d7379a7d4aaed2953587.png)
[vulhub shooting range]] ZABBIX SQL injection (cve-2016-10134) vulnerability recurrence

与(&&)逻辑或(||),动态绑定结合三目运算
随机推荐
鸿蒙os开发三
Extend ado Net to realize object-oriented CRUD (.Net core/framework)
Super fast reading in OI
Global and Chinese market of water massage column 2022-2028: Research Report on technology, participants, trends, market size and share
Tencent cloud security and privacy computing has passed the evaluation of the ICT Institute and obtained national recognition
any类备注
RDD basic knowledge points
希尔伯特-黄变换
Global and Chinese market of basketball uniforms 2022-2028: Research Report on technology, participants, trends, market size and share
Q & A on cloud development cloudbase hot issues of "Huage youyue phase I"
atguigu----16-自定义指令
科一易错点
Global and Chinese markets for food puffers 2022-2028: Research Report on technology, participants, trends, market size and share
How to select a third-party software testing company? 2022 ranking of domestic software testing institutions
pair类备注
New ways to play web security [6] preventing repeated use of graphic verification codes
只显示两行,超出部分省略号显示
2.1.1 QML grammar foundation I
Mysql database recovery case sharing
Anaconda 中使用 You Get