Method for arranging display equipment software and method for writing control parameters into FLASH

A technology for controlling parameters and layout methods, which is applied in the layout of display device software, and writes control parameters into FLASH, which can solve the problems of inability to guarantee the accuracy of program modification, complex MCU control programs, and loss of control parameters, so as to avoid a large number of redundancy verification process, reduce the risk of data loss, and improve efficiency

Inactive Publication Date: 2011-02-16
TPV DISPLAY TECH WUHAN
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although it is only necessary to change the parameters, because the MCU control program is very complicated, even the simplest display device requires more than 100,000 lines of code, and the accuracy of program modification cannot be guaranteed, so even the simplest parameter modification needs to be performed. A large number of verifications are required to ensure its accuracy, so the work efficiency is extremely low and the workload is heavy
At the same time, it has been found that if the data in the data storage device (FLASH, EEPROM, etc.) needs to be written frequently, it is easily affected by electric shock, resulting in the loss of some control parameters stored therein.
resulting in software damage

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for arranging display equipment software and method for writing control parameters into FLASH
  • Method for arranging display equipment software and method for writing control parameters into FLASH
  • Method for arranging display equipment software and method for writing control parameters into FLASH

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] a kind of like figure 1 The layout method of the display device software shown is to separate the control program of the software from the control parameters, store some unchanging control parameters and preset values ​​in FLASH (flash memory), and set it as a protected state, so that read only. The method of separating the control program and the control parameters is to separate the two by modularization. All the required parameters of the control program part use global variables to become the control module independently. In the control parameter part, the control parameters are transferred from the FLASH (flash memory) The pre-planned fixed positions are read out and assigned to global variables to form an initialization control parameter module, and these assigned global variables are directly called in the control link. When burning the control parameters to FLASH (flash memory), when the software is still in the document state, set some unchanging control param...

Embodiment 2

[0025] The method that control parameter of the present invention is written into FLASH:

[0026] 1. Plan the data storage structure in the free space

[0027] According to the setting method of the status register of FLASH (flash memory), plan the storage location of the control parameters in the idle space. The following takes EON25F20 FLASH IC as an example to illustrate, the status register control mode of this IC is as follows:

[0028]

[0029] We plan the control program at 0x000000-0x039FFF,

[0030] We plan the control parameters at 0x03A000-0x03BFFF,

[0031] The adjusted status bits and adjusted control parameters are planned at 0x03C000-0x03CFFF

[0032] The reason for this setting is to facilitate the adjustment of the data write-protected area. When no adjustment is needed, the status register of FLASH is set to "111", fully protected and only readable. When it is necessary to adjust the storage, pull down the hardware write protection, set the status reg...

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

PUM

No PUM Login to view more

Abstract

The invention discloses a method for arranging display equipment software and a method for writing control parameters into FLASH. A control program of the software is separated from the control parameters; a part of invariable control parameters and preset fixed values are stored in the FLASH (flash memory); and the FLASH is set in protected states for realizing read-only effect. The methods havethe advantages that: the control program and the control parameters are arranged separately, so that the setting complexity and risk of the control parameters can be lowered greatly, a large number of redundant verification processes are avoided and the development and design efficiencies of display equipment are improved; the writing opportunity of the control parameters is reduced, so that the risk of data loss caused by surge is lowered; simultaneously, an after-sales service department does not need to prepare for a large number of stock products; and once mechanism sizes are accordant, only the control parameters of the conventional product are set into a software document and are burnt, so that stock quantity can be reduced greatly and maintenance efficiency is improved.

Description

technical field [0001] The invention relates to a display device, in particular to a method for arranging display device software and a method for writing control parameters into FLASH. Background technique [0002] Software documentation refers to the files generated by linking and compiling the control assembly (*.c\*.h) through the compiler. The more common document formats are Bin (binary document) and Hex (hexadecimal document). Burn the software file into the MCU (microcontroller) through the burning tool to form a control system, allowing it to control the peripheral circuits and devices according to the working mode defined by the software. [0003] Due to the differences among electrical components, the same control parameters cannot match all display devices of the same product. These display devices that exceed the specifications need to be adjusted on the production line. After adjustment, the values ​​​​of the control parameters are saved in EEPROM (electrically...

Claims

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G11C16/10
Inventor 欧阳杨星
Owner TPV DISPLAY TECH WUHAN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products