A method and system for MCU upgrade

A technology for upgrading data and the main control terminal, which is applied in the field of MCU upgrading, can solve the problems of long time and slow MCU upgrading speed, and achieve the effect of increasing the speed

CN107894900BActive Publication Date: 2021-06-29ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2021-06-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method for upgrading an MCU. Whenever a master control terminal sends upgrading data with a preset number of bytes to the MCU, the MCU will write the received upgrading data into a storage space of the MCU. The above steps are repeated until the MCU has written all the upgrade data into the storage space of the MCU, and the upgrade of the MCU is completed. Since the communication between the main control end and the MCU has an inherent frequency, that is, each time the main control end sends the upgrade data to the MCU, it sends the upgrade data with a preset number of bytes, and there will be an interruption between two adjacent upgrade data transmissions. gap time. The present invention writes the upgrade data into the storage space of the MCU by utilizing the interrupt gap time, thereby reducing the time from the time when the main control end sends the upgrade data until the MCU writes all the upgrade data into the storage space. The present invention also provides an MCU upgrading system, which also has the above beneficial effects.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of system upgrades, in particular to a method and system for MCU upgrades. Background technique

[0002] With the continuous advancement of science and technology in recent years, technologies such as the Internet, cloud computing, and the Internet of Things have made great progress, and solid-state drives, as a new generation of storage devices, are widely used in them.

[0003] At this stage, in addition to the storage function of the solid-state hard disk, it is usually equipped with an MCU (Microcontroller Unit, micro control unit) to realize the basic management of the solid-state hard disk, such as temperature detection, alarm, power management, capacitor management and so on. Usually, the MCU is connected to the main control end of the solid-state hard disk, and the MCU will receive instructions from the main control end to manage the solid-state hard disk, and send the detected data to the main control end. ...

Examples

Embodiment Construction

[0049] The core of the invention is to provide a method for MCU upgrade. In the prior art, usually, the master control end first sends all the upgrade data to the MCU, and then the MCU writes all the upgrade data sent by the master control end into its own storage space. But usually, because the communication between the main control end and the MCU usually has an inherent frequency, that is, every time the main control end sends the upgrade data to the MCU, it sends the upgrade data with a preset number of bytes, and two adjacent There will be a gap time between sending update data. However, in the prior art, neither the main control terminal nor the MCU will perform any operations during the interrupt interval time. The MCU just waits for the main control terminal to send the remaining upgrade data, which will undoubtedly cause the main control terminal to start sending upgrades. Data, until the MCU writes all the upgrade data into the storage space, the time is generally l...