Font Size: a A A

Design And Implementation Of Remote Upgrade For Embedded Devices Based On Middleware

Posted on:2021-05-05Degree:MasterType:Thesis
Country:ChinaCandidate:Z A ZhangFull Text:PDF
GTID:2392330623478317Subject:Radio Physics
Abstract/Summary:PDF Full Text Request
Nowadays information technology plays an important role in the improvement of industrial productivity and industrial transformation.Embedded devices are widely used in automotive electronics and smart home appliances because of highly integrated,low power,tailorable functions,powerful communication.Updating programs for embedded devices with emulators is far from meeting the requirements for high frequency,stability and safety.The paper focus on embedded devices upgrading using programs downloaded from the FTP server with an upgrade tool.The main research and work are as follows.Firstly A large number of relevant domestic,foreign documents and patents have been read and then a model based on upgrading middleware and FTP server to upgrade terminal devices is constructed.At the hardware part,the STM32F446 will be the main chip which communicates with the network chip W5500 through its SPI peripheral to get accesses to the Internet or factory intranet.the CAN bus is used to connect to the chip of embedded device for the message and data transmission.As for the software part,a FTP server is built to store firmware which is verified on the FTP server.And a FTP client is transplanted to the chip of STM32F446 without file system.besides the upgrade tool implements DHCP protocol with the help of W5500 to access the internet.The BOOTLOADER part is designed to receiving the data from the upgrade tool and downloading the program to the chip of devices.In terms of security and data integrity,the upgrade tool makes CRC check on firmware received from the FTP server and make sure the CRC and the received one equal,which ensure the completeness of the upgrade file;The BOOTLOADER part will send the BIN data after receiving the firmware data from the upgrade tool,and then the tool make the CRC again to ensure that the data downloaded to the chip of devices is free of errors.At last,entire system verification is performed to determine the function and effect of the design when its modularly verified finished.Some modifications and improvements will be made to get a more perfect result.
Keywords/Search Tags:Embedded device, IAP upgrade, Bootloader, FTP
PDF Full Text Request
Related items