CN112463172A - Data burning method and system - Google Patents

Data burning method and system Download PDF

Info

Publication number
CN112463172A
CN112463172A CN202011254809.9A CN202011254809A CN112463172A CN 112463172 A CN112463172 A CN 112463172A CN 202011254809 A CN202011254809 A CN 202011254809A CN 112463172 A CN112463172 A CN 112463172A
Authority
CN
China
Prior art keywords
data
burning
software
chip end
buffer area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011254809.9A
Other languages
Chinese (zh)
Other versions
CN112463172B (en
Inventor
陈朋芳
彭成斌
侯松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bouffalo Lab Nanjing Co ltd
Original Assignee
Bouffalo Lab Nanjing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bouffalo Lab Nanjing Co ltd filed Critical Bouffalo Lab Nanjing Co ltd
Priority to CN202011254809.9A priority Critical patent/CN112463172B/en
Publication of CN112463172A publication Critical patent/CN112463172A/en
Application granted granted Critical
Publication of CN112463172B publication Critical patent/CN112463172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a data burning method and a system, wherein the data burning method comprises the following steps: the chip end receives compressed data sent by burning software by using a first data buffer area; after receiving, the chip end decompresses the data of the first data buffer area and burns the decompressed data; and the chip end receives the data sent by the burning software through the second data buffer area in the burning process and stores the received data in the second data buffer area, and the burning process and the data sending and receiving process are synchronously executed. The data burning method and the data burning system can effectively shorten the data burning time, improve the data burning speed, improve the burning efficiency on a production line and reduce the production cost of products.

Description

Data burning method and system
Technical Field
The invention belongs to the technical field of electronic information, relates to a data burning method, and particularly relates to a data burning method and a data burning system capable of improving burning efficiency.
Background
Along with the development of the intellectualization of electronic products, the functions of application programs are more and more powerful and complex, the sizes of programs and data are increased, and the burning time of the application programs is increased. The electronic products are price sensitive products, and the extension of the burning time can cause the increase of the production cost of the products and the reduction of the profit of the products.
A typical application programming scenario is shown in fig. 1; the burning is mainly divided into three parts: the system comprises burning software, communication equipment and a chip to be burned. The burning software generally runs on a PC, and the PC stores application programs and data which need to be burned to the chip. Generally, one burning PC host can be connected with a plurality of devices to be burned. The burning software sends the file to be burned to the chip on the device to be burned through the communication interface, and the program on the chip burns the file into the storage medium.
The traditional scheme for solving the problem of slow burning speed is to improve the communication speed in the burning process; however, in a factory burning environment, one burning host is connected with a plurality of devices to be burned, various electromagnetic interference problems exist, and the space for improving the communication speed is limited. And the communication speed is greatly improved, higher requirements are required for matching of burning hardware connection in a factory burning environment, and the production cost can be indirectly increased. In addition, the problem of the burning speed cannot be thoroughly solved due to the fact that the capacity of an internal memory in a product is far smaller than that of a storage medium, so that burning software cannot transmit data to be burned at one time, the data must be transmitted for multiple times, the transmission needs to wait for the data to be transmitted last time and be burned, the next data transmission and burning can be carried out only after the data is burned last time, and flow control communication needs to be carried out between the burning software and a device to be burned, so that the burning reliability can be guaranteed. The back-and-forth flow control communication between the burning software and the burned device also increases the extra burning time.
In view of the above, there is a need to design a new data recording method to overcome at least some of the above-mentioned defects of the existing data recording method.
Disclosure of Invention
The invention provides a data burning method and a system, which can effectively shorten the burning time of data, improve the data burning speed, improve the burning efficiency on a production line and reduce the production cost of products.
In order to solve the technical problem, according to one aspect of the present invention, the following technical solutions are adopted:
a data burning method comprises the following steps:
step S1, the burning software supports the file decompression function, before burning, the data to be burned is compressed, and the burning data transmitted subsequently is the compressed data;
step S2, the chip end receives the data of the burning software by using two data buffer areas A and B with the capacity larger than the set threshold value;
step S3, the burning software establishes burning communication with the chip end and sends burning data according to the maximum receiving capacity of the chip end;
step S4, the chip end uses the current idle data buffer area A to receive data, after the current communication data is received, the current burning state is immediately returned to the burning software, and the state is used as the communication data receiving response at the same time, so that the burning software can send the data to be burned again, then the chip end decompresses the data, and burns the decompressed data;
step S5, the chip end still receives the data sent by the burning software in an interruption or DMA mode in the burning process, the received data is stored in the data buffer B, and the burning process and the data sending and receiving process are synchronously executed;
step S6, after the chip end executes a burning process, checking whether the data buffer area B has data, if the data buffer area B has data, waiting for the data buffer area B to receive all the data of the current communication, then returning the current burning state to the burning software, simultaneously using the data buffer area A to receive the next communication data, then the chip end decompresses and burns the data of the data buffer area B, if the data buffer area B has no data, it indicates that the burning data is sent completely, and the chip end enters a state waiting for the burning software command;
step S7, in case of normal programming and communication, executing step S3 to step S6 in a loop until all compressed data are sent; under the condition of programming or communication errors, the chip end returns error information to the programming software, and the programming is stopped after the programming software detects the errors;
step S8, after the burning data is sent, the burning software sends a command of calculating the Hash value of the burning file so as to verify the correctness of burning; meanwhile, the burning software calculates a first Hash value H1 of the local burning file;
step S9, reading the burning data by the chip end, calculating a second Hash value H2, and returning the second Hash value H2 to the burning software;
step S10, the burning software compares the first Hash value H1 with the second Hash value H2 to verify the correctness of burning.
According to another aspect of the invention, the following technical scheme is adopted: a data burning method comprises the following steps:
the chip end receives compressed data sent by burning software by using a first data buffer area;
decompressing the data of the first data buffer area by the chip end, and burning the decompressed data;
and the chip end receives the data sent by the burning software through the second data buffer area in the burning process and stores the received data in the second data buffer area, and the burning process and the data sending and receiving process are synchronously executed.
As an embodiment of the present invention, the data burning method further includes:
after the chip end executes a burning process by utilizing the first data buffer area, checking whether data exist in the second data buffer area or not, and if the data exist in the second data buffer area, waiting for the second data buffer area to receive all the data of the current communication;
after the second data buffer area receives all the data of the current communication, the current burning state is returned to the burning software; receiving subsequent communication data using the first data buffer simultaneously;
decompressing and burning the data of the second data buffer area by the chip end; if the second data buffer area does not have data, the data transmission is finished, and the chip end enters a state of waiting for a burning software command.
As an embodiment of the present invention, the data burning method further includes:
the burning software supports the file decompression function, before burning, the data to be burned is compressed, and the burning data transmitted subsequently is the compressed data.
As an embodiment of the present invention, the data burning method further includes:
and under the condition of programming or communication error, the chip end returns error information to the programming software, and the programming is stopped after the programming software detects the error.
As an embodiment of the present invention, the data burning method further includes: and a burning data verification step, wherein the burning software calculates a first verification value of a set burning file, the chip end calculates a second verification value corresponding to the burning file, and the two verification values are compared to judge the burning correctness.
As an embodiment of the present invention, the data burning method further includes:
after the burning data is sent, the burning software sends a command for calculating the Hash value of the burning file so as to verify the correctness of burning; meanwhile, the burning software calculates a first Hash value H1 of the local burning file;
the chip end reads the burning data, calculates a second Hash value H2, and returns the second Hash value H2 to the burning software; and comparing the first Hash value H1 with the second Hash value H2 by the burning software, and verifying the correctness of burning.
According to one aspect of the invention, the following technical scheme is adopted: a data burning system, the data burning system comprising:
the burning software is used for sending set data to the chip end;
the chip end is used for receiving the compressed data sent by the burning software and burning the received data;
the chip end comprises at least one communication interface and at least two data buffers, and the chip end is used for receiving data sent by burning software, so that the chip end can carry out the burning process by using the first data buffer and simultaneously carry out the data sending and receiving process by using the second data buffer.
As an embodiment of the present invention, after the chip end performs a burning procedure by using the first data buffer, it checks whether there is data in the second data buffer, and if there is data in the second data buffer, it waits for the second data buffer to receive all data of the current communication;
after the second data buffer area receives all the data of the current communication, the current burning state is returned to the burning software; receiving subsequent communication data using the first data buffer simultaneously;
the chip end decompresses and burns the data of the second data buffer area; if the second data buffer area does not have data, the data transmission is finished, and the chip end enters a state of waiting for a burning software command.
As an embodiment of the present invention, the burning software supports a file decompression function, before burning, data to be burned is compressed, and the subsequently transmitted burned data refers to the compressed data.
As an implementation mode of the invention, under the condition of programming or communication error, the chip end returns error information to the programming software, and the programming software stops programming after detecting the error.
As an embodiment of the present invention, the data burning system further includes: the burning correctness verifying module is used for verifying the correctness of burning; the burning software calculates a first verification value of a set burning file, the chip end calculates a second verification value of a corresponding burning file, and the two verification values are compared to judge the burning correctness.
The invention has the beneficial effects that: the data burning method and the data burning system can effectively shorten the data burning time, improve the data burning speed, improve the burning efficiency on a production line and reduce the production cost of products.
Drawings
Fig. 1 is a schematic diagram of a conventional data burning scenario.
FIG. 2 is a flowchart illustrating a data burning method according to an embodiment of the present invention.
FIG. 3 is a schematic diagram illustrating a data recording system according to an embodiment of the present invention.
Detailed Description
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
For a further understanding of the invention, reference will now be made to the preferred embodiments of the invention by way of example, and it is to be understood that the description is intended to further illustrate features and advantages of the invention, and not to limit the scope of the claims.
The description in this section is for several exemplary embodiments only, and the present invention is not limited only to the scope of the embodiments described. It is within the scope of the present disclosure and protection that the same or similar prior art means and some features of the embodiments may be interchanged.
The steps in the embodiments in the specification are only expressed for convenience of description, and the implementation manner of the present application is not limited by the order of implementation of the steps. The term "connected" in the specification includes both direct connection and indirect connection.
The invention discloses a data burning method, which comprises the following steps: the chip end receives compressed data sent by burning software by using a first data buffer area; after receiving, the chip end decompresses the data in the first data buffer area, and burns the decompressed data. And the chip end receives the data sent by the burning software through the second data buffer area in the burning process and stores the received data in the second data buffer area, and the burning process and the data sending and receiving process are synchronously executed.
Of course, the data burning method may further include: the chip end uses a second data buffer area to receive data sent by the burning software; and decompressing the data in the second data buffer area by the chip end, and burning the decompressed data (the decompressing process can be carried out after the data is received, and can also be carried out while receiving). And the chip end receives the compressed data sent by the burning software through the first data buffer area in the burning process, stores the received data in the first data buffer area, and synchronously executes the burning process and the data sending and receiving process.
In an embodiment of the present invention, the data burning method may further include: the burning software supports the file decompression function, before burning, data to be burned (such as application programs) are compressed, and the burning data transmitted subsequently are all compressed data. Meanwhile, under the condition of programming or communication error, the chip end returns error information to the programming software, and the programming is stopped after the programming software detects the error.
In addition, the data burning method may further include: and a burning data verification step, wherein the burning software calculates a first verification value of a set burning file, the chip end calculates a second verification value corresponding to the burning file, and the two verification values are compared to judge the burning correctness. In an embodiment, the data burning method further includes: after the burning data is sent, the burning software sends a command for calculating the Hash value of the burning file so as to verify the correctness of burning; meanwhile, the burning software calculates a first Hash value H1 of the local burning file; the chip end reads the burning data, calculates a second Hash value H2, and returns the second Hash value H2 to the burning software; and comparing the first Hash value H1 with the second Hash value H2 by the burning software, and verifying the correctness of burning.
In one embodiment, the number of data buffers utilized by the present invention is two; in another embodiment, the number of buffers utilized by the present invention can also be three or more.
FIG. 2 is a flowchart illustrating a data burning method according to an embodiment of the present invention; referring to fig. 2, the data burning method specifically includes the following steps:
step S1, the burning software supports the file decompression function, before burning, the data to be burned is compressed, and the burning data transmitted subsequently is compressed;
step S2, the chip receives the data of the burning software by using two data buffers a and B with capacities larger than the set threshold;
step S3, the burning software establishes burning communication with the chip end and sends burning data according to the maximum receiving capacity of the chip end;
step S4, the chip end receives data by using the current idle data buffer area A, after the current communication data are received, the current burning state is immediately returned to the burning software, and meanwhile, the state is used as the receiving response of the communication data, so that the burning software can send the data to be burned again, then the chip end decompresses the data, and burns the decompressed data;
step S5, the chip can still receive the data sent by the burning software in an interrupt or DMA manner during the burning process, the received data is stored in the data buffer B, and the burning process and the data sending and receiving process are synchronously executed;
step S6, after the chip end performs a burning process, it checks whether the data buffer B has data, if the data buffer B has data, it waits for the data buffer B to receive all the data of the current communication, then returns the current burning state to the burning software, and uses the data buffer a to receive the next communication data, and then the chip end decompresses and burns the data in the data buffer B, if the data buffer B has no data, it indicates that the burning data is sent completely, and the chip end enters the state of waiting for the burning software command;
step S7, in the case where both the programming and the communication are normal, executes step S3 to step S6 in a loop until all the compressed data are transmitted; under the condition of programming or communication errors, the chip end returns error information to the programming software, and the programming is stopped after the programming software detects the errors;
step S8, after the burning data is sent, the burning software sends a command of calculating the Hash value of the burning file, so as to verify the correctness of burning; meanwhile, the burning software calculates a first Hash value H1 of the local burning file;
step S9, the chip reads the burning data, calculates a second Hash value H2, and returns the second Hash value H2 to the burning software;
step S10, the burning software compares the first Hash value H1 and the second Hash value H2 to verify the correctness of burning.
FIG. 3 is a schematic diagram of a data burning system according to an embodiment of the present invention; referring to fig. 3, the data burning system includes: burning software 1 and a chip end 2; the chip side 2 includes at least one communication interface and at least two data buffers (e.g. a first data buffer 3 and a second data buffer 4). The burning software 1 is used for sending set data to the chip end; the chip end 2 is used for receiving the compressed data sent by the burning software and burning the received data. Each data buffer is connected with the burning software 1 through a corresponding communication interface respectively and is used for receiving compressed data sent by the burning software, so that the chip end 2 can utilize the first data buffer 3 to carry out the burning process and simultaneously utilize the second data buffer 4 to carry out the data sending and receiving process.
In addition, the burning software can support the file decompression function, before burning, the data to be burned is compressed, and the burning data transmitted subsequently is the compressed data. In an embodiment of the present invention, after the chip end 2 performs a burning procedure by using the first data buffer 3, it checks whether data exists in the second data buffer, and if data exists in the second data buffer 4, it waits for the second data buffer 4 to finish receiving all data of the current communication. After the second data buffer 4 receives all the data of the communication, the current burning state is returned to the burning software 1; while subsequent communication data is received using the first data buffer 3. The chip end 2 decompresses and burns the data of the second data buffer area 4; if no data exists in the second data buffer 4, it indicates that the sending of the burning data is finished, and the chip end 2 enters a state of waiting for the command of the burning software 1.
And circularly executing the data sending, receiving and burning processes under the condition that the burning and the communication are normal until all the compressed data are sent. And under the condition of programming or communication error, the chip end returns error information to the programming software, and the programming is stopped after the programming software detects the error.
The data burning system can further comprise: and the burning data verification module is used for judging the correctness of burning. The burning software calculates a first verification value of a set burning file, the chip end calculates a second verification value of a corresponding burning file, and the two verification values are compared to judge the burning correctness. In one embodiment, after the burning data is sent, the burning software sends a command of calculating the Hash value of the burning file so as to verify the correctness of burning; meanwhile, the burning software calculates a first Hash value H1 of the local burning file. And the chip end reads the burning data, calculates a second Hash value H2 and returns the second Hash value H2 to the burning software. And comparing the first Hash value H1 with the second Hash value H2 by the burning software, and verifying the correctness of burning.
In summary, the data burning method and system provided by the invention can effectively shorten the data burning time, improve the data burning speed, improve the burning efficiency on the production line, and reduce the production cost of the product.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware; for example, it may be implemented using Application Specific Integrated Circuits (ASICs), general purpose computers, or any other similar hardware devices. In some embodiments, the software programs of the present application may be executed by a processor to implement the above steps or functions. As such, the software programs (including associated data structures) of the present application can be stored in a computer-readable recording medium; such as RAM memory, magnetic or optical drives or diskettes, and the like. In addition, some steps or functions of the present application may be implemented using hardware; for example, as circuitry that cooperates with the processor to perform various steps or functions.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The description and applications of the invention herein are illustrative and are not intended to limit the scope of the invention to the embodiments described above. Effects or advantages referred to in the embodiments may not be reflected in the embodiments due to interference of various factors, and the description of the effects or advantages is not intended to limit the embodiments. Variations and modifications of the embodiments disclosed herein are possible, and alternative and equivalent various components of the embodiments will be apparent to those skilled in the art. It will be clear to those skilled in the art that the present invention may be embodied in other forms, structures, arrangements, proportions, and with other components, materials, and parts, without departing from the spirit or essential characteristics thereof. Other variations and modifications of the embodiments disclosed herein may be made without departing from the scope and spirit of the invention.

Claims (10)

1. A data burning method is characterized by comprising the following steps:
step S1, the burning software supports the file decompression function, before burning, the data to be burned is compressed, and the burning data transmitted subsequently is the compressed data;
step S2, the chip end receives the data of the burning software by using two data buffer areas A and B with the capacity larger than the set threshold value;
step S3, the burning software establishes burning communication with the chip end and sends burning data according to the maximum receiving capacity of the chip end;
step S4, the chip end uses the current idle data buffer area A to receive data, after the current communication data is received, the current burning state is immediately returned to the burning software, and the state is used as the communication data receiving response at the same time, so that the burning software can send the data to be burned again, then the chip end decompresses the data, and burns the decompressed data;
step S5, the chip end still receives the data sent by the burning software in an interruption or DMA mode in the burning process, the received data is stored in the data buffer B, and the burning process and the data sending and receiving process are synchronously executed;
step S6, after the chip end executes a burning process, checking whether the data buffer area B has data, if the data buffer area B has data, waiting for the data buffer area B to receive all the data of the current communication, then returning the current burning state to the burning software, simultaneously using the data buffer area A to receive the next communication data, then the chip end decompresses and burns the data of the data buffer area B, if the data buffer area B has no data, it indicates that the burning data is sent completely, and the chip end enters a state waiting for the burning software command;
step S7, in case of normal programming and communication, executing step S3 to step S6 in a loop until all compressed data are sent; under the condition of programming or communication errors, the chip end returns error information to the programming software, and the programming is stopped after the programming software detects the errors;
step S8, after the burning data is sent, the burning software sends a command of calculating the Hash value of the burning file so as to verify the correctness of burning; meanwhile, the burning software calculates a first Hash value H1 of the local burning file;
step S9, reading the burning data by the chip end, calculating a second Hash value H2, and returning the second Hash value H2 to the burning software;
step S10, the burning software compares the first Hash value H1 with the second Hash value H2 to verify the correctness of burning.
2. A data burning method is characterized by comprising the following steps:
the chip end receives compressed data sent by burning software by using a first data buffer area;
decompressing the data of the first data buffer area by the chip end, and burning the decompressed data;
and the chip end receives the data sent by the burning software through the second data buffer area in the burning process and stores the received data in the second data buffer area, and the burning process and the data sending and receiving process are synchronously executed.
3. The data burning method of claim 2, wherein:
the data burning method further comprises the following steps:
after the chip end executes a burning process by utilizing the first data buffer area, checking whether data exist in the second data buffer area or not, and if the data exist in the second data buffer area, waiting for the second data buffer area to receive all the data of the current communication;
after the second data buffer area receives all the data of the current communication, the current burning state is returned to the burning software; receiving subsequent communication data using the first data buffer simultaneously;
decompressing and burning the data of the second data buffer area by the chip end; if the second data buffer area does not have data, the data transmission is finished, and the chip end enters a state of waiting for a burning software command.
4. The data burning method of claim 2, wherein:
the data burning method further comprises the following steps:
the burning software supports the file decompression function, before burning, the data to be burned is compressed, and the burning data transmitted subsequently is the compressed data;
and under the condition of programming or communication error, the chip end returns error information to the programming software, and the programming is stopped after the programming software detects the error.
5. The data burning method of claim 2, wherein:
the data burning method further comprises the following steps: and a burning data verification step, wherein the burning software calculates a first verification value of a set burning file, the chip end calculates a second verification value corresponding to the burning file, and the two verification values are compared to judge the burning correctness.
6. The data burning method of claim 2, wherein:
the data burning method further comprises the following steps:
after the burning data is sent, the burning software sends a command for calculating the Hash value of the burning file so as to verify the correctness of burning; meanwhile, the burning software calculates a first Hash value H1 of the local burning file;
the chip end reads the burning data, calculates a second Hash value H2, and returns the second Hash value H2 to the burning software; and comparing the first Hash value H1 with the second Hash value H2 by the burning software, and verifying the correctness of burning.
7. A data burning system, comprising:
the burning software is used for sending set compressed data to the chip end;
the chip end is used for receiving the compressed data sent by the burning software and burning the received data;
the chip end comprises at least one communication interface and at least two data buffers, and the chip end is used for receiving data sent by burning software, so that the chip end can carry out the burning process by using the first data buffer and simultaneously carry out the data sending and receiving process by using the second data buffer.
8. The data burning system of claim 7, wherein:
after the chip end executes a burning process by utilizing the first data buffer area, checking whether data exist in the second data buffer area or not, and if the data exist in the second data buffer area, waiting for the second data buffer area to receive all the data of the current communication;
after the second data buffer area receives all the data of the current communication, the current burning state is returned to the burning software; receiving subsequent communication data using the first data buffer simultaneously;
the chip end decompresses and burns the data of the second data buffer area; if the second data buffer area does not have data, the data transmission is finished, and the chip end enters a state of waiting for a burning software command.
9. The data burning system of claim 7, wherein:
the burning software supports the file decompression function, before burning, data to be burned is compressed, and burning data transmitted subsequently are all compressed data;
and under the condition of programming or communication error, the chip end returns error information to the programming software, and the programming is stopped after the programming software detects the error.
10. The data burning system of claim 7, wherein:
the data burning system further comprises: the burning correctness verifying module is used for verifying the correctness of burning; the burning software calculates a first verification value of a set burning file, the chip end calculates a second verification value of a corresponding burning file, and the two verification values are compared to judge the burning correctness.
CN202011254809.9A 2020-11-11 2020-11-11 Data burning method and system Active CN112463172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011254809.9A CN112463172B (en) 2020-11-11 2020-11-11 Data burning method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011254809.9A CN112463172B (en) 2020-11-11 2020-11-11 Data burning method and system

Publications (2)

Publication Number Publication Date
CN112463172A true CN112463172A (en) 2021-03-09
CN112463172B CN112463172B (en) 2023-05-26

Family

ID=74825509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011254809.9A Active CN112463172B (en) 2020-11-11 2020-11-11 Data burning method and system

Country Status (1)

Country Link
CN (1) CN112463172B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988179A (en) * 2021-04-29 2021-06-18 北京华益精点生物技术有限公司 Burning method and system for glucometer code card, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062584A (en) * 2018-07-26 2018-12-21 广州华望汽车电子有限公司 Device, method, system and the storage medium of a kind of multiple chips of while burning
CN109086055A (en) * 2018-07-13 2018-12-25 武汉精测电子集团股份有限公司 A kind of multi-channel parallel industry cd-rom recorder
CN109165025A (en) * 2018-08-01 2019-01-08 京信通信系统(中国)有限公司 The offline method for burn-recording of chip, device, system, computer storage medium and equipment
CN109298867A (en) * 2018-08-01 2019-02-01 京信通信系统(中国)有限公司 The offline method for burn-recording of chip, device, system and computer readable storage medium
CN111124440A (en) * 2019-12-17 2020-05-08 湖南国科微电子股份有限公司 Chip software burning method, chip software burning data processing method and device
CN111679841A (en) * 2020-06-11 2020-09-18 昆山丘钛微电子科技有限公司 Burning system, method and device of camera module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086055A (en) * 2018-07-13 2018-12-25 武汉精测电子集团股份有限公司 A kind of multi-channel parallel industry cd-rom recorder
CN109062584A (en) * 2018-07-26 2018-12-21 广州华望汽车电子有限公司 Device, method, system and the storage medium of a kind of multiple chips of while burning
CN109165025A (en) * 2018-08-01 2019-01-08 京信通信系统(中国)有限公司 The offline method for burn-recording of chip, device, system, computer storage medium and equipment
CN109298867A (en) * 2018-08-01 2019-02-01 京信通信系统(中国)有限公司 The offline method for burn-recording of chip, device, system and computer readable storage medium
CN111124440A (en) * 2019-12-17 2020-05-08 湖南国科微电子股份有限公司 Chip software burning method, chip software burning data processing method and device
CN111679841A (en) * 2020-06-11 2020-09-18 昆山丘钛微电子科技有限公司 Burning system, method and device of camera module

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988179A (en) * 2021-04-29 2021-06-18 北京华益精点生物技术有限公司 Burning method and system for glucometer code card, electronic equipment and storage medium
CN112988179B (en) * 2021-04-29 2021-09-28 北京华益精点生物技术有限公司 Burning method and system for glucometer code card, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112463172B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
CN112559407B (en) STP link layer state machine optimization method
US5978865A (en) System for performing DMA transfers where an interrupt request signal is generated based on the value of the last of a plurality of data bits transmitted
CN101819561A (en) File downloading method and system
US8335867B1 (en) Method and apparatus for reducing host processor activity during interaction with peripheral devices
US20080034142A1 (en) Data transfer in memory card system
US20060236001A1 (en) Direct memory access controller
US20240012775A1 (en) Multi-chip interconnection system and method thereof
CN112463172B (en) Data burning method and system
US20010018646A1 (en) USB simulation apparatus and storage medium
CN112559406A (en) SATA transport layer state machine optimization method
CN110990116B (en) Method, device and system for transmitting data between intelligent network card and virtual machine
US8291270B2 (en) Request processing device, request processing system, and access testing method
US7168029B2 (en) Method for testing a universal serial bus host controller
JP2001202295A (en) Subsystem
US11755439B2 (en) Memory controller, test device and link identification method
CN113806153B (en) Chip verification method
CN114968863A (en) Data transmission method based on DMA controller
US20020089940A1 (en) Duplexing apparatus and method in large scale system
CN112765078A (en) STP transmission layer realizing method for supporting multi-disk PIO command concurrence
CN113886297A (en) SPI concurrent communication SE device and method based on DMA
KR20130032151A (en) Flash memory device capable of verifying reliability using bypass path, and system and method of verifying reliability using that device
US20230379197A1 (en) System and operating method thereof
US11216398B2 (en) USB device and data transfer method thereof
US20240119017A1 (en) Bridge control chip and associated signal processing method
JP3245552B2 (en) Transfer control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant