当前位置:网站首页>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 .
边栏推荐
- [mrctf2020] thousand layer routine
- Virtual machine security disaster recovery construction
- Unity Culling 相关技术
- 鸿蒙os开发三
- Detailed explanation of C language compilation, link and operation
- How can win11 set the CPU performance to be fully turned on? How does win11cpu set high performance mode?
- jarvisoj_ level2
- Ultra wideband pulse positioning scheme, UWB precise positioning technology, wireless indoor positioning application
- Accessing user interface settings using systemparametersinfo
- (cve-2020-11978) command injection vulnerability recurrence in airflow DAG [vulhub range]
猜你喜欢
随机推荐
any类备注
RDD的执行原理
[MySQL usage Script] clone data tables, save query data to data tables, and create temporary tables
2.1.1 QML grammar foundation I
行内元素、块元素、行内块元素
湖北专升本-湖师计科
When MFC uses the console, the project path cannot have spaces or Chinese, otherwise an error will be reported. Lnk1342 fails to save the backup copy of the binary file to be edited, etc
Global and Chinese markets for food puffers 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of water massage column 2022-2028: Research Report on technology, participants, trends, market size and share
Unity 的序列化
atguigu----15-内置指令
What is a CC attack? How to judge whether a website is attacked by CC? How to defend against CC attacks?
Climbing 10000 NASA pictures about Mars exploration, I found a secret
New ways to play web security [6] preventing repeated use of graphic verification codes
Common coding and encryption in penetration testing
[learn FPGA programming from scratch -41]: vision chapter - Moore's era and Moore's law and the arrival of the post Moore Era
Knowledge points of 2022 system integration project management engineer examination: ITSS information technology service
More than 60 million shovel excrement officials, can they hold a spring of domestic staple food?
What industries and scenarios can the easynvr/easygbs/easycvr platform developed by tsingsee green rhino video be used in?
How to turn on win11 notebook power saving mode? How to open win11 computer power saving mode




![选择器(>,~,+,[])](/img/7e/2becfcf7a7b2e743772deee5916caf.png)
╯︵ ┻━┻](/img/26/6986a8ae6c00eb2431a082dc0ff978.png)


