The present invention relates to systems and methods for debugging display devices, and particularly to a system and a method for debugging a liquid crystal display (LCD) device.
LCD devices are commonly used as displays for compact electronic apparatuses. This is not only because they provide good quality images with little power consumption, but also because they are very thin. Generally, an on-screen display (OSD) function is built into an LCD device. The OSD is typically used by a viewer to locally adjust various important display parameters. Such display parameters include brightness, color contrast, Gamma correction, Standard Red Green Blue (sRGB), display size, and display scaling. These parameters can be adjusted by the viewer operating a push button control panel of the LCD device. Firmware pre-installed in a scaler chip of the LCD device is used to regulate the above-mentioned parameters of the LCD device.
In a process of designing firmware for the LCD device, a debugging engineer needs to debug the scaler chip of the LCD device in order to obtain appropriate display regulation parameters. The debugging engineer then burns corresponding parameter data into the scaler chip. The parameter data cannot be changed once they are burned in the scaler chip. Therefore, debugging the scaler chip in the firmware design process for the LCD device is very important.
Referring to
When the LCD device 16 is debugged, the host computer 10 reads parameter data of the LCD device 16 from the scaler chip via the conversion module 14, and displays the parameter data on the monitor 12. The parameter data include brightness, color contrast, display size, display scaling, and so on. The debugging engineer revises the parameter data displayed on the monitor 12 using input devices such as a mouse and a keyboard. After that, the host computer 10 compiles and writes the revised parameter data in the scaler chip. Then the debugging engineer needs to connect the LCD device 16 to a video source such as another host computer. The video source provides a video signal to the LCD device 16, and the debugging engineer operates the LCD device 16 to observe the results of the debugging.
However, if the debugging results after operating the LCD device 16 are unsatisfactory, the debugging engineer must connect the LCD device 16 to the host computer 10 via the conversion module 14 once again, revise corresponding parameter data, and then observe the results by operating the LCD device 16 after reconnecting the LCD device 16 to the video source. The above procedures may need to be repeated more than once until appropriate debugging results are achieved. Therefore it may take a long time to debug the LCD device 16. Overall, the firmware design process of the LCD device 16 is prone to be tedious and difficult. In addition, each kind of scaler chip needs a debugging operating system which is compatible with that particular kind of scaler chip. If the type of scaler chip of the LCD device 16 is changed, this may necessitate changing the corresponding operating system to be used for debugging the LCD device 16. Therefore the firmware design process for the LCD device 16 can be inconvenient and costly.
What is needed, therefore, is a debugging system for an LCD device which can overcome the above-described deficiencies. What is also needed is a debugging method for an LCD device which can overcome the above-described deficiencies.
A debugging system for LCD device is provided. The debugging system includes a host computer. The host computer includes a graphics card, a driver layer, and an application layer. The application layer includes a graphical user interface, and the driver layer includes a plurality of drivers to drive the graphics card. The host computer is configured for storing chip data of a scaler chip of the liquid crystal display device, reading and writing the scaler chip via the graphics card, and displaying corresponding chip data on the liquid crystal display device via the graphical user interface such that the corresponding chip data can be revised in a debugging process of the liquid crystal display device.
A debugging method for an LCD device is also provided. The method includes: providing a debugging system including a host computer, the host computer includes a graphics card, a driver layer, and an application layer, the application layer includes a graphical user interface, and the driver layer includes a plurality of drivers to drive the graphics card; connecting the host computer and the LCD device via the graphics card; the application layer installing the drivers; loading chip data of a scaler chip of the LCD device; revising the corresponding chip data displayed on the LCD device via the graphical user interface; and observing results of the revision on the LCD device via operating the LCD device.
Other novel features and advantages will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
The emphasis in the drawings is placed upon clearly illustrating the principles of various embodiments of the present invention. Like reference numerals designate corresponding parts throughout various drawings.
Reference will now be made to the drawings to describe preferred and exemplary embodiments of the present invention in detail.
Referring to
The application layer 226 may be a debugging program with a graphical user interface, wherein the graphical user interface can be utilized by displays on the LCD device 26. The application layer 226 communicates with the driver layer 225 via a data transmission channel. The host computer 22 stores chip data of a plurality of different kinds of scaler chips. The driver layer 225 may be a database of 4 GB built by Windows® driver model technology, and includes a plurality of drivers. The drivers correspond to a plurality of different hardware devices, and are used to drive the graphics card 220. A debugging engineer can select a chip type of the scaler chip 260 using the graphical user interface, load the chip data of the scaler chip 260, and input or revise the corresponding chip data using the graphical user interface. The chip data includes parameter data of the LCD device 26, such as brightness, color contrast, display size, display scaling, and so on.
Referring to
In step S2, the application layer 226 installs the drivers from the driver layer 225.
In step S3, the host computer 22 detects the graphics card 220 via the driver layer 225, and determines whether the graphics card 220 is acceptable. If the graphics card 220 is acceptable, the procedure goes to the next step S4; if not, the debugging process ends.
In step S4, the host computer 22 detects the LCD device 26 via the driver layer 225, and determines whether the LCD device 26 is compatible with the graphics card 220. If the LCD device 26 is compatible with the graphics card 220, the procedure goes to the next step S5; if not, the debugging process ends.
In step S5, in an initial state, the application layer 226 loads chip data of a scaler chip debugged last time, and displays the chip data on the LCD device 26 via the graphical user interface.
In step S6, the host computer 22 detects the scaler chip 260 of the LCD device 26 via the driver layer 225, and determines whether the chip type of the scaler chip 260 is the same as the chip type loaded by the application layer 226. If the chip type of the scaler chip 260 is the same as the chip type loaded by the application layer 226, the procedure goes to the next step S7; if not, the procedure returns to step S5, and the debugging engineer selects the chip type of the scaler chip 260 using the graphical user interface.
In step S7, the host computer 22 reads the chip data from the scaler chip 260 via the two VGA interfaces 221, 261, and displays corresponding chip data on the LCD device 26 via the graphical user interface. The debugging engineer debugs the LCD device 26 by revising the corresponding chip data, which includes revising the parameter data of the LCD device 26. The host computer 22 compiles and writes the revised parameter data to the scaler chip 260 via the driver layer 225 and the two VGA interfaces 221, 261. After this, the debugging engineer can observe the results of the debugging on the LCD device 26 by operating the LCD device 26 directly. If the debugging results are unsatisfactory, the debugging engineer can return to the graphical user interface to revise the corresponding chip data again. This process can be repeated as many times as necessary until the debugging results are satisfactory.
Thus, in step S8, the whole debugging process is completed, and the last revised chip data can be burned in the scaler chip 260.
In summary, the host computer 22 of the debugging system 2 is connected to the LCD device 26 via the two VGA interfaces 221, 261. The host computer 22 directly reads and writes the scaler chip 260 of the LCD device 26 in the debugging process. The debugging engineer can revise the corresponding chip data displayed on the LCD device 26 via the graphical user interface, and then the host computer 22 directly provides a video signal to the LCD device 26, the debugging engineer observes the results of the revision by operating the LCD device 26. That is, the debugging system 2 provides switching of images displayed by the LCD device 26—between displaying chip and other data needed for revising the corresponding chip data, and displaying images needed for observing the debugging results. Therefore the debugging system and method makes the firmware design process for the LCD device 26 simple, time saving, and convenient for the debugging engineer. In addition, the host computer 22 stores chip data of a plurality of different kinds of scaler chips. The debugging engineer can select the correct chip type via the graphical user interface according to the scaler chip 260 of the LCD device 26. Therefore the debugging system and method are suitable for various kinds of scaler chips, which makes the firmware design process for the LCD device 16 convenient and efficient.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the invention or sacrificing all of its material advantages, the examples hereinbefore described merely being preferred or exemplary embodiments of the invention.
Number | Date | Country | Kind |
---|---|---|---|
95149712 | Dec 2006 | TW | national |