System and method for upgrading firmware of MCU on line
A technology for upgrading firmware and firmware upgrade. The redundancy in hardware is used for data error detection, software deployment, and response error generation. It can solve the problem of low firmware upgrade reliability, data memory and program memory not working properly, etc. problem, to achieve the effect of reliable code jump and reliable firmware upgrade
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] Please refer to figure 1 as well as figure 2 , Embodiment 1 of the present invention is:
[0055] A system for MCU1 online upgrade of firmware, comprising MCU1, backup RAM2, power-down detection circuit 4, backup battery 3, MPU5 and upper computer 6, said backup RAM2 and power-down detection circuit 4 are all connected to said MCU1, said Backup battery 3 is connected with described backup RAM2; The FLASH storage area of described MCU1 comprises IAP program storage area 11, APP1 program storage area 13 and APP2 program storage area 14, and program storage area is not limited to three, and concrete distribution can be according to Actual needs and the size of FLASH are adjusted; APP1 program storage area 13 stores the currently running APP program, and APP2 program storage area 14 stores update data packets; the state information of the backup RAM2 storage firmware upgrade; the state information includes: update sign : When MCU1 receives external information, it is s...
Embodiment 2
[0057] Please refer to image 3 as well as Figure 4 , the second embodiment of the present invention is:
[0058] A method corresponding to the MCU online upgrade firmware system of the first embodiment above, comprising:
[0059] The FLASH of MCU1 is divided into an IAP program storage area 11, APP1 program storage area 13 and APP2 program storage area 14, APP1 program storage area 13 stores the APP program in operation;
[0060] MCU1 obtains the update request, and requests the host computer 6 or MPU5 to update the program according to the update request;
[0061] MCU1 obtains update data packet, and described update data packet is stored in APP2 program storage area 14; And carry out firmware upgrade according to described update data packet; Above-mentioned update request and update data packet can be sent to MCU1 by upper computer 6, also can be by MPU5 It can be sent to MCU1, and can also be sent to MPU5 by host computer 6, and then sent to MCU1 by MPU5; specifically...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com