CN102693144B - A kind of method of capacitance plate firmware upgrade of Android mobile terminal - Google Patents

A kind of method of capacitance plate firmware upgrade of Android mobile terminal Download PDF

Info

Publication number
CN102693144B
CN102693144B CN201210165910.6A CN201210165910A CN102693144B CN 102693144 B CN102693144 B CN 102693144B CN 201210165910 A CN201210165910 A CN 201210165910A CN 102693144 B CN102693144 B CN 102693144B
Authority
CN
China
Prior art keywords
mobile terminal
capacitance plate
android mobile
android
upgrade
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.)
Active
Application number
CN201210165910.6A
Other languages
Chinese (zh)
Other versions
CN102693144A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201210165910.6A priority Critical patent/CN102693144B/en
Publication of CN102693144A publication Critical patent/CN102693144A/en
Priority to PCT/CN2013/072299 priority patent/WO2013174169A1/en
Application granted granted Critical
Publication of CN102693144B publication Critical patent/CN102693144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method of capacitance plate firmware upgrade of Android mobile terminal, after Android mobile terminal start, by upgrade file is replicated on the memory device of Android mobile terminal, is connected to the opertaing device being provided with Android debugging bridge and carries out firmware upgrade.Capacitance plate firmware upgrade mode frees by it from the monopolization of chip business, and further improves update time and degree of flexibility, to the research and development technology accumulation of capacitance plate with to save the research and development time of great advantage, has the good market competitiveness.

Description

A kind of method of capacitance plate firmware upgrade of Android mobile terminal
Technical field
The present invention relates to Android technical field, particularly relate to a kind of method of capacitance plate firmware upgrade of Android mobile terminal.
Background technology
Existing mobile terminal is substantially all with touch screen function, and wherein, CTP(CapacityTouchPanel capacitance technology touch-screen, referred to as capacitance plate) extensively promoted due to advantages such as its multi-point touch had
Firmware (referring to be fixed on the program inside the CTP chip) upgrading of CTP is a more professional software exercise, on stream, CTP often needs upgrading, and constantly to improve the performance of CTP when not increasing CTP cost, existing CTP firmware upgrade mainly contains following two kinds of modes:
As shown in Figure 1, first method mainly uses their specialized hardware instrument to upgrade by chip business, comprises the following steps:
A1, chip business carry out firmware upgrade to every sheet CTP module after improving CTP firmware;
The hardware device that A2, employing chip business are special and burning program are upgraded; In this step, burning process completely by chip business control, user or production firm of subordinate is completely uncontrollable and supervision;
After A3, burning success, provide the CTP after upgrading by chip business.
It can thus be appreciated that aforesaid way extremely relies on chip business, whole upgrading burning process is the action that chip business is just understood completely, and user or production firm of subordinate completely cannot controls.And according to practical experience, chip business burning a slice needs to expend the regular hour, needs to take a large amount of research and development time, cause inefficiency when burning one batch.
Second method be compiling (by the source code file of research and development department by software platform and tool change be can burning enter bin or the .img file of mobile phone) then mobile phone source code engineering upgrade in the process of mobile phone power-on.
Although this method makes moderate progress than the first, can not need that chip business is on-the-spot upgrades, them are only needed to provide relevant upgrade file, but this mode too relies on compilation of source code upgrading, if do not have source code environment, upgrading just cannot be revised operation and go down, and the secret use of intra-company often of source code environment, very shortcoming is flexible in this way in institute, and whole compilation process also can take the suitable time in addition.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of method of capacitance plate firmware upgrade of Android mobile terminal, when being intended to the capacitance plate upgrading solving prior art or be the firmware upgrade task of capacitance plate is given completely chip business or rely on source code environment completely to compile, cause capacitance plate upgrading mode dumb, the problems such as inefficiency.
Technical scheme of the present invention is as follows:
A method for the capacitance plate firmware upgrade of Android mobile terminal, wherein, comprises the following steps:
STA, startup Android mobile terminal, the power pins arranging capacitance plate is input as high level;
STB, upgrade file is saved in the memory device of Android mobile terminal;
STC, connect described Android mobile terminal and the opertaing device that Android debug bridge is installed, by Android debugging bridge, capacitance plate being resetted, and carry out firmware upgrade according to the upgrade file in memory device.
The method of the capacitance plate firmware upgrade of described Android mobile terminal, wherein, the method for carrying out firmware upgrade according to the upgrade file in memory device in described step STC comprises further:
STC1, the upgrade code activated in Android mobile terminal;
STC2, call the size that computing function calculates the upgrade file on memory device;
STC3, in Android mobile terminal internal memory, open up the to be upgraded region identical with upgrade file size, and the upgrade file in memory device is copied in region to be upgraded;
STC4, the upgrade file of resolving in described region to be upgraded, complete capacitance plate firmware upgrade.
The method of the capacitance plate firmware upgrade of described Android mobile terminal, wherein, also comprises: described step STC also comprises: when mistake appears in capacitance plate firmware upgrade, debugs bridge debug according to error message by Android.
The method of the capacitance plate firmware upgrade of described Android mobile terminal, wherein, described Android mobile terminal is Android phone.
The method of the capacitance plate firmware upgrade of described Android mobile terminal, wherein, described memory device is the SD card of Android phone.
The method of the capacitance plate firmware upgrade of described Android mobile terminal, wherein, described opertaing device is PC.
The method of the capacitance plate firmware upgrade of described Android mobile terminal, wherein, in described step STC, PC is connected by USB interface with Android mobile terminal.
Beneficial effect: the method for the capacitance plate firmware upgrade of Android mobile terminal of the present invention, after Android mobile terminal start, by upgrade file is replicated on the memory device of Android mobile terminal, is connected to the opertaing device being provided with Android debugging bridge and carries out firmware upgrade.Capacitance plate firmware upgrade mode frees by it from the monopolization of chip business, and further improves update time and degree of flexibility, to the research and development technology accumulation of capacitance plate with to save the research and development time of great advantage, has the good market competitiveness.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the first embodiment of the capacitance plate firmware upgrade method of prior art.
Fig. 2 is the process flow diagram of the capacitance plate firmware upgrade method of Android mobile terminal of the present invention.
Embodiment
The invention provides a kind of method of capacitance plate firmware upgrade of Android mobile terminal, for making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 2, it is the process flow diagram of the capacitance plate firmware upgrade method of Android mobile terminal of the present invention.As shown in the figure, comprise the following steps:
S1, startup Android mobile terminal, the power pins arranging capacitance plate is input as high level;
S2, upgrade file is saved in the memory device of Android mobile terminal;
S3, connect described Android mobile terminal and the opertaing device that Android debug bridge is installed, by Android debugging bridge, capacitance plate being resetted, and carry out firmware upgrade according to the upgrade file in memory device.
Be described in detail for above-mentioned steps respectively below:
Described step S1 is for starting Android mobile terminal, and the power pins (be capacitance plate and provide the pin of power supply) arranging capacitance plate is input as high level.Be specially user and normally start Android mobile terminal (with the mobile terminal of android system, in the present embodiment, described Android mobile terminal is Android phone), be with should be noted that, the startup of Android phone comprises: the startup of capacitance plate, the startup of mobile phone display screen etc., it should be noted that, capacitance plate mentioned here and mobile phone display screen are not parts, capacitance plate is welded on mobile phone display screen by pin, for receiving the touch instruction of user.Such as, now conventional capacitance plate connects mobile phone display screen by I2C, and the pin of capacitance plate comprises: SDA pin, SCL pin, VDD pin (being the power pins that capacitance plate provides power supply) etc.After described Android phone is opened, instruction can be received to make capacitance plate, the VDD pin of capacitance plate is input as high level, it can be that normal bright state realizes by arranging mobile phone display screen: after being set to Chang Liang by mobile phone display screen, the VDD pin of described capacitance plate is input as high level.
Upgrade file is saved in the memory device of Android mobile terminal by described step S2, and wherein, the file of described upgrade file needed for capacitance plate firmware upgrade, it should be provided by chip supplier.Its presentation mode can be multiple: such as, upgrade file is placed on official website by supplier, and user can download voluntarily; Or be sent to user on hand by other storage mediums such as CDs.The upgrade file that chip supplier provides by user is saved in the memory device of Android mobile terminal.In the present embodiment, when described Android mobile terminal is Android phone, described memory device can be SD card, TF card etc.
In described step S3, first, connect described Android mobile terminal and the opertaing device that Android debugs bridge is installed.Write code to manage to set up contact between the application layer and device drive layer of Android mobile terminal.In the present embodiment, described opertaing device is PC, and described PC is connected by USB interface with stating between Android mobile terminal.User can be resetted described capacitance plate by the adb software be arranged on PC, then allows capacitance plate carry out firmware upgrade according to the upgrade file in memory device.As, the interface that input command echo " app.i " >/ is corresponding on the operation interface of adb shows paths.Wherein, described method of carrying out firmware upgrade according to the upgrade file in memory device comprises further:
S31, the upgrade code activated in Android mobile terminal; Capacitance plate is upgraded according to the upgrade file in memory device, and now, drive in code and will be activated about the code from SD card upgrade firmware, corresponding function can meet with a response.
S32, call the size that computing function calculates the upgrade file on memory device; Namely the function calling relevant calculation document space size calculates the byte number that the upgrade file on current storage devices (as: SD card) occupies.
S33, in Android mobile terminal internal memory, open up the to be upgraded region identical with upgrade file size, and the upgrade file in memory device is copied in region to be upgraded; This step is copied in Android mobile terminal (as mobile phone) internal memory by original upgrade file in memory device to go.
S34, the upgrade file of resolving in described region to be upgraded, complete capacitance plate firmware upgrade.This step is flow process of normally upgrading, same as the prior art, just no longer does and has too much repeated.
Further, also comprise step S4, when mistake appears in capacitance plate firmware upgrade, debug bridge by Android and debug according to error message.As: when the size calling the upgrade file that computing function calculates on memory device is made mistakes, when opening up the to be upgraded region failure identical with upgrade file size, when normal upgrading flow process goes wrong etc., bridge can be debugged by Android and carry out discriminatory analysis and debugging according to error message, capacitance plate firmware upgrade is completed smoothly.After upgrading terminates, verification and releasing memory in region to be upgraded.
In sum, the method of the capacitance plate firmware upgrade of Android mobile terminal of the present invention, after Android mobile terminal start, by upgrade file is replicated on the memory device of Android mobile terminal, is connected to the opertaing device being provided with Android debugging bridge and carries out firmware upgrade.Capacitance plate firmware upgrade mode frees by it from the monopolization of chip business, and further improves update time and degree of flexibility, to the research and development technology accumulation of capacitance plate with to save the research and development time of great advantage, has the good market competitiveness.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (6)

1. a method for the capacitance plate firmware upgrade of Android mobile terminal, is characterized in that, comprise the following steps:
STA, startup Android mobile terminal, the power pins arranging capacitance plate is input as high level;
STB, upgrade file is saved in the memory device of Android mobile terminal;
STC, connect described Android mobile terminal and the opertaing device that Android debug bridge is installed, by Android debugging bridge, capacitance plate being resetted, and carry out firmware upgrade according to the upgrade file in memory device;
The method of carrying out firmware upgrade according to the upgrade file in memory device in described step STC comprises further:
STC1, the upgrade code activated in Android mobile terminal;
STC2, call the size that computing function calculates the upgrade file on memory device;
STC3, in Android mobile terminal internal memory, open up the to be upgraded region identical with upgrade file size, and the upgrade file in memory device is copied in region to be upgraded;
STC4, the upgrade file of resolving in described region to be upgraded, complete capacitance plate firmware upgrade.
2. the method for the capacitance plate firmware upgrade of Android mobile terminal according to claim 1, is characterized in that, described step STC also comprises: when mistake appears in capacitance plate firmware upgrade, debugs bridge debug according to error message by Android.
3. the method for the capacitance plate firmware upgrade of Android mobile terminal according to claim 1, is characterized in that, described Android mobile terminal is Android phone.
4. the method for the capacitance plate firmware upgrade of Android mobile terminal according to claim 3, is characterized in that, described memory device is the SD card of Android phone.
5. the method for the capacitance plate firmware upgrade of Android mobile terminal according to claim 1, is characterized in that, described opertaing device is PC.
6. the method for the capacitance plate firmware upgrade of Android mobile terminal according to claim 5, is characterized in that, in described step STC, PC is connected by USB interface with Android mobile terminal.
CN201210165910.6A 2012-05-25 2012-05-25 A kind of method of capacitance plate firmware upgrade of Android mobile terminal Active CN102693144B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210165910.6A CN102693144B (en) 2012-05-25 2012-05-25 A kind of method of capacitance plate firmware upgrade of Android mobile terminal
PCT/CN2013/072299 WO2013174169A1 (en) 2012-05-25 2013-03-07 Upgrade method for capacitive screen firmware of android mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210165910.6A CN102693144B (en) 2012-05-25 2012-05-25 A kind of method of capacitance plate firmware upgrade of Android mobile terminal

Publications (2)

Publication Number Publication Date
CN102693144A CN102693144A (en) 2012-09-26
CN102693144B true CN102693144B (en) 2016-01-13

Family

ID=46858625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210165910.6A Active CN102693144B (en) 2012-05-25 2012-05-25 A kind of method of capacitance plate firmware upgrade of Android mobile terminal

Country Status (2)

Country Link
CN (1) CN102693144B (en)
WO (1) WO2013174169A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693144B (en) * 2012-05-25 2016-01-13 惠州Tcl移动通信有限公司 A kind of method of capacitance plate firmware upgrade of Android mobile terminal
CN104572387A (en) * 2015-01-30 2015-04-29 青岛海信移动通信技术股份有限公司 Method and device for debugging terminal in engineering mode
CN105988843A (en) * 2015-02-15 2016-10-05 腾讯科技(深圳)有限公司 Firmware upgrade method and firmware upgrade device for mobile terminal
CN105468425B (en) * 2016-01-07 2018-10-23 云南民族大学 The production method that a kind of built-in Linux operating system starts SD card
CN107506196B (en) * 2017-08-25 2021-07-20 康佳集团股份有限公司 Starting-up animation processing method and equipment based on android system and storage device
CN108958778B (en) * 2018-08-27 2022-03-25 惠州Tcl移动通信有限公司 Mobile terminal NFC firmware upgrading method, mobile terminal and storage medium
CN110362965B (en) * 2019-06-12 2021-11-16 创芯工坊科技(深圳)有限公司 Firmware processing method, device, system, equipment and medium of integrated circuit chip
CN111708562B (en) * 2020-06-16 2023-07-14 深圳市信锐网科技术有限公司 Fan control board, upgrading method, device and equipment thereof and computer storage medium
CN113778739B (en) * 2021-11-08 2022-03-04 广州朗国电子科技股份有限公司 System repair method, system, equipment and storage medium of all-in-one machine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452689A (en) * 2007-12-04 2009-06-10 佳世达科技股份有限公司 Firmware updating system for updating display firmware and method thereof
CN102436389A (en) * 2011-12-22 2012-05-02 北京百纳威尔科技有限公司 Method and device for upgrading touch screen

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201032109A (en) * 2009-02-18 2010-09-01 Novatek Microelectronics Corp Method capable of timely calibrating a touch parameter and related apparatus and system
CN102033770B (en) * 2010-12-17 2015-01-28 中兴通讯股份有限公司 Touch screen firmware upgrading method and device for mobile terminal
CN102693144B (en) * 2012-05-25 2016-01-13 惠州Tcl移动通信有限公司 A kind of method of capacitance plate firmware upgrade of Android mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452689A (en) * 2007-12-04 2009-06-10 佳世达科技股份有限公司 Firmware updating system for updating display firmware and method thereof
CN102436389A (en) * 2011-12-22 2012-05-02 北京百纳威尔科技有限公司 Method and device for upgrading touch screen

Also Published As

Publication number Publication date
CN102693144A (en) 2012-09-26
WO2013174169A1 (en) 2013-11-28

Similar Documents

Publication Publication Date Title
CN102693144B (en) A kind of method of capacitance plate firmware upgrade of Android mobile terminal
CN105573743B (en) Chip burning system and method and electronic equipment
TWI480802B (en) Platform system, universal extension firmware interface Basic input and output system Support for hardware configuration changes, recording media and computer program products
CN102236621B (en) Computer interface information configuration system and method
TWI341992B (en) Method and system for quickly developing an embedded operating system through utilizing an automated building framework
WO2012079301A1 (en) Method and device for upgrading touch screen firmware of mobile terminal
CN102246142A (en) Developing applications at runtime
CN103473067A (en) Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN101021797A (en) Repairing and staging method for software of embedded system
CN101930372A (en) System and method for updating programs
CN101169729A (en) Embedded type system and method for renewing application program
CN105824623A (en) Android application hotfix method and device
CN103761107B (en) Software package customizing device and method
WO2016078263A1 (en) Upgrading control device and terminal, terminal upgrading method and system, and storage medium
CN103123605A (en) Android platform automation integration testing method and device
CN104077204A (en) Reconfigurable 8-bit RSIC (reduced instruction set computer) SCM (Single Chip Microcomputer) simulator
CN101650647A (en) Compatibility method for EFI platform
CN104156234A (en) Multi-core processor starting and bootloader big-little endian mode adapting method device
CN102520961A (en) Off-chip online programmable SOC (system on a chip) and control method for same
CN106303707A (en) A kind of version method for burn-recording, system and terminal
CN105573913A (en) Program debugging method and program debugging system in optical network unit (ONU) system
CN100361075C (en) Method and device for quickly developing embedded system using automatic compilation frame
KR20130068630A (en) Method for initializing embedded device and apparatus thereof
CN103995717A (en) Method for upgrading software in embedded device
CN104866397A (en) Computer System And Control Method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant