Touch screen firmware upgrading method and device
A firmware upgrade, touch screen technology, applied in the direction of program control device, program loading/starting, etc., can solve the problems of unable to update the touch screen firmware, IIC read and write functions can not read data, etc., to avoid dismantling the touch screen, improve production management efficiency, Effects of reflashing the firmware increase
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is an implementation flowchart of the touch screen firmware upgrade method provided by the embodiment of the present invention, and is described in detail as follows:
[0026] In step S101, obtain the firmware version number stored in the touch screen register;
[0027] Wherein, the touch screen driver in the mobile terminal, the IIC read and write function reads the touch screen firmware version number stored in the touch screen register.
[0028] The operating system running on the mobile terminal includes but not limited to Windows Phone operating system, Android operating system, and ios operating system, and the preferred operating system is based on Windows phone 8.1 operating system.
[0029] Wherein, the touch screen register includes the register of the capacitive touch screen and the touch screen of the inductive touch screen.
[0030] In step S102, compare the new firmware version number with the size of the firmware version number stored in the...
Embodiment 2
[0039] figure 2 It is an implementation process diagram of step S101 of the touch screen firmware upgrade method provided by the embodiment of the present invention, and is described in detail as follows:
[0040] In step S201, initialize the driver program of the touch screen, and obtain two IIC address information configured by the touch screen in ACPI;
[0041] Wherein, open mobile terminal, load the driver program of touch screen, initialize driver program, obtain two IIC address information of ACPI (Advanced Configuration and Power Management Interface, advanced configuration and power management interface) configuration touch screen, when updating described touch screen firmware, control reset pin current The level is high level or low level, and the corresponding instruction is written according to the IIC writing function to obtain the current firmware version number of the touch screen.
[0042] In step S202, randomly assign two IIC address information to the IIC re...
Embodiment 3
[0050] image 3 It is a diagram of the implementation process before step S101 provided by the embodiment of the present invention, and is described in detail as follows:
[0051] In step S301, create a GPIO target to connect the touch screen with the central processing unit;
[0052] Among them, create a GPIO target to complete the information transmission channel between the touch screen and the central processing unit.
[0053] In step S302, the GPIO target is initialized, and the current level of the reset pin of the GPIO of the touch screen is controlled to be a high level or a low level.
[0054] Among them, by initializing the GPIO (General Purpose Input Output, general purpose input / output, mainly connected to the central processing unit and touch screen IC) target, using the read and write function of GPIO, when it is necessary to control the reset pin of GPIO to be high, call the read and write function of GPIO Write 1; when it is necessary to control the reset pin...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 