Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Firmware batch burning method and terminal

A burning method and firmware technology, applied in the direction of software deployment, etc., can solve problems such as uncompressed transmission of burning data, a large number of file IO requests, and external storage bumps, so as to reduce the amount of data transmission, increase the speed of firmware burning, and improve The effect of programming speed

Pending Publication Date: 2022-01-04
FUZHOU ROCKCHIP SEMICON
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This approach has the following disadvantages: 1. Since all burning threads directly access files, this will cause a large number of file IO requests during the burning process and will cause thrashing in the external storage; 2. The burning data is not compressed and transmitted

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Firmware batch burning method and terminal
  • Firmware batch burning method and terminal
  • Firmware batch burning method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] Please refer to figure 1 , Figure 3 to Figure 5 , a firmware batch burning method, comprising steps:

[0073] S1. Obtain the data to be programmed, and lock the data to be programmed in the memory.

[0074] Specifically, the following data needs to be set and input before firmware batch programming:

[0075] The lower limit of the size of the burning block, the unit is sector, and one sector is 512 bytes. Since the flash storage is programmed to write data according to the page, it is preferable to set the lower limit of the burning block to 4 sectors, that is, one page size;

[0076] Erase block size, the unit is sector, it is recommended to set it to 512, 256k size;

[0077] The group size, in megabytes, is recommended to be set to 32;

[0078] The redundancy size at the end of the erase block, the unit is sector, it is recommended to set it to 128, which accounts for a quarter of the erase block size;

[0079] The upper limit of the burning block size, the uni...

Embodiment 2

[0106] Please refer to figure 2 , a firmware batch programming terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, the firmware of Embodiment 1 is realized The various steps of the batch programming method.

[0107] To sum up, the method and terminal for batch firmware programming provided by the present invention can obtain the data to be burned and lock the data to be burned in the memory, and can pre-write the burned data before data burning In the locked memory, prevent a large number of file IO operations during the burning process; according to the data content of the data to be burned, the data to be burned is divided into common blocks, repeated blocks, and erased blocks. The burning blocks are linked into a burning chain, and the burning chain is burned. If the common block is burned, the corresponding read and write data in the common block will be se...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a firmware batch burning method and a terminal. The method comprise steps of obtaining and locking to-be-burnt data being in the memory, so as to prevent a large number of file IO operations from being generated in the burning process; dividing the to-be-burnt data into burning blocks of which the types are common blocks, repeated blocks and erasing blocks according to the data content of the to-be-burnt data, linking the burning blocks in the same group into a burning chain and carrying out burning, and if the common blocks are burnt, sending corresponding read-write data in the common blocks to a burning program for firmware burning; and if the repeated blocks are burnt, sending a burning address, a burning length and repeated data in the repeated blocks to a burning program for firmware burning, and if the erasing blocks are burnt, sending an erasure address and an erasure length in the erasing blocks to the burning program for firmware burning. The method is advantaged in that writing can be replaced by erasing to improve the burning speed, repeated blocks and erasing blocks do not need to transmit specific data, the data transmission amount sent to a burning program is reduced, and the firmware burning speed is improved.

Description

technical field [0001] The invention relates to the technical field of data burning, in particular to a firmware batch burning method and a terminal. Background technique [0002] At present, the main method of PC-based firmware batch programming is that the programming program will create a programming thread for each programming device. The programming thread is responsible for reading the programming data and transmitting it to the device through USB or serial ports. Notify the programming thread after the entry is successful, until the programming thread completes programming of all data. [0003] This approach has the following disadvantages: 1. Since all burning threads directly access files, this will cause a large number of file IO requests during the burning process and will cause thrashing in the external storage; 2. The burning data is not compressed and transmitted . Contents of the invention [0004] The technical problem to be solved by the present inventio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/61
CPCG06F8/61
Inventor 刘翊
Owner FUZHOU ROCKCHIP SEMICON
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products