CN112068868B - FLASH memory burning method based on TypeC chip and display - Google Patents
FLASH memory burning method based on TypeC chip and display Download PDFInfo
- Publication number
- CN112068868B CN112068868B CN202010942427.9A CN202010942427A CN112068868B CN 112068868 B CN112068868 B CN 112068868B CN 202010942427 A CN202010942427 A CN 202010942427A CN 112068868 B CN112068868 B CN 112068868B
- Authority
- CN
- China
- Prior art keywords
- chip
- typec
- flash memory
- display
- burning
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0002—Serial port, e.g. RS232C
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention discloses a FLASH memory burning method based on a TypeC chip and a display, wherein the burning method comprises the following steps: the method comprises the following steps that firstly, a TypeC chip receives an index file and files to be burnt, wherein the index file comprises a burning sequence and corresponding relations between the files to be burnt and FLASH memories; step two, the TypeC chip is connected with a FLASH memory according to the burning sequence; thirdly, selecting a file to be burned by the TypeC chip according to the corresponding relation, and writing the file into the connected FLASH memory; and repeating the second step and the third step. The display comprises a TypeC chip stored with a program, and when the TypeC chip executes the program, the display executes the burning method. The method is simple to operate, does not need to master burning related professional knowledge, and is convenient for the terminal user to update the program.
Description
Technical Field
The invention relates to the field of displays, in particular to a FLASH memory burning method based on a TypeC chip, and relates to a display.
Background
The conventional method for updating the display program needs to use a dedicated adapter board to connect the display with a burning host, such as a computer and a smart phone.
The display with the TypeC port is provided with at least two programs, the programs are respectively burnt in different FLASH memories, one program is burnt in a FLASH memory built in the TypeC chip, and the other programs are burnt in the FLASH memories with corresponding functions. When a program is updated, the FLASH memories need to be respectively burned, wherein the burning of the FLASH memory built in the TypeC chip is realized through the TypeC port, the TypeC port of the display needs to be connected with the burning host through a USB cable, the burning of the other FLASH memories is realized through the display port, and the display port of the display needs to be connected with the burning host through a special adapter board, that is, after the target FLASH memory is changed in the burning process, the cable needs to be replaced, and a program corresponding to the current FLASH memory needs to be found out from a plurality of programs, so that the defects that the operation is complicated and an operator needs to have related professional knowledge exist. This causes trouble for the end user to update the program.
Disclosure of Invention
The invention aims to provide a FLASH memory burning method based on a TypeC chip and a display, so as to solve the defects in the related art.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a FLASH memory burning method based on a TypeC chip comprises the following steps:
the method comprises the following steps that firstly, a TypeC chip receives an index file and files to be burnt, wherein the index file comprises a burning sequence, and the index file also comprises corresponding relations between the files to be burnt and FLASH memories;
step two, the TypeC chip is connected with a FLASH memory according to the burning sequence;
thirdly, selecting a file to be burned corresponding to the connected FLASH memory by the TypeC chip according to the corresponding relation, and writing the file to be burned into the connected FLASH memory;
and repeating the second step and the third step until the last burning task in the burning sequence is completed.
In the foregoing method for burning a FLASH memory based on a TypeC chip, preferably, in the third step, when the FLASH memory to be turned on is not a built-in memory of the TypeC chip, a Serial Peripheral Interface (SPI) protocol is used to write a corresponding file to be burned into the FLASH memory to be turned on.
A display, comprising: a TypeC port; a first FLASH memory; a second FLASH memory; and the TypeC chip stores a program, and when the TypeC chip executes the program, the display executes the burning method.
In the above display, preferably, the TypeC chip is a CSA36FX30 chip, and the first FLASH memory is an internal memory of the CSA36FX30 chip.
In the above display, preferably, the second FLASH memory is respectively connected to the TypeC chip and the display main control chip.
In the above display, preferably, the second FLASH memory is directly connected to the SPI port of the TypeC chip and the SPI port of the display main control chip.
In the display, preferably, the second FLASH memory is connected to the type c chip SPI port and the display main control chip SPI port through a multi-way selector switch, and a control end of the multi-way selector switch is connected to the type c chip.
In the above display, preferably, the display main control chip is an RTD2556T chip.
Compared with the prior art, the invention has at least the following beneficial effects:
only a cable needs to be connected once, the burning of each FLASH memory is automatically completed under the control of the TypeC chip, the operation is simple, the professional knowledge related to burning does not need to be mastered, and the self-updating of programs by terminal users is facilitated.
Drawings
FIG. 1 is a flow chart of a FLASH memory burning method based on a TypeC chip;
FIG. 2 is a block diagram of a burning related circuit of a display;
FIG. 3 is an example of a connection of a second FLASH memory to a TypeC chip and a display master;
FIG. 4 is another example of a connection of a second FLASH memory to a TypeC chip and a display master chip;
reference numerals: 1. a TypeC port; 2. a data converter; 3. a TypeC chip; 4. a first FLASH memory; 5. a second FLASH memory; 6. a display main control chip; 7. a multi-way selector switch.
Detailed Description
The invention aims to solve the defects of complicated program updating operation and the requirement of an operator to have related professional knowledge of equipment with a plurality of FLASH memories, and provides a new burning method. The invention is further illustrated with reference to the following figures and examples.
The first embodiment: burning method
The burning method is a FLASH memory burning method based on a TypeC chip. Referring to fig. 1, the burning method includes the following steps:
the method comprises the steps that firstly, a TypeC chip receives an index file and files to be burnt, wherein the index file comprises a burning sequence, and the index file further comprises corresponding relations between the files to be burnt and FLASH memories. For example,
in the above index file, six files to be burned are listed in the left column, and the name of the file represents the corresponding relationship between the file and the FLASH memory, for example: bin corresponds to a built-in FLASH memory of a TypeC chip, FLASH1 bin corresponds to a FLASH1 memory, and FLASH2 bin corresponds to a FLASH2 memory.
The file to be burned is a bin file.
And step two, the TypeC chip is connected with a FLASH memory according to the burning sequence. The connection in this application may be a physical connection in a circuit, such as controlling the selection switch to be turned on, or a logical connection, such as sending a "write" control signal to the FLASH memory to make it enter a "write" operating state.
And thirdly, selecting a file to be burned corresponding to the connected FLASH memory by the TypeC chip according to the corresponding relation, and writing the file to be burned into the connected FLASH memory. For example, in response to the index file, when a FLASH memory built in the TypeC chip is turned on, a boot.
And repeating the second step and the third step until the last burning task in the burning sequence is completed.
Further, in the third step, when the switched-on FLASH memory is not the built-in memory of the TypeC chip, writing the corresponding file to be burned into the switched-on FLASH memory by using an SPI protocol. After the SPI protocol is adopted, the method further has the characteristics of less occupied chip pins, simplicity and easiness in use.
In the burning method, the TypeC port of the equipment to be burned is connected with the burning host by using the USB cable before burning, the burning of all FLASH memories in the equipment to be burned can be completed without replacing the cable in the subsequent burning, and the burning is automatically completed under the control of the TypeC chip. The method does not need to replace a special conversion board, does not need to manually search matched files for each FLASH memory, is simple to operate, does not need to master burning related professional knowledge, and is convenient for a terminal user to update programs.
Second embodiment: display device
As shown in fig. 2, the present display includes: the display comprises a TypeC port 1, a first FLASH memory 4, a second FLASH memory 5 and a TypeC chip 3 which stores programs, wherein when the TypeC chip 3 executes the programs, the display executes the burning method according to the first embodiment.
In this embodiment, the TypeC chip 3 specifically adopts a CSA36FX30 chip, the first FLASH memory 4 is a built-in memory of the CSA36FX30 chip, and the program stored in the first FLASH memory 4 is used by the TypeC chip 3. The TypeC port 1 is connected with the TypeC chip 3 through the data converter 2, USB data are converted into serial port data and then transmitted to the TypeC chip 3, and the data converter 2 specifically adopts a CH3401 chip.
In this embodiment, the second FLASH memory 5 is respectively connected to the TypeC chip 3 and the display main control chip 6, and a program stored in the second FLASH memory 5 is used by the display main control chip 6. The second FLASH memory 5 is preferably connected to the SPI port of the TypeC chip 3 and the SPI port of the display main control chip 6, and the SPI ports are utilized, so that the display main control chip has the characteristics of less occupied chip pins, simplicity and easiness in use.
An example of the second FLASH memory 5 connecting the TypeC chip 3 and the display main control chip 6, respectively, is shown in fig. 3. As shown in fig. 3, in this example, the second FLASH memory 5 is directly connected to the SPI port of the TypeC chip 3 and the SPI port of the display main control chip 6. This example has a feature of a simple circuit structure, but requires that the clocks of the TypeC chip 3 and the display main control chip 6 are consistent, and the read-write data timing is also consistent.
Another example of the second FLASH memory 5 connecting the TypeC chip 3 and the display master chip 6, respectively, is shown in fig. 4. As shown in fig. 4, in this example, the second FLASH memory 5 is connected to the SPI port of the TypeC chip 3 and the SPI port of the display main control chip 6 through a multiplexer switch 7, and a control terminal of the multiplexer switch 7 is connected to the TypeC chip 3. This example adds a multiplexer switch 7, the circuit is slightly more complex but has no clock and timing requirements, and is particularly suitable for applications with more FLASH memories.
In this embodiment, the display main control chip 6 is an RTD2556T chip.
The present invention has been described in detail with reference to the specific embodiments, and the detailed description is only for the purpose of helping those skilled in the art understand the present invention, and is not to be construed as limiting the scope of the present invention. Various modifications, equivalent changes, etc. made by those skilled in the art under the spirit of the present invention shall be included in the protection scope of the present invention.
Claims (7)
1. A FLASH memory burning method based on a TypeC chip is characterized by comprising the following steps:
the method comprises the following steps that firstly, a TypeC chip receives an index file and files to be burnt, wherein the index file comprises a burning sequence, and the index file also comprises corresponding relations between the files to be burnt and FLASH memories;
step two, the TypeC chip is connected with a FLASH memory according to the burning sequence;
thirdly, selecting a file to be burned corresponding to the connected FLASH memory by the TypeC chip according to the corresponding relation, and writing the file to be burned into the connected FLASH memory;
repeating the second step and the third step until the last burning task in the burning sequence is completed;
in the third step, when the switched-on FLASH memory is not the built-in memory of the TypeC chip, writing the corresponding file to be burned into the switched-on FLASH memory by adopting an SPI protocol.
2. A display, comprising:
a TypeC port (1);
a first FLASH memory (4);
a second FLASH memory (5); and
a TypeC chip (3) storing a program, the TypeC chip (3) executing the program, the display performing the burning method of claim 1.
3. The display of claim 2, wherein the TypeC chip (3) is a CSA36FX30 chip and the first FLASH memory (4) is an internal memory of the CSA36FX30 chip.
4. The display according to claim 2, characterized in that the second FLASH memory (5) is connected to the TypeC chip (3) and to the display master chip (6), respectively.
5. The display according to claim 4, characterized in that the second FLASH memory (5) is directly connected to the SPI port of the TypeC chip (3) and to the SPI port of the display master chip (6).
6. The display according to claim 4, characterized in that the second FLASH memory (5) is connected to the TypeC chip (3) SPI port and the display main control chip (6) SPI port via a multi-way selector switch (7), the control terminal of the multi-way selector switch (7) being connected to the TypeC chip (3).
7. The display according to claim 4, wherein the display master control chip (6) is an RTD2556T chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010942427.9A CN112068868B (en) | 2020-09-09 | 2020-09-09 | FLASH memory burning method based on TypeC chip and display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010942427.9A CN112068868B (en) | 2020-09-09 | 2020-09-09 | FLASH memory burning method based on TypeC chip and display |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112068868A CN112068868A (en) | 2020-12-11 |
CN112068868B true CN112068868B (en) | 2021-12-07 |
Family
ID=73663064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010942427.9A Active CN112068868B (en) | 2020-09-09 | 2020-09-09 | FLASH memory burning method based on TypeC chip and display |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112068868B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032622A (en) * | 2018-07-24 | 2018-12-18 | 合肥联宝信息技术有限公司 | Firmware fast writing method and system |
CN109271176A (en) * | 2018-08-09 | 2019-01-25 | 深圳市芯智科技有限公司 | A kind of method of fast writing TypeC software |
CN110704075A (en) * | 2019-09-19 | 2020-01-17 | 深圳市千分一智能技术有限公司 | Multi-chip firmware burning method, system, device and storage medium |
CN110955627A (en) * | 2019-12-25 | 2020-04-03 | 顾荣华 | Double-screen display |
CN210804404U (en) * | 2019-12-25 | 2020-06-19 | 顾荣华 | Display with USB Type C interface |
-
2020
- 2020-09-09 CN CN202010942427.9A patent/CN112068868B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032622A (en) * | 2018-07-24 | 2018-12-18 | 合肥联宝信息技术有限公司 | Firmware fast writing method and system |
CN109271176A (en) * | 2018-08-09 | 2019-01-25 | 深圳市芯智科技有限公司 | A kind of method of fast writing TypeC software |
CN110704075A (en) * | 2019-09-19 | 2020-01-17 | 深圳市千分一智能技术有限公司 | Multi-chip firmware burning method, system, device and storage medium |
CN110955627A (en) * | 2019-12-25 | 2020-04-03 | 顾荣华 | Double-screen display |
CN210804404U (en) * | 2019-12-25 | 2020-06-19 | 顾荣华 | Display with USB Type C interface |
Also Published As
Publication number | Publication date |
---|---|
CN112068868A (en) | 2020-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8150452B2 (en) | Providing a connection between a memory medium of a mobile device and an external device | |
CN108090006B (en) | Method for switching PCIE Switch working mode by one key | |
CN110955631B (en) | File access tracking method and device, storage medium and terminal | |
US8135874B2 (en) | Automatic mapping and updating computer switching device | |
CN107678988A (en) | A kind of multifunctional serial port device and implementation method | |
US20210056010A1 (en) | Splicing Screen Debugging Method, Splicing Screen And Splicing Wall | |
CN111506512B (en) | Debugging information processing method and device, electronic equipment, storage medium and system | |
CN107526614B (en) | Communication method of FPGA development board | |
CN106980447B (en) | Information processing method and device and terminal | |
CN112068868B (en) | FLASH memory burning method based on TypeC chip and display | |
CN102043638A (en) | Computer system and computer startup setting method | |
CN104536917A (en) | Multifunctional storage-based dynamic configuration circuit applied to FPAA | |
US20210064557A1 (en) | Programmable slave circuit on a communication bus | |
CN110703948B (en) | Touch screen operation recording and broadcasting system and method | |
CN111710357B (en) | MTP unit read-write control circuit of MCU | |
CN111857787B (en) | Method, system, equipment and medium for burning firmware of voltage converter | |
CN114185720A (en) | Method, device, equipment and storage medium for server dynamic hot backup | |
CN215006613U (en) | Burning component and device | |
CN111026279A (en) | Method for making wired keyboard possess multi-equipment Bluetooth keyboard function | |
CN203434312U (en) | All-in-one SATA interface storage device | |
CN110888656A (en) | Multifunctional programming device and programming method | |
CN216486415U (en) | Switching circuit of USB interface function | |
CN213904121U (en) | Dial switch-based instruction input control device | |
TWI841891B (en) | Embedded system and method for updating firmware | |
CN102214389A (en) | Method for realizing function selection of remote controller and remote controller |
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 |