CN113076142A - TCON parameter initialization method and display device - Google Patents

TCON parameter initialization method and display device Download PDF

Info

Publication number
CN113076142A
CN113076142A CN202110344337.4A CN202110344337A CN113076142A CN 113076142 A CN113076142 A CN 113076142A CN 202110344337 A CN202110344337 A CN 202110344337A CN 113076142 A CN113076142 A CN 113076142A
Authority
CN
China
Prior art keywords
tcon
module
working parameters
check
starting
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
CN202110344337.4A
Other languages
Chinese (zh)
Other versions
CN113076142B (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202110344337.4A priority Critical patent/CN113076142B/en
Publication of CN113076142A publication Critical patent/CN113076142A/en
Application granted granted Critical
Publication of CN113076142B publication Critical patent/CN113076142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a TCON parameter initialization method and display equipment, which are used for finishing initialization of a TCON chip while ensuring that the starting speed of an STR is improved. The device comprises a display panel, a TCON module, a processor and a memory module, wherein: the storage module is used for storing the working parameters of the TCON module; the processor is configured to perform: starting a kernel in response to an STR starting instruction in an STR standby state; in the process of starting the kernel, writing the working parameters of the TCON module in the storage partition of the storage module into the TCON module to realize the initialization of the working parameters of the TCON module in the starting process, wherein the working parameters are stored in the storage partition after reading the working parameters in the display panel in the starting process in the power-off state.

Description

TCON parameter initialization method and display device
Technical Field
The invention relates to the technical field of smart televisions, in particular to a TCON parameter initialization method and display equipment.
Background
Most of current smart television products in the market adopt a built-in logic board TCON scheme, which means that a System On Chip (SOC) realizes the function of a TCON Chip, and Power Management Unit (PMU)/display parameter Gamma and other chips of the TCON board are transplanted to an SOC motherboard, and the SOC realizes the control of the PMU/Gamma voltage parameters. The prior built-in TCON scheme generally transplants the PMU/Gamma on a mainboard, and because the PMU/Gamma is transferred to the mainboard from the TCON board and can share the Flash storage of an SOC end, a charged Erasable Programmable read only memory (EEPROM) at the PMU/Gamma end does not need to be reserved, and the smart television can adopt a scheme of storing built-in TCON.
Due to the application of the internal TCON scheme to storage, in a Suspend To RAM (STR) mode, it is necessary to implement PMU/Gamma chip voltage initialization control in a Universal Boot Loader (UBoot) starting process every time from STR standby to STR startup, and how to skip UBoot startup to implement the initialization of the PMU/Gamma chip in the STR standby to STR startup process in order to optimize the startup speed is an urgent technical problem to be solved.
Disclosure of Invention
The invention provides a TCON parameter initialization method and display equipment, which are used for completing initialization of a PMU/Gamma chip in the process of loading kernel images of an operating system in the rapid starting process of an STR (short tandem repeat), ensuring that the initialization of the PMU/Gamma chip of the TCON is completed while the starting speed of the STR is improved.
In a first aspect, an embodiment of the present invention provides a display device, including a display panel, a TCON module, a processor, and a memory module, where:
the storage module is used for storing the working parameters of the TCON module;
the processor is configured to perform:
starting a kernel in response to an STR starting instruction in an STR standby state;
in the process of starting the kernel, writing the working parameters of the TCON module in the storage partition of the storage module into the TCON module to realize the initialization of the working parameters of the TCON module in the starting process, wherein the working parameters are stored in the storage partition after reading the working parameters in the display panel in the starting process in the power-off state.
The display device provided by the embodiment of the invention can ensure that the working parameters of the TCON module are initialized while the starting speed is improved, and the working parameters of the TCON module which are pre-stored in the storage partition are written into the chip of the TCON module directly in the process of starting the kernel by skipping Uboot in the STR starting process, so that the working parameters of the TCON module are initialized while the STR starting speed is ensured, and the initialization of the working parameters of the TCON module is effectively optimized.
In some embodiments, storing the operating parameter in the memory partition is preceded by the processor being further configured to perform:
determining check values of bytes except check bytes in the working parameters through a CRC algorithm;
and if the check value is the same as the check byte of the working parameter, determining that the check is passed.
The embodiment of the invention also provides a verification mode, which is used for verifying the working parameters before the working parameters are stored in the storage partition, so that the working parameters passing the verification are stored in the storage partition, and the validity of the working parameters written into the built-in TCON module is ensured when the working parameters are acquired from the storage partition subsequently.
In some embodiments, before determining the check value by the CRC algorithm for the bytes of the operating parameter other than the check bytes, the processor is further configured to:
and determining the type of the TCON module as a built-in TCON module without storage according to the working parameters.
The embodiment of the invention can be mainly applied to initialization of working parameters of the built-in TCON without storage, and the cost of the PCB can be effectively reduced due to the application without storage.
In some embodiments, after determining the check value by the CRC algorithm using the bytes of the operating parameter other than the check bytes, the processor is further configured to perform:
and if the check byte of the check value is different from the check byte of the working parameter, acquiring the working parameter from a default configuration file.
The embodiment also provides a method for preventing a fault, and if the working parameters of the built-in TCON in the display panel are read as invalid parameters, the working parameters can be obtained from a default configuration file, so that the normal operation of the display device is ensured.
In some embodiments, the processor is configured to perform:
reading all register data of the built-in TCON through an IIC command based on an IIC bus;
all register data containing the operating parameters are written into the chip of the built-in TCON by another IIC command.
The embodiment also provides a writing mode, and all the working parameters are written into the TCON only through two IIC commands, so that the time delay between the IIC commands is effectively reduced, and the starting speed is effectively improved.
In a second aspect, a method for initializing a TCON parameter provided in an embodiment of the present invention includes:
starting a kernel in response to an STR starting instruction in an STR standby state;
in the process of starting the kernel, writing the working parameters of the TCON in the storage partition into the built-in TCON to realize the initialization of the working parameters of the TCON in the starting process, wherein the working parameters are stored in the storage partition after reading the working parameters in the display panel in the starting process in the power-off state.
In some embodiments, storing the operating parameter before the memory partition further comprises:
determining check values of bytes except check bytes in the working parameters through a CRC algorithm;
and if the check value is the same as the check byte of the working parameter, determining that the check is passed.
In some embodiments, before determining the check value by the CRC algorithm using the bytes of the operating parameter other than the check byte, the method further includes:
and determining the type of the TCON as a built-in TCON without storage according to the working parameters.
In some embodiments, after determining the check value by the CRC algorithm using the bytes of the operating parameter except the check byte, the method further includes:
and if the check byte of the check value is different from the check byte of the working parameter, acquiring the working parameter from a default configuration file.
In some embodiments, the writing the operating parameter of the TCON built in the memory partition into the TCON by starting the kernel includes:
reading all register data of the TCON through an IIC command based on an IIC bus;
all register data containing the operating parameters are written into the TCON by another IIC command.
In a third aspect, an embodiment of the present invention further provides a TCON parameter initialization apparatus, including:
the starting unit is used for responding to an STR starting instruction in an STR standby state and starting a kernel;
and the writing unit is used for writing the working parameters of the TCON in the storage partition into the TCON in the process of starting the kernel so as to realize the initialization of the working parameters of the TCON in the starting process, wherein the working parameters are stored in the storage partition after reading the working parameters in the display panel in the starting process in the power-off state.
In some embodiments, the write unit is further configured to, prior to storing the operating parameter in the memory partition:
determining check values of bytes except check bytes in the working parameters through a CRC algorithm;
and if the check value is the same as the check byte of the working parameter, determining that the check is passed.
In some embodiments, before determining the check value by the CRC algorithm for the bytes of the operating parameter other than the check bytes, the writing unit is further configured to:
and determining the type of the TCON as a built-in TCON without storage according to the working parameters.
In some embodiments, after determining the check value by the CRC algorithm using the bytes of the operating parameter other than the check bytes, the writing unit is further configured to:
and if the check byte of the check value is different from the check byte of the working parameter, acquiring the working parameter from a default configuration file.
In some embodiments, the write unit is specifically configured to:
reading all register data of the TCON through an IIC command based on an IIC bus;
all register data containing the operating parameters are written into the TCON by another IIC command.
In a fourth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, where the computer program is used to implement the steps of the method in the first aspect when the computer program is executed by a processor.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a TCON module type of a display device according to an embodiment of the present invention;
fig. 2 is a TCON module type of a display device according to an embodiment of the present invention;
fig. 3 is a TCON module type of a display device according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a power-on scheme in Fast STR mode according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a display device according to an embodiment of the present invention;
FIG. 6 is a byte diagram of an operating parameter according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating an exemplary verification method according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating an embodiment of a built-in TCON register;
fig. 9 is a flowchart of a method for implementing TCON parameter initialization according to an embodiment of the present invention;
fig. 10 is a functional structure diagram for implementing initialization of TCON parameters according to an embodiment of the present invention;
fig. 11 is a flowchart illustrating initialization of working parameters during a boot process according to an embodiment of the present invention;
FIG. 12 is a flowchart of a detailed method for initializing TCON parameters according to an embodiment of the present invention;
fig. 13 is a flowchart illustrating an implementation of a TCON parameter initialization method according to an embodiment of the present invention;
fig. 14 is a schematic diagram of an apparatus for initializing a TCON parameter according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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.
The term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The application scenario described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by a person skilled in the art that with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems. In the description of the present invention, the term "plurality" means two or more unless otherwise specified.
In some embodiments, the logic board TCON of the display device includes at least two types, type 1, as shown in fig. 1, the display device adopts an external TCON, the external TCON is located outside the main board, and is a separate TCON board, and is separated from the main board, and for the smart television with the external TCON, the working parameters such as the voltage of the external TCON are stored in an Electrically Erasable Programmable Read Only Memory (EEPROM) at a Power Management Unit (PMU)/display parameter Gamma end; and 2, the display equipment adopts a built-in TCON, PMU/Gamma chips of the built-in TCON are transplanted to a System On Chip (SOC) mainboard, and the SOC realizes the control of PMU/Gamma voltage parameters. The type 2 can be divided into two subtypes, and the subtype 1 is a built-in TCON with storage, as shown in fig. 2, the built-in TCON is located on a main board of the display device, and a memory of the built-in TCON is an EEPROM; subtype 2 is built-in TCON for memory removal, as shown in fig. 3, the built-in TCON is located on the main board of the display device and shares a memory module with the SOC.
The display equipment such as the intelligent television with the built-in TCON is adopted, particularly the function of a TCON chip is realized by the SOC, the prior intelligent television with the built-in TCON integrally transplants PMU/Gamma onto a mainboard, but still retains the original EEPROM of the TCON; in fact, because the PMU/Gamma is transferred from the TCON board to the main board, the Flash storage of the SOC end can be shared, so that the EEPROM of the PMU/Gamma end does not need to be reserved. The embodiment of the invention can provide an initialization method of the PMU/Gamma working parameters based on the PMU/Gamma chip of the display equipment such as the smart television with the built-in TCON without storage. The initialization of the working parameter of the built-in TCON refers to a step of writing the working parameter into a register of the built-in TCON in the starting process.
Because the built-in TCON removes a memory of the built-in TCON, the working parameters of the built-in TCON in the display panel are required to be read and written into a register of the built-in TCON every time the display panel is started. The process of each boot start is to load a small boot loader (sboot) from a boot ROM (a small mask ROM or a write-protected flash memory embedded in a processor chip and containing a first code executed by the processor at power-on or reset) of the CPU, and to ensure that the boot Environment is in a secure Environment (secure world), a secure Environment ARM Trusted Firmware (ARM) and an Open-source Trusted Execution Environment (option) need to be started in the sboot. When starting up (alternating current starting up) in a power-off state, starting up a UBoot, finishing basic hardware initialization through a first stage of a UBoot starting up process, including setting a processor mode to be an SVC mode, closing a watchdog, shielding interruption, initializing a synchronous dynamic random access memory (sdram), setting a stack, setting a clock, copying codes from a flash memory to the memory, clearing a bss section (a memory area used for storing an uninitialized global variable and a static variable which are not initialized or are initialized to be 0 in a program), and the like; and acquiring the kernel mirror image through the second stage of the UBoot starting process, moving the kernel to a proper loading address and finally finishing the kernel starting.
Because a Double Data Rate SDRAM (DDR SDRAM) is not powered down when a Suspend To RAM (STR) is in standby, and a complete UBoot startup stream is not necessarily executed in an STR startup flow, a startup scheme in a Fast STR mode is proposed at present in order to optimize the startup speed in the STR mode, as shown in fig. 4, the startup scheme skips UBoot startup in the startup flow in the original STR mode, and an kernel mirror image of an operating system is directly loaded by an option in a sboot. Therefore, how to realize the initialization of the PMU/Gamma chip in the boot process of applying the Fast STR mode is an urgent technical problem to be solved.
In order to solve the above technical problem, an embodiment of the present invention provides a display device, as shown in fig. 5, the device includes a display panel 500, a TCON module 501, a processor 502, and a storage module 503, where:
in this embodiment, regardless of which type of TCON module, the working parameters read in the power-on process may be stored in the storage module of the display device, so that in the STR startup process, the working parameters of the TCON module may be directly obtained from the storage partition of the storage module, and thus in the kernel startup process, the working parameters of the TCON module in the storage partition of the storage module are written into the TCON module, so as to implement initialization of the working parameters of the TCON module while ensuring that the startup speed is not affected. Since the process of initializing the operating parameters in this embodiment does not need to use the memory of the TCON module itself, this embodiment can be applied to the display device with the TCON module built therein for storage.
It should be noted that, in the TCON module of the display device in this embodiment, a Flash memory in the display panel is used to store operating parameters of the TCON module, such as voltage parameters. Therefore, in the prior art, when the display device is started up each time, namely, in the process of starting up the Uboot each time, the working parameters in the display panel are read, and the read working parameters are written into the PMU/Gamma chip of the TCON module, but the working parameters in the display panel are read only in the process of starting up the display device in the power-off state, and the read working parameters are stored in the memory partition of the memory module of the display device, and then when the STR is executed in the STR standby state, because the DDR is not powered down, the step of reading the working parameters in the display panel by the Uboot can be skipped, and in the process of directly starting the kernel, the working parameters in the memory partition are written into the chip of the TCON module, so that the initialization of the working parameters of the TCON module, namely the initialization of the parameters such as voltage of the PMU/Gamma chip, is realized.
The storage module may be an Embedded memory (eMMC) in the SOC of the display device.
In the initialization process of the working parameters of the TCON module in this embodiment, the EEPROM of the TCON module itself is not needed, but the working parameters are stored in the Flash memory of the display panel, so that the memory of the TCON module is not needed to be reserved, the cost of the PCB is effectively reduced, and in the STR startup starting process, the influence on the startup speed is reduced while the working parameters of the chip of the TCON module are initialized.
In some embodiments, in order to ensure the accuracy of the working parameters stored in the storage partition, the present embodiment provides a verification method, which is specifically as follows:
prior to storing the operating parameter in the storage partition, the processor is further configured to perform:
1) determining check values of bytes except check bytes in the working parameters through a CRC algorithm;
2) and if the check value is the same as the check byte of the working parameter, determining that the check is passed.
It should be noted that, as shown in fig. 6, all bytes of the operating parameter include a check byte, which is generally located in the last two bytes of the operating parameter.
In implementation, the voltage parameter of the PMU is fixed and can be stored in an eMMC Flash of the SOC in the form of a configuration file; and the Gamma voltage parameter needs to be started and read from a Flash memory of the display panel through an SPI bus. For example, n bytes of data need to be read each time the computer is started, wherein the first n-2 bytes are valid data, and the last 2 bytes are CRC check values and are marked as read _ CRC; and calculating a CRC value of the first n-2 data through a CRC algorithm, recording the CRC value as calc _ CRC, and writing the read n bytes of data into a Gamma register through I2C if the read _ CRC is consistent with the calc _ CRC.
The method comprises the steps that all n bytes of data of working parameters are read only during first power-on, after the data are checked, all n bytes of working parameters are stored in an eMMC subarea, only the last 2 bytes of check values of the working parameters stored in a display panel are read through an SPI each time, the check values are compared with the check values stored in the eMMC, if the check values are consistent, the working parameters stored in the eMMC are effective, and the n bytes of data of the working parameters stored in the eMMC can be directly used; if the data is inconsistent (for example, the display panel is replaced), all byte data of the working parameters in the display panel need to be read again. As shown in fig. 7, the processor of the display device is configured to execute the following implementation flow:
step 700, responding to a power-on instruction in a power-off state, and reading check bytes of working parameters of a TCON (thyristor controlled ON) in a display panel if the power-on instruction is not powered on for the first time;
step 701, if the check byte is the same as the check byte of the working parameter in the storage partition, writing the working parameter in the storage partition into the TCON;
the working parameters in the storage partition are obtained by reading all bytes of the working parameters of the built-in TCON in the display panel in the process of first power-on, verifying the working parameters and storing all bytes of the working parameters in the storage partition after the working parameters are verified and the verification is determined to be passed.
It should be noted that the first power-on in this embodiment refers to the first power-on after power-on detection and factory shipment, that is, the first power-on when the user uses the display device.
In the method, in the starting-up process without first power-on, only the check bytes of the working parameters of the TCON in the display panel are read, and all bytes of the working parameters are not required to be read, so that the time for reading the working parameters is saved, and in the process of checking, only the read check bytes are required to be compared with the check bytes of the working parameters in the storage partition to judge whether the read check bytes are consistent with the check bytes of the working parameters, and the check value is not required to be calculated through the non-check bytes, so that the check time is saved. By using the method, the working parameters in the storage partition are written into the TCON, so that the starting speed can be further improved while the working parameters are initialized.
In some embodiments, after reading the check byte of the operating parameter of the TCON in the display panel, the method further includes:
and if the check byte is different from the check byte of the working parameter in the storage partition, re-reading all bytes of the working parameter of the TCON in the display panel, and checking the working parameter.
In implementation, when power is turned on for the first time, n bytes of data stored in the display panel are read through the SPI in the UBoot, a check value calc _ CRC is calculated through a CRC algorithm for the first n-2 bytes of data, the last two bytes are recorded as check bytes read _ CRC, the effectiveness of the read working parameters is confirmed by comparing the read _ CRC with the calc _ CRC, and if the comparison results are the same, all bytes of the working parameters are stored in the eMMC bare partition at the SOC end. And if the comparison result is different, re-reading the n bytes of data stored in the display panel.
In some embodiments, before determining the check value by the CRC algorithm for the bytes of the operating parameter other than the check bytes, the processor is further configured to:
and determining the type of the TCON module as a built-in TCON module without storage according to the working parameters.
In this embodiment, before checking the working parameter, it may be further determined whether the TCON module is configured with the memory, if the memory is configured, the configured working parameter in the memory may be read and written into the chip of the TCON module, otherwise, the working parameter is checked, and after the checking is passed, all bytes of the working parameter are stored in the storage partition and written into the chip of the TCON module.
In some embodiments, after reading the operating parameters in the display panel in the process of booting in the power-off state, if it is determined that the type of the TCON module is the TCON module with storage, the read operating parameters in the display panel may be stored in the memory of the TCON module with storage. And responding to an STR starting instruction in an STR standby state, starting a kernel, and writing working parameters in a memory of the TCON module with the storage into the TCON module with the storage in the process of starting the kernel.
In some embodiments, to further increase the boot speed while initializing the operating parameter, the present embodiment further provides a method for writing the operating parameter, that is, the processor is configured to perform:
1) reading all register data of the TCON through an IIC command based on an IIC bus; the IIC bus is also called I2C bus, and is a simple, bidirectional two-wire synchronous serial bus.
In implementation, all register data of the TCON are read into a memory through an IIC command; according to the working parameters in the memory partition, the register data is rewritten in the memory;
in implementation, the rewriting of the register data is accomplished as follows:
11) determining a register address of TCON corresponding to the working parameter;
12) and in the memory, rewriting the register data corresponding to the register address into the working parameter.
2) All register data containing the operating parameters are written into the TCON by another IIC command.
As shown in fig. 8, this embodiment provides a schematic diagram of a built-in TCON register, and in implementation, it is necessary to write the operating parameters into the register of the PMU/Gamma chip through the IIC bus (command); if the number of registers to be written is 15, and the register addresses are discretely distributed between 0 and 99 as black squares in the figure, the current method is to send 15 IIC commands, each IIC command sends a byte of data to a fixed offset address (register address), and completes writing of one operating parameter, it needs to be noted that IIC devices are generally single-chip microcomputers, and the speed for processing IIC commands is limited, for example, the IIC device starts processing after receiving a first command, and if the IIC device has not finished processing a second command, the second command cannot be responded, so a delay needs to be added between two adjacent IIC commands, the length of the delay depends on the specification definition of a chip manufacturer, and the delay here is also the most time-consuming reason in the whole operating parameter initialization flow.
Therefore, in the current parameter writing method, a delay of 50ms needs to be added between every two IIC commands, so that the delay time is (15-1) × 50 ═ 700ms, and generally, the number of registers to be actually written is 50, and the average time is 2 seconds to 3 seconds. The embodiment of the invention optimizes the writing of the working parameters by the method, and can complete the writing of all the working parameters only by two IIC commands, thereby effectively shortening the writing delay and improving the starting speed.
The specific steps of writing the working parameters in the above manner are as follows:
1) reading 100 register data of 0-99 registers into a memory through an IIC command;
in implementation, 0-99 register data may be read into a global array (e.g., the array is param [100 ]).
2) In the memory, rewriting the register data corresponding to the register address into the working parameter;
in implementation, the register value corresponding to the modification requirement can be replaced by the corresponding operating parameter through a code algorithm, for example, the 0 th, 12 th and 13 th register data need to be replaced, and the replacement method is as follows:
Param[0]=value1;
Param[12]=value2;
Param[13]=value3;
3) and writing the modified 100 bytes of data into the built-in TCON module through an IIC command, thereby completing the writing of the voltage parameter.
In implementation, after the replacement is completed, 100 bytes of data in the entire array are sent to the TCON module through an IIC command, and the writing of the working parameters is completed.
The embodiment optimizes parameter writing, delays the two IIC commands by 50ms, consumes less time than 1ms for data processing in the memory, ensures that the total time consumption is less than 100ms, greatly optimizes the writing time for internally storing the TCON parameters, and obviously improves the starting speed.
In some embodiments, after determining the check value by the CRC algorithm using the bytes of the operating parameter other than the check bytes, the processor is further configured to perform:
and if the check byte of the check value is different from the check byte of the working parameter, acquiring the working parameter from a default configuration file. In this embodiment, the storage manner of the default configuration file is not limited too much.
As shown in fig. 9, an embodiment of the present invention proposes a method for implementing initialization of a built-in TCON parameter based on the display device, where a processor of the display device is configured to execute the following implementation procedures:
step 900, responding to a starting-up instruction in a power-off state, and reading working parameters in a display panel;
step 901, determining the type of the TCON module as a built-in TCON module for storage according to the working parameters;
step 902, determining check values of bytes except check bytes in the working parameters through a CRC algorithm;
step 903, judging whether the check value is the same as the check byte of the working parameter, if so, executing step 904, otherwise, executing step 907;
step 904, storing the read working parameters in a storage partition of a storage module;
step 905, responding to an STR starting instruction in an STR standby state, and starting a kernel;
step 906, in the process of starting the kernel, writing the working parameters of the built-in TCON module in the memory partition of the memory module into a chip of the built-in TCON module;
in implementation, all register data of the built-in TCON are read through an IIC command based on an IIC bus; all register data containing the operating parameters are written into the chip of the built-in TCON by another IIC command.
Step 907, obtain the working parameters from the default configuration file.
As shown in fig. 10, based on the display device, an embodiment of the present invention provides a functional structure diagram for implementing initialization of a built-in TCON parameter, including a display panel 1000 and a motherboard 1001, where the display panel includes a Flash memory 1002, the motherboard includes a TCON module 1003, a processor SOC chip 1004, and a memory module eMMC1005, where the built-in TCON module includes a PMU/Gamma chip, and an EEPROM memory of the built-in TCON module itself is removed.
As shown in fig. 11, in the present embodiment, based on the display device, the processor is configured to perform the following process during the power-on process:
1100, reading working parameters of a built-in TCON module stored in a Flash memory of a display panel when the computer is powered on in a power-off state;
specifically, the voltage parameter of the PMU is fixed and can be stored in an eMMC Flash of the SOC in a configuration file form; and the Gamma voltage parameter needs to be started and read from a Flash memory of the display panel through an SPI bus.
Step 1101, storing the read working parameters of the built-in TCON module in the eMMC;
step 1102, responding to an STR starting instruction in an STR standby state, and starting a kernel;
step 1103, writing the working parameters in the eMMC into the chip of the built-in TCON module in the process of starting the kernel.
In some embodiments, if all bytes of the operating parameters in the eMMC are 0, it is determined that the operating parameters read from the display panel during ac power-on (power-off) are invalid, and the operating parameters may be obtained from a default configuration file.
As shown in fig. 12, based on the display device, an embodiment of the present invention further provides a detailed method for initializing a built-in TCON parameter, where a processor of the display device is configured to execute the following implementation procedures:
step 1200, responding to a power-on instruction in a power-off state, and reading all bytes of working parameters of a built-in TCON module in a display panel if the power-on instruction is the first power-on;
step 1201, checking the working parameters;
step 1202, judging whether the checking is passed, if so, executing step 1203, otherwise, executing step 1208;
step 1203, storing all bytes of the working parameters in a storage partition;
step 1204, responding to a power-on instruction in a power-off state, and reading check bytes of working parameters of a built-in TCON module in the display panel if the power-on instruction is not powered on for the first time;
step 1205, judging whether the check byte is the same as the check byte of the working parameter in the storage partition, if so, executing step 1206, otherwise, executing step 1209;
step 1206, responding to the STR starting instruction in the STR standby state, and starting a kernel;
1207, in the process of starting the kernel, reading all register data of the built-in TCON module into a memory, completing the rewriting of the register data in the memory according to working parameters in the storage partition, and writing all the register data in the rewritten memory into the built-in TCON module;
step 1208, acquiring the working parameters from a default configuration file;
step 1209, all bytes of the working parameters of the built-in TCON module in the display panel are read again, and the step 1201 is executed again.
The method comprises the steps that through various optimization modes, the starting speed can be improved while the working parameters of the built-in TCON are initialized, the first optimization mode is reading optimization of reading the working parameters of the built-in TCON stored in a display panel when the display panel is powered on in a power-off state, all bytes in the working parameters are read when the display panel is powered on for the first time, the working parameters are stored in a storage partition after verification is passed, all bytes in the working parameters stored in the display panel do not need to be read when the display panel is powered on for each time, only check bytes need to be read, and the read check bytes are compared with the check bytes of the working parameters stored in the storage partition; the second optimization mode is that in the process of starting the kernel in the STR startup process, the working parameters of the built-in TCON are directly obtained from a storage partition, and Uboot startup is skipped; the third optimization mode is write-in optimization for writing the working parameters into the built-in TCON register, and the writing of the working parameters is completed only by two IIC commands, so that the time delay is effectively saved, and the starting speed is improved.
In some embodiments, based on the same inventive concept, embodiments of the present invention further provide a method for initializing a TCON parameter, where the method is a method in a display device in an embodiment of the present invention, and a principle of the method for solving a problem is similar to that of the display device, so that reference may be made to implementation of the method in the device, and repeated details are not described here.
As shown in fig. 13, the specific implementation flow of the method is as follows:
step 1300, responding to an STR starting instruction in an STR standby state, and starting a kernel;
step 1301, in the process of starting the kernel, writing the working parameters of the TCON in the storage partition into the TCON to realize initialization of the working parameters of the TCON in the starting process, wherein the working parameters are stored in the storage partition after reading the working parameters in the display panel in the starting process in the power-off state.
In some embodiments, storing the operating parameter before the memory partition further comprises:
determining check values of bytes except check bytes in the working parameters through a CRC algorithm;
and if the check value is the same as the check byte of the working parameter, determining that the check is passed.
In some embodiments, before determining the check value by the CRC algorithm using the bytes of the operating parameter other than the check byte, the method further includes:
and determining the TCON type as a built-in TCON without storage according to the working parameters.
In some embodiments, after determining the check value by the CRC algorithm using the bytes of the operating parameter except the check byte, the method further includes:
and if the check byte of the check value is different from the check byte of the working parameter, acquiring the working parameter from a default configuration file.
In some embodiments, the writing the operating parameter of the TCON in the memory partition into the TCON by starting the kernel includes:
reading all register data of the TCON through an IIC command based on an IIC bus;
all register data containing the operating parameters are written into the TCON by another IIC command.
In some embodiments, the operating parameters in the memory partition may also be obtained by:
responding to a power-on instruction in a power-off state, if the power-on instruction is the first power-on, reading all bytes of working parameters of the TCON in the display panel, verifying the working parameters, and storing all bytes of the working parameters in a storage partition after the verification is determined to be passed.
In some embodiments, this embodiment further provides a writing method of the working parameter of the TCON, which specifically further includes:
responding to a power-on instruction in a power-off state, and reading check bytes of working parameters of the TCON in the display panel if the power-on instruction is not powered on for the first time;
and if the check byte is the same as the check byte of the working parameter in the storage partition, writing the working parameter in the storage partition into the TCON.
In some embodiments, the writing the operating parameters in the memory partition to the TCON comprises:
reading all register data of the TCON into a memory;
according to the working parameters in the memory partition, the register data is rewritten in the memory;
and writing all the rewritten register data in the memory into the TCON.
In some embodiments, said completing the overwriting of the register data in the memory according to the operating parameters in the memory partition includes:
determining a register address of TCON corresponding to the working parameter;
and in the memory, rewriting the register data corresponding to the register address into the working parameter.
In some embodiments, if the check byte is not the same as the check byte of the working parameter in the storage partition, all bytes of the working parameter of the TCON in the display panel are re-read to check the working parameter.
In some embodiments, based on the same inventive concept, embodiments of the present invention further provide a TCON parameter initialization apparatus, and since the principle of the apparatus for solving the problem is similar to that of the display device, the implementation of the apparatus may refer to the implementation of the device, and repeated details are not described again.
As shown in fig. 14, the apparatus includes:
the starting unit 1400 is configured to start a kernel in response to an STR startup instruction in an STR standby state;
a writing unit 1401, configured to write the working parameter of the TCON in the memory partition into the TCON in a process of starting the kernel, so as to implement initialization of the working parameter of the TCON in a starting process, where the working parameter is stored in the memory partition after reading the working parameter in the display panel in a starting process in a power-off state.
In some embodiments, the write unit is further configured to, prior to storing the operating parameter in the memory partition:
determining check values of bytes except check bytes in the working parameters through a CRC algorithm;
and if the check value is the same as the check byte of the working parameter, determining that the check is passed.
In some embodiments, before determining the check value by the CRC algorithm for the bytes of the operating parameter other than the check bytes, the writing unit is further configured to:
and determining the type of the TCON as a built-in TCON without storage according to the working parameters.
In some embodiments, after determining the check value by the CRC algorithm using the bytes of the operating parameter other than the check bytes, the writing unit is further configured to:
and if the check byte of the check value is different from the check byte of the working parameter, acquiring the working parameter from a default configuration file.
In some embodiments, the write unit is specifically configured to:
reading all register data of the TCON through an IIC command based on an IIC bus;
all register data containing the operating parameters are written into the TCON by another IIC command.
Based on the same inventive concept, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, which when executed by a processor implements the following steps:
starting a kernel in response to an STR starting instruction in an STR standby state;
in the process of starting the kernel, writing the working parameters of the TCON in the storage partition into the built-in TCON to realize the initialization of the working parameters of the TCON in the starting process, wherein the working parameters are stored in the storage partition after reading the working parameters in the display panel in the starting process in the power-off state.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A display device comprising a display panel, a logic board TCON module, a processor, and a memory module, wherein:
the storage module is used for storing the working parameters of the TCON module;
the processor is configured to perform:
starting a kernel in response to an STR starting instruction in a standby state of the memory STR suspended;
in the process of starting the kernel, writing the working parameters of the TCON module in the storage partition of the storage module into the TCON module to realize the initialization of the working parameters of the TCON module in the starting process, wherein the working parameters are stored in the storage partition after the working parameters in the display panel are read in the starting process in the power-off state.
2. The device of claim 1, wherein after reading the operating parameters in the display panel during the power-on in the power-off state and before storing the operating parameters in the storage partition, the processor is further configured to perform:
determining check values of bytes except check bytes in the working parameters by a Cyclic Redundancy Check (CRC) algorithm;
and if the check value is the same as the check byte of the working parameter, determining that the check is passed.
3. The apparatus of claim 2, wherein before determining the check value by the CRC algorithm for the bytes of the operating parameter other than the check bytes, the processor is further configured to:
and determining the type of the TCON module as a built-in TCON module without storage according to the working parameters.
4. The apparatus of claim 2, wherein after determining the check value by CRC algorithm for the bytes of the operating parameter other than the check bytes, the processor is further configured to perform:
and if the check byte of the check value is different from the check byte of the working parameter, acquiring the working parameter from a default configuration file.
5. The apparatus of claim 1, wherein the processor is configured to perform:
reading all register data of the TCON module through an IIC command based on an integrated circuit IIC bus;
all register data containing the operating parameters are written into the TCON module by another IIC command.
6. The apparatus of claim 5, wherein after the integrated circuit IIC-based bus reads all register data of the TCON by one IIC command, the processor is further configured to perform:
and according to the working parameters in the memory partition, completing the rewriting of the register data in the memory to obtain all register data containing the working parameters.
7. The device according to any one of claims 1 to 6, wherein after reading the operating parameters in the display panel during the power-on in the power-off state, the processor is further configured to perform:
and if the type of the TCON module is determined to be the TCON module with storage, storing the read working parameters in the display panel in a memory of the TCON module with storage.
8. The device of claim 7, wherein after the kernel is started, the processor is further configured to perform:
and in the process of starting the kernel, writing the working parameters in the memory of the TCON module with the storage into the TCON module with the storage.
9. A logic board TCON parameter initialization method is characterized by comprising the following steps:
starting a kernel in response to an STR starting instruction in a standby state of the memory STR suspended;
in the process of starting the kernel, writing the working parameters of the TCON in the storage partition into the TCON to realize the initialization of the working parameters of the TCON in the starting process, wherein the working parameters are stored in the storage partition after reading the working parameters in the display panel in the starting process in the power-off state.
10. The method of claim 9, wherein writing the operating parameters of the TCON in the memory partition to the TCON comprises:
reading all register data of the TCON by an IIC command based on an integrated circuit IIC bus;
all register data containing the operating parameters are written into the TCON by another IIC command.
CN202110344337.4A 2021-03-31 2021-03-31 TCON parameter initialization method and display device Active CN113076142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110344337.4A CN113076142B (en) 2021-03-31 2021-03-31 TCON parameter initialization method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110344337.4A CN113076142B (en) 2021-03-31 2021-03-31 TCON parameter initialization method and display device

Publications (2)

Publication Number Publication Date
CN113076142A true CN113076142A (en) 2021-07-06
CN113076142B CN113076142B (en) 2022-12-27

Family

ID=76611777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110344337.4A Active CN113076142B (en) 2021-03-31 2021-03-31 TCON parameter initialization method and display device

Country Status (1)

Country Link
CN (1) CN113076142B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114035875A (en) * 2021-11-05 2022-02-11 北京云蝶智学科技有限公司 Smart screen life cycle management method
WO2023226495A1 (en) * 2022-05-27 2023-11-30 海信视像科技股份有限公司 Tcon board initialization method, display device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609274A (en) * 2011-01-21 2012-07-25 青岛海信电器股份有限公司 Quick system start and running method and television set
CN105528208A (en) * 2015-12-04 2016-04-27 四川长虹电器股份有限公司 TCON-less screen parameter separation control method
US20160267881A1 (en) * 2015-03-09 2016-09-15 Apple Inc. Seamless video transitions
CN106507193A (en) * 2016-11-08 2017-03-15 四川长虹电器股份有限公司 Whole set of television realizes that TCON writes the apparatus and method of journey and VCOM debugging
CN109121002A (en) * 2018-09-06 2019-01-01 四川长虹电器股份有限公司 The import system and method for LCD TV OC Demura data
CN109698971A (en) * 2019-01-15 2019-04-30 青岛海信电器股份有限公司 A kind of data processing method and device
CN111478837A (en) * 2020-04-02 2020-07-31 广东美的暖通设备有限公司 Data communication method, air conditioner, air conditioning system and storage medium
CN111724749A (en) * 2019-03-19 2020-09-29 咸阳彩虹光电科技有限公司 Display driving method, display driving device and display device
CN111800658A (en) * 2019-04-16 2020-10-20 深圳康佳电子科技有限公司 Chip parameter writing method, television and storage medium
CN111897552A (en) * 2020-08-13 2020-11-06 四川长虹电器股份有限公司 Programming method for TCON drive IC

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609274A (en) * 2011-01-21 2012-07-25 青岛海信电器股份有限公司 Quick system start and running method and television set
US20160267881A1 (en) * 2015-03-09 2016-09-15 Apple Inc. Seamless video transitions
CN105528208A (en) * 2015-12-04 2016-04-27 四川长虹电器股份有限公司 TCON-less screen parameter separation control method
CN106507193A (en) * 2016-11-08 2017-03-15 四川长虹电器股份有限公司 Whole set of television realizes that TCON writes the apparatus and method of journey and VCOM debugging
CN109121002A (en) * 2018-09-06 2019-01-01 四川长虹电器股份有限公司 The import system and method for LCD TV OC Demura data
CN109698971A (en) * 2019-01-15 2019-04-30 青岛海信电器股份有限公司 A kind of data processing method and device
CN111724749A (en) * 2019-03-19 2020-09-29 咸阳彩虹光电科技有限公司 Display driving method, display driving device and display device
CN111800658A (en) * 2019-04-16 2020-10-20 深圳康佳电子科技有限公司 Chip parameter writing method, television and storage medium
CN111478837A (en) * 2020-04-02 2020-07-31 广东美的暖通设备有限公司 Data communication method, air conditioner, air conditioning system and storage medium
CN111897552A (en) * 2020-08-13 2020-11-06 四川长虹电器股份有限公司 Programming method for TCON drive IC

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114035875A (en) * 2021-11-05 2022-02-11 北京云蝶智学科技有限公司 Smart screen life cycle management method
CN114035875B (en) * 2021-11-05 2023-12-22 江苏纽锐电子科技有限公司 Life cycle management method of intelligent screen
WO2023226495A1 (en) * 2022-05-27 2023-11-30 海信视像科技股份有限公司 Tcon board initialization method, display device, and storage medium

Also Published As

Publication number Publication date
CN113076142B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN106990958B (en) Expansion assembly, electronic equipment and starting method
US10452404B2 (en) Optimized UEFI reboot process
TWI514408B (en) Handling errors during device bootup from a non-volatile memory
US8595552B2 (en) Reset method and monitoring apparatus
CN113495799B (en) Memory fault processing method and related equipment
CN113076142B (en) TCON parameter initialization method and display device
US7395397B2 (en) Electronic apparatus with page table management of program, data processing method and computer program
US20190204887A1 (en) Backup power supply method and apparatus
KR20070060101A (en) Systems and methods for providing nonvolatile memory management in wireless phones
KR20140118093A (en) Apparatus and Method for fast booting based on virtualization and snapshot image
JP2013520744A (en) Method and apparatus for generating minimum boot image
US11972243B2 (en) Memory device firmware update and activation without memory access quiescence
CN109683983B (en) Method and equipment for generating and loading mirror image file
KR100777446B1 (en) Electronic device and booting method thereof
KR20140121233A (en) Electronic device having a booting function of operating system by bootloader, method of performing the same function and storage medium
CN114721493B (en) Chip starting method, computer equipment and readable storage medium
TWI668569B (en) Method for configuring host memory buffer, memory storage apparatus and memory control circuit unit
CN112306782B (en) Debugging test-oriented operating system kernel guiding and loading hardware and method
CN113094107A (en) Data protection method, device, equipment and computer storage medium
JP2000010666A (en) Computer system and flash rom rewriting method
US8275981B2 (en) Flash storage system and method for accessing a boot program
CN110825421A (en) Firmware upgrading method and system and readable storage medium
CN113099279A (en) TCON parameter writing method and display device
US20140372806A1 (en) Virtual machine system and information storing processing method
CN102012823A (en) Method and device for quickly restarting computer

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