CN107678770B - Interface chip upgrading method and device, storage medium and processor - Google Patents

Interface chip upgrading method and device, storage medium and processor Download PDF

Info

Publication number
CN107678770B
CN107678770B CN201710831832.1A CN201710831832A CN107678770B CN 107678770 B CN107678770 B CN 107678770B CN 201710831832 A CN201710831832 A CN 201710831832A CN 107678770 B CN107678770 B CN 107678770B
Authority
CN
China
Prior art keywords
interface
file
chip
interface chip
upgraded
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.)
Active
Application number
CN201710831832.1A
Other languages
Chinese (zh)
Other versions
CN107678770A (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.)
Silicon Valley Analog Suzhou Semiconductor Co ltd
Analogix International LLC
Original Assignee
Analogix China Semiconductor Inc
Analogix International LLC
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 Analogix China Semiconductor Inc, Analogix International LLC filed Critical Analogix China Semiconductor Inc
Priority to CN201710831832.1A priority Critical patent/CN107678770B/en
Publication of CN107678770A publication Critical patent/CN107678770A/en
Application granted granted Critical
Publication of CN107678770B publication Critical patent/CN107678770B/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/65Updates
    • G06F8/66Updates of program code stored in read-only memory [ROM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an interface chip upgrading method, an interface chip upgrading device, a storage medium and a processor. Wherein, the method comprises the following steps: obtaining a chip upgrading instruction, wherein the chip upgrading instruction is used for upgrading an interface chip; according to the chip upgrading instruction, storing a file to be upgraded of the interface chip into a cache space through an interface auxiliary channel; and upgrading the interface chip according to the file to be upgraded of the interface chip in the cache space. The invention solves the technical problem that the prior art can not carry out firmware upgrading on the interface chip deployed in a large scale.

Description

Interface chip upgrading method and device, storage medium and processor
Technical Field
The invention relates to the field of computers, in particular to an interface chip upgrading method, an interface chip upgrading device, a storage medium and a processor.
Background
At present, the interface chip can only be realized by a developer using the EVB development board to burn firmware in the interface chip through I2C, that is, upgrade the firmware of the interface chip, and by using the EVB development board to access the chip through I2C.
However, the firmware upgrade of the interface chip by the EVB development board can only be realized by burning a single interface chip in a targeted manner, and the firmware upgrade of the interface chip deployed in a large scale cannot be unified.
In addition, with the EVB development board, the mode of accessing the interface chip through I2C to upgrade the firmware of the interface chip requires a high software knowledge of the operator, and for a common user, the user cannot effectively operate the EVB development board, and further cannot effectively upgrade the firmware of the interface chip, so that the firmware of the chip deployed in a large scale cannot be effectively upgraded.
Aiming at the problem that the prior art can not update the firmware of the interface chip deployed in a large scale, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides an interface chip upgrading method, an interface chip upgrading device, a storage medium and a processor, and at least solves the technical problem that firmware upgrading cannot be performed on interface chips deployed in a large scale in the prior art.
According to an aspect of an embodiment of the present invention, there is provided an interface chip upgrade method, including: obtaining a chip upgrading instruction, wherein the chip upgrading instruction is used for upgrading the interface chip; according to the chip upgrading instruction, storing a file to be upgraded of the interface chip into a cache space through an interface auxiliary channel; and upgrading the interface chip according to the file to be upgraded of the interface chip in the cache space.
Further, before storing the file to be upgraded of the interface chip into the cache space through the interface auxiliary channel according to the chip upgrade instruction, the method further includes: identifying the type of a display card connected with the interface chip and the type of an interface of the interface chip connected with the display card; and determining the type of the interface auxiliary channel according to the type of the display card and the type of the interface.
Further, after obtaining the chip upgrade instruction, the method includes: acquiring a reading mode corresponding to the type of the interface auxiliary channel from a first preset database; reading the file in the interface chip from the cache space according to the reading mode; and adjusting the file in the interface chip according to the chip upgrading instruction to obtain the file to be upgraded.
Further, storing the file to be upgraded of the interface chip in a cache space through an interface auxiliary channel comprises: acquiring a writing mode corresponding to the type of the interface auxiliary channel from a second preset database; and storing the file to be upgraded into the cache space according to the writing mode.
Further, according to the file to be upgraded of the interface chip in the cache space, upgrading the interface chip includes at least one of: replacing the file to be upgraded of the interface chip of the cache space with a preset upgrade file, and upgrading the interface chip with the preset upgrade file; erasing the file to be upgraded of the interface chip in the cache space, and upgrading the interface chip by using the erased file to be upgraded; modifying the file to be upgraded of the interface chip of the cache space, and upgrading the interface chip by using the modified file to be upgraded; and comparing the file to be upgraded of the interface chip of the cache space with a preset file, and judging whether the file to be upgraded is the same as the preset file.
Further, after upgrading the interface chip, the method includes: and writing and protecting the file to be upgraded of the interface chip.
According to another aspect of the embodiments of the present invention, there is also provided an interface chip upgrading apparatus, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a chip upgrading instruction, and the chip upgrading instruction is used for upgrading the interface chip; the cache unit is used for storing the file to be upgraded of the interface chip into a cache space through an interface auxiliary channel according to the chip upgrading instruction; and the upgrading unit is used for upgrading the interface chip according to the file to be upgraded of the interface chip in the cache space.
Further, the upgrade unit includes at least one of: the replacing unit is used for replacing the file to be upgraded of the interface chip of the cache space by using a preset upgrading file and upgrading the interface chip by using the preset upgrading file; the erasing unit is used for erasing the file to be upgraded of the interface chip in the cache space and upgrading the interface chip by using the erased file to be upgraded; the modification unit is used for modifying the file to be upgraded of the interface chip of the cache space and upgrading the interface chip by using the modified file to be upgraded; and the checking unit is used for comparing the file to be upgraded of the interface chip in the cache space with a preset file and judging whether the file to be upgraded is the same as the preset file.
According to yet another embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program performs any one of the above methods when executed.
According to yet another embodiment of the present invention, there is also provided a processor for executing a program, wherein the program executes to perform the method of any one of the above.
In the embodiment of the invention, when the chip upgrading instruction for instructing the interface chip to be upgraded is acquired, the files to be upgraded in the interface chip are stored in the cache space through the interface auxiliary channel, and then the interface chip is upgraded through the files to be upgraded in the cache space, since the cache space can be accessed through the interface auxiliary channel, the file to be upgraded of the chip upgrade instruction of the interface chip can be transmitted into the cache space, further, the process of adjusting the data in the cache space does not need to be carried out by an EVB development board, and the firmware of the interface chip can be upgraded only by replacing the file to be upgraded in the cache space, therefore, the difficulty of firmware upgrading of the chip can be reduced, the firmware upgrading of the interface chip deployed in a large scale can be realized quickly, and the technical problem that the firmware upgrading of the interface chip deployed in a large scale cannot be realized in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an alternative interface chip upgrade method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative interface chip hardware connection according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative user interface according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an alternative interface chip upgrade apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, some terms or terms appearing in the description of the embodiments of the present invention are applicable to the following explanations:
I2C, a serial bus, requires only two wires to transfer information between devices connected to the bus.
EVB, English called Evaluation board, used for chip development.
Firmware, namely a program written in an EROM (erasable read only memory) or an EEPROM (electrically erasable programmable read only memory), refers to a device "driver" stored inside a device, and through the Firmware, an operating system can realize the operation of a specific machine according to a standard device driver, for example, an optical disc drive, a recorder and the like have internal Firmware, namely software which plays the most basic and bottom layer of a system.
In accordance with an embodiment of the present invention, there is provided an interface chip upgrade method embodiment, it should be noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a schematic diagram of an optional interface chip upgrade method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, a chip upgrading instruction is obtained, wherein the chip upgrading instruction is used for upgrading an interface chip;
step S104, according to the chip upgrading instruction, storing the file to be upgraded of the interface chip into a cache space through an interface auxiliary channel;
and step S106, upgrading the interface chip according to the file to be upgraded of the interface chip in the cache space.
According to the above-mentioned embodiment of the present invention, in the case of acquiring a chip upgrade instruction for instructing an upgrade of an interface chip, the files to be upgraded in the interface chip are stored in the cache space through the interface auxiliary channel, and then the interface chip is upgraded through the files to be upgraded in the cache space, since the cache space can be accessed through the interface auxiliary channel, the file to be upgraded of the chip upgrade instruction of the interface chip can be transmitted into the cache space, further, the process of adjusting the data in the cache space does not need to be carried out by an EVB development board, and the firmware of the interface chip can be upgraded only by replacing the file to be upgraded in the cache space, therefore, the difficulty of firmware upgrading of the chip can be reduced, the firmware upgrading of the interface chip deployed in a large scale can be realized quickly, and the technical problem that the firmware upgrading of the interface chip deployed in a large scale cannot be realized in the prior art is solved.
Optionally, the file to be upgraded in the interface chip is called a firmware, and upgrading the file to be upgraded in the interface chip is firmware upgrading.
Optionally, the file to be upgraded may be a Hex file, and the Hex file is stored in the cache space, that is, the interface chip may be upgraded by the Hex file in the cache space.
It should be noted that the Hex file format is a file format that can be programmed into and executed by the single chip microcomputer, and there are many ways of generating Hex files, and the C program or the assembler program can be compiled by different compilers to generate Hex.
Optionally, the firmware stored in the register of the interface chip may be mapped into a cache space Flash through the interface auxiliary channel, where the cache space corresponds to the register, and the firmware in the interface chip may be upgraded by adjusting the file to be upgraded in the cache space, that is, the firmware is upgraded.
Optionally, the file to be upgraded may be imported into the cache space, so that the interface chip may be upgraded through the cache space.
Optionally, the file to be upgraded in the cache space may be adjusted according to the chip upgrade instruction to upgrade the interface chip.
Alternatively, the interface chip may be a chip applied to a display end or a VR device for converting DP into MIPI.
It should be noted that VR is also called virtual reality, and is a display terminal; DP refers to DisplayPort, which is a high-definition digital display interface standard; the MIPI Mobile Industry Processor Interface (Mobile Industry Processor Interface), an open standard and a specification established by the MIPI alliance for Mobile application processors.
Alternatively, the chip upgrade instruction may be issued by an operating system, which may be a computer system, such as a Windows system.
Optionally, the interface chip may be connected to a display card of the computer, and a chip upgrade instruction sent by an operating system of the computer may be transmitted to the interface chip through the display card.
As an optional embodiment, before storing a file to be upgraded of an interface chip into a cache space through an interface auxiliary channel according to a chip upgrade instruction, the method further includes: identifying the type of a display card connected with the interface chip and the type of an interface connected with the display card by the interface chip; and determining the type of the interface auxiliary channel according to the type of the display card and the type of the interface.
By adopting the embodiment of the invention, before the file to be upgraded of the interface chip is stored in the cache space through the interface auxiliary channel, the type of the display card connected with the interface chip and the type of the interface connected with the display card are identified, and then the type of the interface auxiliary channel is determined according to the type of the display card and the type of the interface connected with the display card by the interface chip, so that the communication between the interface chip and the cache space can be accurately established according to the type of the interface auxiliary channel, and the possibility of upgrading the firmware of the interface chip by using the cache space is realized.
As an optional example, if the display card is a, the display card a is connected to the interface chip through the DP interface, and communication between the cache space and the interface chip may be established according to a connection relationship between the DP interface of the display card a and the interface chip through identification.
As an alternative embodiment, after the chip upgrade instruction is obtained, the method includes: acquiring a reading mode corresponding to the type of the interface auxiliary channel from a first preset database; reading the file in the interface chip from the buffer space according to a reading mode; and adjusting the files in the interface chip according to the chip upgrading instruction to obtain the files to be upgraded.
By adopting the embodiment of the invention, the reading mode for reading the file in the cache space is obtained in the first database according to the type of the interface auxiliary channel, then the file in the cache space is read according to the reading mode, and the read file in the cache space is adjusted to obtain the file to be upgraded of the interface chip, so that the interface chip can be upgraded according to the adjusted file to be upgraded.
Optionally, the first database stores types of the interface auxiliary channels corresponding to the multiple types of video cards and the multiple types of interfaces, and a reading mode corresponding to the type of the interface auxiliary channel.
As an optional embodiment, according to a file to be upgraded of an interface chip in the cache space, upgrading the interface chip includes: acquiring a writing mode corresponding to the type of the interface auxiliary channel from a second preset database; and storing the file to be upgraded into the cache space according to a writing mode.
By adopting the embodiment of the invention, the writing mode of writing the file to be upgraded into the cache space is obtained in the second database according to the type of the interface auxiliary channel, and then the file to be upgraded is stored into the cache space according to the writing mode, so that the interface chip can be upgraded according to the file to be upgraded in the cache space.
Optionally, the second database stores types of interface auxiliary channels corresponding to the multiple types of video cards and the multiple types of interfaces, and writing manners corresponding to the types of the interface auxiliary channels.
As an alternative embodiment, according to the file to be upgraded of the interface chip in the cache space, upgrading the interface chip includes at least one of: replacing a file to be upgraded of an interface chip of the cache space by using a preset upgrading file, and upgrading the interface chip by using the preset upgrading file; erasing a file to be upgraded of an interface chip of the cache space, and upgrading the interface chip by using the erased file to be upgraded; modifying a file to be upgraded of an interface chip of the cache space, and upgrading the interface chip by using the modified file to be upgraded; and comparing the file to be upgraded of the interface chip of the cache space with the preset file, and judging whether the file to be upgraded is the same as the preset file.
By adopting the embodiment of the invention, in the process of upgrading the interface chip according to the file to be upgraded of the interface chip in the cache space, the file to be upgraded in the cache space can be replaced by the preset upgrade file to realize the upgrade of the interface chip; or erasing the file to be upgraded in the cache space to realize the upgrading of the interface chip; or modifying the file to be upgraded in the cache space to upgrade the interface chip, or extracting the file to be upgraded in the interface chip to compare with the predetermined file, and judging whether the file to be upgraded is the same as the predetermined file, thereby realizing the proofreading of the file to be upgraded in the interface chip and further realizing the upgrade of the interface chip.
As an alternative embodiment, after upgrading the interface chip, the method includes: and writing and protecting the file to be upgraded of the interface chip.
By adopting the embodiment of the invention, after the interface chip is upgraded, the file to be upgraded in the interface chip can be protected by writing, so that the error operation of the file to be upgraded in the chip after the firmware is upgraded is avoided, and further the fault of the interface chip is avoided.
Optionally, the connection between the interface chip and the cache space may be disconnected for write protection of the file to be upgraded of the interface chip, so that the file to be upgraded (i.e., the firmware) in the interface chip is not changed even when the file to be upgraded in the cache space is changed.
The invention also provides a preferred embodiment, which provides a device for upgrading the Chicago chip by the DP AUX Channel and an implementation mode.
The Chicago chip is an interface conversion chip, and specifically, can be a DP-to-MIPI chip.
In the process of upgrading the firmware of the Chicago chip, a cache space Flash mapped to the auxiliary Channel (DP Aux Channel) by the Chicago chip can be used for operating a Chicago chip register through an interface auxiliary Channel (DP Aux Channel) signal line and an access control interface, so that the access to the internal cache space of the Chicago chip is realized.
According to different characteristics of each platform of Windows, an interface auxiliary Channel (DP Aux Channel) access control interface provided by each display card and the control of a cache space (Flash) in a read-write time sequence establish the technical scheme provided by the invention.
Fig. 2 is a schematic diagram of an optional interface chip hardware connection according to an embodiment of the present invention, as shown in fig. 2, a Chicago chip (interface chip 21) is located at a VR 22 device or a display end 23(Monitor end), and is connected to a display port 26(DP) or an embedded display port 27(eDP) of a display card 28 through a display port data line 24(DP Cable) or an embedded display port data line 25(eDP Cable), and an application program on an operating system of a computer 29 reads and writes (Flash) inside the Chicago chip through a display port data line or an auxiliary channel (Aux channel) signal line embedded in the display port data line (DP/eDP Cable), so as to achieve a purpose of upgrading a Chicago internal program.
Optionally, the graphics cards include Intel graphics cards, Nvidia graphics cards, and AMD graphics cards.
Optionally, the display card may be identified through a preliminary operation, and connection modes between different types of display cards and the interface chip may be identified.
For example, it can be recognized that a Display Port (DP) of the AMD video card is connected to the interface chip through a display port data line (DP Cable), and then it is determined that the type of the interface auxiliary channel is AMD DP Aux channel.
Optionally, the code for reading the file of the interface chip in the cache space may be determined according to the type of the interface auxiliary channel, and the code for writing the file to be upgraded into the cache space may also be determined according to the type of the interface auxiliary channel.
Fig. 3 is a schematic diagram of an optional user interface according to an embodiment of the present invention, as shown in fig. 3, the interface includes four buttons of Browse ", Erase", Program ", and Verify", after a user opens an interface chip upgrade Tool (i.e., a Chicago Aux Update Tool), the user first clicks the Browse "button to select a Hex file to be upgraded, and then the user can select to click the Program" button to upgrade the Hex file into a cache space Flash inside the interface chip according to an actual use requirement; or clicking an Erase button to Erase the file in the cache space (namely the Flash space) corresponding to the interface chip; or clicking a check 'Verify' button, reading the upgrade data in the interface chip, and comparing the read data with the Hex file selected by the user.
According to the technical scheme provided by the invention, in the user interface, the user can realize the functions of programming (upgrading), erasing, checking and the like of the interface chip only by operating each button through the mouse, so that the access control of the user to different display cards becomes transparent.
After the firmware of the interface chip is upgraded, the cache space (Flash) of the interface chip can be protected by writing. Specifically, the function of accessing the interface chip by the cache space (Flash) can be closed, the codes in the cache space (Flash) can be erased, and the write protection of the cache space (Flash) can be realized.
According to another aspect of the present invention, an embodiment of the present invention further provides a storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus on which the storage medium is located is controlled to execute the interface chip upgrade method described above.
According to another aspect of the present invention, an embodiment of the present invention further provides a processor, where the processor is configured to execute a program, where the program executes the interface chip upgrade method described above.
According to the embodiment of the present invention, an embodiment of an interface chip upgrading apparatus is further provided, and it should be noted that the interface chip upgrading apparatus may be configured to execute an interface chip upgrading method in the embodiment of the present invention, and the interface chip upgrading method in the embodiment of the present invention may be executed in the interface chip upgrading apparatus.
Fig. 4 is a schematic diagram of an alternative interface chip upgrade apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus may include: an obtaining unit 41, configured to obtain a chip upgrade instruction, where the chip upgrade instruction is used to upgrade an interface chip; the cache unit 43 is configured to store a file to be upgraded of the interface chip in a cache space through the interface auxiliary channel according to the chip upgrade instruction; and the upgrading unit 45 is used for upgrading the interface chip according to the file to be upgraded of the interface chip in the cache space.
According to the above-mentioned embodiment of the present invention, in the case of acquiring a chip upgrade instruction for instructing an upgrade of an interface chip, the files to be upgraded in the interface chip are stored in the cache space through the interface auxiliary channel, and then the interface chip is upgraded through the files to be upgraded in the cache space, since the cache space can be accessed through the interface auxiliary channel, the file to be upgraded of the chip upgrade instruction of the interface chip can be transmitted into the cache space, further, the process of adjusting the data in the cache space does not need to be carried out by an EVB development board, and the firmware of the interface chip can be upgraded only by replacing the file to be upgraded in the cache space, therefore, the difficulty of firmware upgrading of the chip can be reduced, the firmware upgrading of the interface chip deployed in a large scale can be realized quickly, and the technical problem that the firmware upgrading of the interface chip deployed in a large scale cannot be realized in the prior art is solved.
It should be noted that the obtaining unit 41 in this embodiment may be configured to execute step S102 in this embodiment, the caching unit 43 in this embodiment may be configured to execute step S104 in this embodiment, and the upgrading unit 45 in this embodiment may be configured to execute step S106 in this embodiment. The modules are the same as the corresponding steps in the realized examples and application scenarios, but are not limited to the disclosure of the above embodiments.
As an alternative embodiment, the embodiment may further include: the identification unit is used for identifying the type of the display card connected with the interface chip and the interface type of the interface chip connected with the display card before the file to be upgraded of the interface chip is stored in the cache space through the interface auxiliary channel according to the chip upgrading instruction; and the determining unit is used for determining the type of the interface auxiliary channel according to the type of the display card and the type of the interface, wherein the interface auxiliary channel is used for connecting the display card and the interface chip.
As an alternative embodiment, this embodiment may include: the first acquisition module is used for acquiring a reading mode corresponding to the type of the interface auxiliary channel in a first preset database after acquiring the chip upgrading instruction; the reading module is used for reading the file in the interface chip from the buffer space according to a reading mode; and the adjusting module is used for adjusting the file in the interface chip according to the chip upgrading instruction to obtain the file to be upgraded.
As an alternative embodiment, the cache unit includes: a second obtaining module obtains a writing mode corresponding to the type of the interface auxiliary channel in a second preset database; and the writing module is used for storing the file to be upgraded into the cache space according to the writing mode.
As an alternative embodiment, the upgrade unit comprises at least one of: the replacing unit is used for replacing the file to be upgraded of the interface chip of the cache space by using a preset upgrading file and upgrading the interface chip by using the preset upgrading file; the erasing unit is used for erasing a file to be upgraded of the interface chip of the cache space and upgrading the interface chip by using the erased file to be upgraded; the modification unit is used for modifying the file to be upgraded of the interface chip of the cache space and upgrading the interface chip by using the modified file to be upgraded; and the checking unit is used for comparing the file to be upgraded of the interface chip of the cache space with the preset file and judging whether the file to be upgraded is the same as the preset file.
As an alternative embodiment, the method further comprises: and the write protection unit is used for performing write protection on the file to be upgraded of the interface chip after the interface chip is upgraded.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (6)

1. An interface chip upgrading method is characterized by comprising the following steps:
obtaining a chip upgrading instruction, wherein the chip upgrading instruction is used for upgrading the interface chip;
according to the chip upgrading instruction, storing a file to be upgraded of the interface chip into a cache space through an interface auxiliary channel;
upgrading the interface chip according to the file to be upgraded of the interface chip in the cache space;
before storing the file to be upgraded of the interface chip into the cache space through the interface auxiliary channel according to the chip upgrade instruction, the method further comprises the following steps:
identifying the type of a display card connected with the interface chip and the type of an interface of the interface chip connected with the display card;
determining the type of the interface auxiliary channel according to the type of the display card and the type of the interface;
accurately establishing communication between an interface chip and a cache space according to the type of the interface auxiliary channel;
after obtaining the chip upgrade instruction, the method comprises the following steps:
acquiring a reading mode corresponding to the type of the interface auxiliary channel from a first preset database, wherein the first preset database stores the types of the interface auxiliary channels corresponding to various types of video cards and various types of interfaces, and the reading mode corresponding to the type of the interface auxiliary channel;
reading the file in the interface chip from the cache space according to the reading mode;
adjusting the file in the interface chip according to the chip upgrading instruction to obtain the file to be upgraded;
after the interface chip is upgraded, the method comprises the following steps:
the file to be upgraded of the interface chip is subjected to write protection, and the connection between the interface chip and the cache space is disconnected;
wherein, to store the file to be upgraded of the interface chip into the cache space through the interface auxiliary channel comprises:
acquiring a writing mode corresponding to the type of the interface auxiliary channel from a second preset database;
storing the file to be upgraded into the cache space according to the writing mode;
the second preset database stores types of the interface auxiliary channels corresponding to the multiple types of the display cards and the multiple types of the interfaces and writing modes corresponding to the types of the interface auxiliary channels.
2. The method of claim 1, wherein upgrading the interface chip according to the file to be upgraded of the interface chip in the cache space comprises at least one of:
replacing the file to be upgraded of the interface chip of the cache space with a preset upgrade file, and upgrading the interface chip with the preset upgrade file;
erasing the file to be upgraded of the interface chip in the cache space, and upgrading the interface chip by using the erased file to be upgraded;
modifying the file to be upgraded of the interface chip of the cache space, and upgrading the interface chip by using the modified file to be upgraded;
and comparing the file to be upgraded of the interface chip of the cache space with a preset file, and judging whether the file to be upgraded is the same as the preset file.
3. An interface chip upgrade apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a chip upgrading instruction, and the chip upgrading instruction is used for upgrading the interface chip;
the cache unit is used for storing the file to be upgraded of the interface chip into a cache space through an interface auxiliary channel according to the chip upgrading instruction;
the upgrading unit is used for upgrading the interface chip according to the file to be upgraded of the interface chip in the cache space;
wherein the apparatus further comprises:
the identification unit is used for identifying the type of a display card connected with the interface chip and the interface type of the interface chip connected with the display card before storing a file to be upgraded of the interface chip into a cache space through an interface auxiliary channel according to the chip upgrading instruction;
the determining unit is used for determining the type of the interface auxiliary channel according to the type of the display card and the type of the interface, and accurately establishing communication between the interface chip and the cache space according to the type of the interface auxiliary channel;
wherein the apparatus further comprises:
the first obtaining module is used for obtaining a reading mode corresponding to the type of the interface auxiliary channel in a first preset database after obtaining a chip upgrading instruction, wherein the first preset database stores the types of the interface auxiliary channels corresponding to the various types of video cards and the various types of interfaces, and the reading mode corresponding to the type of the interface auxiliary channel;
the reading module is used for reading the file in the interface chip from the cache space according to the reading mode;
the adjusting module is used for adjusting the file in the interface chip according to the chip upgrading instruction to obtain the file to be upgraded;
wherein the apparatus further comprises:
the write protection unit is used for performing write protection on a file to be upgraded of the interface chip after the interface chip is upgraded and disconnecting the interface chip from the cache space;
wherein, the buffer unit includes:
the second acquisition module is used for acquiring a writing mode corresponding to the type of the interface auxiliary channel from a second preset database;
the writing module is used for storing the file to be upgraded into the cache space according to the writing mode;
the second preset database stores types of the interface auxiliary channels corresponding to the multiple types of the display cards and the multiple types of the interfaces and writing modes corresponding to the types of the interface auxiliary channels.
4. The apparatus of claim 3, wherein the upgrade unit comprises at least one of:
the replacing unit is used for replacing the file to be upgraded of the interface chip of the cache space by using a preset upgrading file and upgrading the interface chip by using the preset upgrading file;
the erasing unit is used for erasing the file to be upgraded of the interface chip in the cache space and upgrading the interface chip by using the erased file to be upgraded;
the modification unit is used for modifying the file to be upgraded of the interface chip of the cache space and upgrading the interface chip by using the modified file to be upgraded;
and the checking unit is used for comparing the file to be upgraded of the interface chip in the cache space with a preset file and judging whether the file to be upgraded is the same as the preset file.
5. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of claim 1 or 2.
6. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of claim 1 or 2.
CN201710831832.1A 2017-09-14 2017-09-14 Interface chip upgrading method and device, storage medium and processor Active CN107678770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710831832.1A CN107678770B (en) 2017-09-14 2017-09-14 Interface chip upgrading method and device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710831832.1A CN107678770B (en) 2017-09-14 2017-09-14 Interface chip upgrading method and device, storage medium and processor

Publications (2)

Publication Number Publication Date
CN107678770A CN107678770A (en) 2018-02-09
CN107678770B true CN107678770B (en) 2021-03-09

Family

ID=61136934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710831832.1A Active CN107678770B (en) 2017-09-14 2017-09-14 Interface chip upgrading method and device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN107678770B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489178B (en) * 2019-07-12 2020-04-21 中国人民解放军63961部队 Software state information reading and writing method and device, storage medium and terminal
CN111176696B (en) * 2019-12-31 2023-10-27 泰斗微电子科技有限公司 Memory chip upgrading method and device, terminal equipment and medium
CN115202702A (en) * 2022-09-13 2022-10-18 深圳市湘凡科技有限公司 Software updating method based on DisplayPort interface and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030140A (en) * 2006-03-02 2007-09-05 中兴通讯股份有限公司 Device and method for on-line updating fastener programm
CN101046789A (en) * 2006-03-27 2007-10-03 飞博创(成都)科技有限公司 Data transmission method, firmware updating method and bus loader
CN101330399A (en) * 2007-06-19 2008-12-24 上海风格信息技术有限公司 Method for upgrading built-in equipment
CN105549974A (en) * 2015-12-09 2016-05-04 合肥联宝信息技术有限公司 Chip firmware updating method and system
CN106708588A (en) * 2017-01-13 2017-05-24 联想(北京)有限公司 Processing method, equipment and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030140A (en) * 2006-03-02 2007-09-05 中兴通讯股份有限公司 Device and method for on-line updating fastener programm
CN101046789A (en) * 2006-03-27 2007-10-03 飞博创(成都)科技有限公司 Data transmission method, firmware updating method and bus loader
CN101330399A (en) * 2007-06-19 2008-12-24 上海风格信息技术有限公司 Method for upgrading built-in equipment
CN105549974A (en) * 2015-12-09 2016-05-04 合肥联宝信息技术有限公司 Chip firmware updating method and system
CN106708588A (en) * 2017-01-13 2017-05-24 联想(北京)有限公司 Processing method, equipment and system

Also Published As

Publication number Publication date
CN107678770A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN106095620B (en) A kind of development approach of built-in Linux partition holding
TWI220962B (en) Firmware updating method and related apparatus for checking content of replacing firmware before firmware updating
CN107678770B (en) Interface chip upgrading method and device, storage medium and processor
CN103309709A (en) Firmware upgrading method, device and communication equipment
CN101000553A (en) Embedded system
CN110837385A (en) DSP application program online upgrading method based on CANopen protocol
CN111866577B (en) Screen recording method, electronic device and computer readable storage medium
CN108694052B (en) Firmware upgrading method, firmware upgrading device and firmware upgrading system
CN109445691B (en) Method and device for improving FTL algorithm development and verification efficiency
CN110289039B (en) Debugging method and device of eMMC
CN107463341A (en) Method for deleting, device and the mobile terminal of FLASH chip
CN106610859A (en) Program update method, device and system, and imaging box
CN111459744A (en) Firmware burning method and firmware debugging method of video processing chip
US20110004719A1 (en) Memory Element
CN114446381A (en) eMMC fault analysis method, eMMC fault analysis device, readable storage medium and electronic equipment
CN106528226A (en) Operation system installation method and apparatus
CN115906014A (en) Data processing method and related device
CN111782474A (en) Log processing method and device, electronic equipment and medium
CN110362324A (en) A kind of network interface card upgrade method and device
CN111694580A (en) Method and device for upgrading and initializing storage device and electronic device
JP3028055B2 (en) PC card system and program rewriting method
CN113272785A (en) Method for mounting file system, terminal equipment and storage medium
TWI614684B (en) Field firmware upgrading method and computer-readable medium
CN108052337A (en) A kind of firmware upgrade method and device of eMMC production tools
CN111158658B (en) Instruction processing method, device, terminal equipment and storage medium

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210423

Address after: 1801, building 4, 209 Zhuyuan Road, high tech Zone, Suzhou City, Jiangsu Province

Patentee after: Silicon Valley digital analog (Suzhou) Semiconductor Co.,Ltd.

Patentee after: ANALOGIX INTERNATIONAL LLC

Address before: 100086, 28 floor, block A, digital building, No. 2 South Avenue, Beijing, Haidian District, Zhongguancun

Patentee before: ANALOGIX (CHINA) SEMICONDUCTOR, Inc.

Patentee before: ANALOGIX INTERNATIONAL LLC

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 1801, building 4, 209 Zhuyuan Road, high tech Zone, Suzhou City, Jiangsu Province

Patentee after: Silicon Valley Analog (Suzhou) Semiconductor Co.,Ltd.

Patentee after: ANALOGIX INTERNATIONAL LLC

Address before: Room 1801, building 4, No. 209, Zhuyuan Road, high tech Zone, Suzhou, Jiangsu 215010

Patentee before: Silicon Valley digital analog (Suzhou) Semiconductor Co.,Ltd.

Patentee before: ANALOGIX INTERNATIONAL LLC