Sending and upgrading method and device for eMMC online upgrade file
A technology for upgrading files and sending methods, which is applied in the direction of software deployment, data processing input/output process, instruments, etc., and can solve problems such as inability to upgrade eMMC
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] figure 1 It is a flowchart of a method for sending an eMMC online upgrade file provided by Embodiment 1 of the present invention. The method of this embodiment is applicable to the case of sending an eMMC online upgrade file. It can be executed by a sending device suitable for eeMMC online upgrade files, the device can be realized by means of hardware and / or software, and can be integrated into or coupled to a terminal configured with an Android system.
[0051] see figure 1 , the sending of the eMMC online upgrade file includes:
[0052] S110. Generate and send the initial identification file of the eMMC online upgrade file, so that the eMMC switches to the online upgrade mode through the initial identification file.
[0053] Field Firmware Update (Field Firmware Update) is a new function defined by the emmc protocol, which can update the firmware when the eMMC is in normal use. When performing an online firmware upgrade, the eMMC needs to switch from normal working...
Embodiment 2
[0058] figure 2It is a flow chart of the method for sending an eMMC online upgrade file provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments. In this embodiment, the following steps are added: extract the upgrade data from the upgrade bin file; split the upgrade data according to the preset storage capacity, and split the The last data is sequentially written into at least one sector file as the entity content, and the preset storage capacity is determined according to the size of the sector file; the identification content is written into the sector file, and the identification content includes: for determining The file signature for upgrading, the sequence number of the bin file corresponding to the sector file and the sequence number of the sector file; and the online upgrade data will be sent to eMMC, specifically optimized as: the sector The file is sent to eMMC.
[0059] see figure 2 , the sending meth...
Embodiment 3
[0078] image 3 It is a flow chart of the eMMC online upgrade method provided by Embodiment 3 of the present invention. The method of this embodiment is applicable to the situation of online firmware upgrade for eMMC. It can be performed by an eMMC online upgrade device, which can be implemented in the form of hardware and / or software, and can be integrated into the eMMC.
[0079] see image 3 , the eMMC online upgrade method includes:
[0080] S310, switch to an online upgrade mode when the initial identification file is received.
[0081] Since the initial identification file can be mixed with other files and sent to eMMC, Emmc can detect the file to confirm whether it includes a preset signature, and if it is confirmed that it includes a preset signature, it can confirm that the initial identification is received file, and can switch from normal working mode to FFU mode when receiving the initial identification file.
[0082] S320. Receive online upgrade data, and inst...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


