The present invention is related generally to a touch controller and, more particularly, to a method for updating the touch controller.
Conventionally, a touch controller of a touch device requires a flash memory to save a touch firmware. When the environmental characteristics of the touch device are changed, the firmware of the touch controller of the touch device can be update.
The touch device, such as a touch pad, is widely applied in the notebooks. The firmware in the touch controller of the touch device needs to be updated in some circumstances. There are two common methods for updating the touch firmware; one of the methods is In-Application Programming (IAP), and the other of the methods is In-System Programming (ISP). Both methods for updating the touch firmware require a flash memory to accomplish. Namely, the present touch controller needs to use a flash memory process of a high cost. Moreover, it requires a programming process to write the flash memory, and the programming process is complicated and slow. Further, due to different environmental characteristics, for example, different laptop computers have different top covers which are configured to cover the touch device or have different iron modules which are configured to fix the touch device, it needs to prepare many the touch controllers which have dissimilar touch firmwares. Accordingly, materials management is difficult.
An objective of the present invention is to provide a computer device with a touch controller of a low cost and a method for updating the touch controller.
According to the present invention, a computer device comprises a touch device and a BIOS. The touch device has a touch controller which includes a random access memory (RAM). The BIOS includes a memory for saving a first touch parameter and a first touch procedure. The first touch procedure is for providing a first touch function. The first touch parameter and the first touch procedure are parts of a touch firmware. When the computer is power on, the BIOS will send the first touch parameter and the first touch procedure to the touch controller. After the touch controller saves the first touch parameter and the first touch procedure in the RAM, the touch controller executes operation by utilizing the first touch parameter and the first touch procedure.
According to the present invention, a method for updating a touch controller comprises steps of: sending a first touch parameter and a first touch procedure that are saved in a memory of a BIOS of a computer device to the touch controller when the computer device is power on, wherein the first touch parameter and the first touch procedure are parts of a touch firmware and the first touch procedure is for providing a first touch function; and saving the first touch parameter and the first touch procedure in an RAM of the touch controller so as to allow the touch controller to execute operation by utilizing the first touch parameter and the first touch procedure.
According to the present invention, a computer device comprises a touch device and a storage device. The touch device has a touch controller which includes an RAM. The storage device is coupled to the touch device and saves a driver program, a first touch parameter and a first touch procedure. The first touch procedure is for providing a first touch function. The first touch parameter and the first touch procedure are parts of a touch firmware. When the computer device executes the driver program, the first touch parameter and the first touch procedure will be sent to the touch controller. After the touch controller saves the first touch parameter and the first touch procedure into the RAM, the touch controller executes operation by utilizing the first touch parameter and the first touch procedure.
According to the present invention, a method for updating a touch controller comprises steps of: executing a driver program to send a first touch parameter and a touch procedure to the touch controller, wherein the first touch parameter and the first touch procedure are parts of the touch firmware and the first touch procedure is for providing a first touch function; and saving the first touch parameter and the first touch procedure into an RAM of the touch controller so as to allow the touch controller to execute operating by utilizing the first touch parameter and the first touch procedure.
The present invention saves the firmware or the parameters of the touch controller in a memory of a BIOS or in a storage device that includes the driver program. After the computer device is power on, the firmware or the parameters are written into the RAM of the touch controller. Accordingly, the touch controller acquires a new firmware or parameters. The method of the present invention allows the touch controller to get rid of the flash memory. The touch controller of the present invention can use a logic process of low costs. Further, the new firmware or parameters are written into the RAM, which means that the programming process is not required and the update can be speeded up.
According to the present invention, a touch controller may only have a basic touch function. A first touch parameter and a first touch procedure, which are designed in accordance with characteristics of different computer device or other specific need, are in a memory of a BIOS or in a storage device that saves a driver program. After the computer device is power on, the first touch parameter and the first touch procedure are written into a RAM of the touch controller. Thus, the same touch controller can be applied to various computer devices with different environmental characteristics so as to make the materials management easier.
These and other objectives, features and advantages of the present invention will become apparent to those skilled in the art upon consideration of the following description of the embodiments according to the present invention taken in conjunction with the accompanying drawings, in which:
The touch firmware generally includes an algorithm, a touch parameter, and a touch procedure. The algorithm is a basic function program of a touch device. The basic function program is, for example, for detecting and computing the amount and the location of objects that touch a touch device. Wherein, even if the environmental characteristics are changed, the algorithm will not be changed. The touch parameter is generated in accordance with the material and the thickness of the touch device, components (top cover and iron module) of a computer device, or the practical occasions. The touch parameter may include a touch sensitivity parameter, a cursor speed parameter, or a noise filter parameter. The touch procedure is for providing an operational function, such as a palm rejection function and a multi-touch function.
The BIOS 4 can send the first touch parameter and the first touch procedure to the touch controller 10 via different paths.
In the embodiments shown in
In other embodiments, a new algorithm can be also saved in the memory 8 in the BIOS 4 or the storage device 22. According to the methods as described by the foregoing embodiments, the new algorithm can be write into the RAM 12 of the touch controller 10, so that the touch controller 10 can use the new algorithm.
In
In one embodiment, after the first touch parameter and the first touch procedure are loaded, the touch controller 10 executes operation simply according to the first touch parameter and the first touch procedure. The preset second touch parameter and the preset second touch procedure saved in the ROM 14 of the touch controller 10 will not be used. In other embodiments, after the first touch parameter and the first touch procedure are loaded, the touch controller 10 still utilizes a part or all of the second touch parameter and the second touch procedure. Namely, according to the present invention, the first touch parameter and the first touch procedure can replace the second touch parameter and the second touch procedure previously saved in the ROM 14 of the touch controller 10, or can provide more functions besides the basic operations.
While the present invention has been described in conjunction with embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Accordingly, it is intended to embrace all such alternatives, modifications and variations that fall within the spirit and scope thereof as set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
104132555 | Oct 2015 | TW | national |
This application claims the priority benefits of U.S. Provisional Application No. 62/163,390, filed 19 May 2015, entitled “Driving Method for Touch Screen”, and Taiwan Patent Application No. 104132555, filed 2 Oct. 2015, both of which are hereby incorporated herein by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
62163390 | May 2015 | US |