[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109634671B - Method for controlling BOOT mode by using integrated chip - Google Patents

Method for controlling BOOT mode by using integrated chip Download PDF

Info

Publication number
CN109634671B
CN109634671B CN201811418525.1A CN201811418525A CN109634671B CN 109634671 B CN109634671 B CN 109634671B CN 201811418525 A CN201811418525 A CN 201811418525A CN 109634671 B CN109634671 B CN 109634671B
Authority
CN
China
Prior art keywords
integrated chip
preset time
boot mode
wifi
wifi module
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
CN201811418525.1A
Other languages
Chinese (zh)
Other versions
CN109634671A (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.)
Amlogic Shanghai Co Ltd
Original Assignee
Amlogic Shanghai 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 Amlogic Shanghai Co Ltd filed Critical Amlogic Shanghai Co Ltd
Priority to CN201811418525.1A priority Critical patent/CN109634671B/en
Publication of CN109634671A publication Critical patent/CN109634671A/en
Application granted granted Critical
Publication of CN109634671B publication Critical patent/CN109634671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Semiconductor Integrated Circuits (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of integrated circuits, in particular to a method for controlling a BOOT mode by using an integrated chip, wherein the integrated chip is connected with a WIFI module, and the method comprises the following steps: the integrated chip comprises a control end, a WIFI power supply enabling end and a starting enabling end; the method specifically comprises the following steps: step S1, when the WIFI module is restarted, the integrated chip sends a restart instruction to the WIFI module; step S2, the integrated chip sends a high level for keeping the first preset time to the control end; step S3, the integrated chip sends a high level for keeping the second preset time to the WIFI power enable terminal and the start enable terminal. The technical scheme of the invention has the beneficial effects that: the BOOT mode is controlled by using the integrated chip, the hardware structure is not modified by adding a pull-up resistor, the machine is not disassembled, the cost is saved, software only needs to be upgraded again, the operation is simple, and the use by a user is convenient.

Description

Method for controlling BOOT mode by using integrated chip
Technical Field
The invention relates to the technical field of integrated circuits, in particular to a method for controlling a BOOT mode by using an integrated chip.
Background
As shown in fig. 1, from the rule book of the WIFI module, SDIO _ DATA2 has a BOOT mode, which is kept high before BT _ EN and WIFI _ EN are enabled, and enters the BOOT mode if the SDIO _ DATA2 is low; the level of SDIO _ DATA2 is observed by using an oscilloscope usually, the level of SDIO _ DATA2 is measured to be high level for a period of time or low level for a period of time, and no pull-up resistor is reserved on the printed circuit board, so that the difficulty is high when hardware is modified in batches, the printed circuit board is damaged, production line assembly is completed, and the difficulty in disassembling and assembling the whole machine is high.
At present, the technical problems in the art are solved as follows: (1) the resistance with the resistance value of 10K is pulled up on the WIFI _ SD _ D2 flying line, so that the difficulty is high, and the risk of damage to a printed circuit board can be caused; (2) when the pulling-up resistor is connected to the disassembling machine, the disassembling machine is difficult, the production line is high in repair cost, and secondary assembly is affected.
Disclosure of Invention
In view of the above problems in the prior art, a method for controlling the BOOT mode using an integrated chip is provided.
The specific technical scheme is as follows:
a method for controlling a BOOT mode by using an integrated chip, wherein the integrated chip is connected with a WIFI module, and the method comprises the following steps:
The integrated chip comprises a control end, a WIFI power supply enabling end and a starting enabling end;
the method specifically comprises the following steps:
step S1, when the WIFI module is restarted, the integrated chip sends a restart instruction to the WIFI module;
step S2, the integrated chip sends a high level for keeping a first preset time to the control end;
and step S3, the integrated chip sends a high level for keeping a second preset time to the WIFI power supply enabling end and the starting enabling end.
Preferably, in step S1, the ic sends a low level to the control terminal for a third predetermined time.
Preferably, the integrated chip comprises a micro control unit chip; or
The integrated chip comprises an integrated circuit chip.
Preferably, the integrated chip is connected with the WIFI module through a general input/output interface, the WIFI power enable end and the start enable end.
Preferably, the general input/output interface at least comprises six GPIO pins;
the first GPIO pin is connected with a first data port;
the second GPIO pin is connected with a second data port;
the third GPIO pin is connected with a third data port;
The fourth GPIO pin is connected with a fourth data port;
the fifth GPIO pin is connected with a clock port;
and the sixth GPIO pin is connected with an instruction port.
Preferably, the control terminal is connected to the third data port.
Preferably, the first preset time is 50 ms.
Preferably, the second preset time is 20 ms.
Preferably, the third preset time is 50 ms.
The technical scheme of the invention has the beneficial effects that: the BOOT mode is controlled by using the integrated chip, the hardware structure is not modified by adding a pull-up resistor, the machine is not disassembled, the cost is saved, software only needs to be upgraded again, the operation is simple, and the use by a user is convenient.
Drawings
Embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings. The drawings are, however, to be regarded as illustrative and explanatory only and are not restrictive of the scope of the invention.
FIG. 1 is a circuit diagram of a prior art approach to addressing the presence of the BOOT mode;
FIG. 2 is a flowchart of a method for controlling BOOT mode using an integrated chip according to an embodiment of the present invention;
FIG. 3 is a logic diagram and a logic waveform diagram of a method for controlling BOOT mode using an integrated chip according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive efforts based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
It should be noted that the embodiments and features of the embodiments of the present invention may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
As shown in fig. 1, from the rule book of the WIFI module, SDIO _ DATA2 has a BOOT mode, which is kept high before BT _ EN and WIFI _ EN are enabled, and enters the BOOT mode if the SDIO _ DATA2 is low; the level of SDIO _ DATA2 is observed by using an oscilloscope usually, the level of SDIO _ DATA2 is measured to be high level for a period of time or low level for a period of time, and no pull-up resistor is reserved on the printed circuit board, so that the difficulty is high when hardware is modified in batches, the printed circuit board is damaged, production line assembly is completed, and the difficulty in disassembling and assembling the whole machine is high.
At present, the technical problems in the art are solved as follows: (1) a resistor with the resistance value of 10K is pulled up on a WIFI _ SD _ D2 flying wire, so that the difficulty is high, and the risk of damage to a printed circuit board can be caused; (2) when need tear quick-witted connection and pull out resistance open, it is with high costs to tear quick-witted big production line of degree of difficulty open and repair, influences the equipment of second time.
Therefore, in order to solve the above problems in the prior art, the present invention provides a method for controlling a BOOT mode using an integrated chip, where the integrated chip 1 is connected to a WIFI module 2, and the method includes:
the integrated chip 1 comprises a control end SDIO-DATA, a WIFI power enable end WIFI-PWREN and a start enable end BT-EN;
the method specifically comprises the following steps:
step S1, when the WIFI module 2 is restarted, the integrated chip 1 sends a restarting instruction to the WIFI module 2;
step S2, the integrated chip 1 sends a high level keeping the first preset time T1 to the control end SDIO-DATA;
step S3, the integrated chip 1 sends a high level for keeping the second preset time T2 to the WIFI power enable terminal WIFI-PWREN and the enable terminal BT-EN.
According to the technical scheme of the method for controlling the BOOT mode by using the integrated chip, as shown in the combined drawings 2 and 3, the BOOT mode represents the restart mode, when the WIFI-PWREN of the WIFI power supply enabling end and the BT-EN of the starting enabling end belong to low levels, the WIFI module 2 can enter the BOOT mode, in order to solve the problems, the integrated chip is used for controlling the BOOT mode, the hardware structure is not modified by increasing a pull-up resistor, disassembly is not needed, the cost is saved, software only needs to be upgraded again, the operation is simple, and the use by a user is convenient.
In a preferred embodiment, in step S1, the integrated chip 1 sends a low level to the control terminal SDIO-DATA for a third predetermined time T3.
Specifically, as shown in fig. 2 and 3, when the integrated chip 1 sends a low level to the control terminal SDIO-DATA to keep the third preset time T3, the WIFI module 2 restarts, and at this time, the integrated chip 1 sends a restart instruction to the WIFI module 2, so that the operation can be performed only by setting a software system, and the operation is simple and convenient for a user to use.
In a preferred embodiment, the integrated chip 1 comprises a micro-control unit chip; or
The integrated chip 1 comprises an integrated circuit chip.
Specifically, the BOOT mode is controlled by using the integrated chip, the hardware structure is not modified by increasing a pull-up resistor, the machine is not disassembled, the cost is saved, software is only required to be upgraded again through the integrated circuit chip or the micro control unit chip, the operation is simple, and the use by a user is convenient.
In a preferred embodiment, the integrated chip 1 is connected to the WIFI module 2 through the general input/output interface, the WIFI power enable terminal WIFI-PWREN and the enable terminal BT-EN.
Specifically, as shown in fig. 3, the general purpose input/output interface includes at least six GPIO pins, where a first GPIO pin is connected to a first data port; the second GPIO pin is connected with a second data port; the third GPIO pin is connected with a third data port; the fourth GPIO pin is connected with a fourth data port; a fifth GPIO pin is connected with a clock port; and the sixth GPIO pin is connected with the instruction port, the control end SDIO-DATA is connected with the third DATA port, and further, the operation is simple, the use by a user is convenient, the hardware structure is not modified by adding a pull-up resistor, and the cost is saved by not disassembling the machine.
In a preferred embodiment, the first predetermined time T1 is 50 ms;
the second preset time T2 is 20 ms;
the third preset time T3 is 50 ms.
In the above technical solution, with reference to fig. 3, firstly, when the integrated chip 1 sends a low level that is kept at a third preset time T3 to the control terminal SDIO-DATA, the WIFI module 2 restarts, and at this time, the integrated chip 1 sends a restart instruction to the WIFI module 2, where the third preset time T3 is 50 ms; then, the integrated chip 1 sends a high level to the control terminal SDIO-DATA for maintaining a first preset time T1, wherein the first preset time T1 is 50 ms; and finally, the integrated chip 1 sends a high level for keeping a second preset time T2 to the WIFI-PWREN end of the WIFI power supply and the BT-EN end of the start enable end, wherein the second preset time T2 is 20 ms.
Furthermore, the BOOT mode is controlled by using the integrated chip, the hardware structure is not modified by increasing a pull-up resistor, the machine is not disassembled, the cost is saved, software only needs to be upgraded again, the operation is simple, and the use by a user is convenient.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims (7)

1. A method for controlling a BOOT mode by using an integrated chip, wherein the integrated chip is connected with a WIFI module, the method comprising the following steps:
the integrated chip comprises a control end, a WIFI power supply enabling end and a starting enabling end, and is connected with the WIFI module through a universal input/output interface, the control end, the WIFI power supply enabling end and the starting enabling end;
the method specifically comprises the following steps:
step S1, when the integrated chip sends a low level for keeping a third preset time to the control terminal, the WIFI module is restarted, and the integrated chip sends a restart instruction to the WIFI module;
step S2, the integrated chip sends a high level for keeping a first preset time to the control end;
and step S3, the integrated chip sends a high level for keeping a second preset time to the WIFI power supply enabling end and the starting enabling end.
2. The method of controlling BOOT mode using an integrated chip according to claim 1, wherein the integrated chip comprises a micro control unit chip; or
The integrated chip comprises an integrated circuit chip.
3. The method of claim 1, wherein the general purpose input output interface comprises six GPIO pins;
The first GPIO pin is connected with the first data port;
the second GPIO pin is connected with a second data port;
the third GPIO pin is connected with a third data port;
the fourth GPIO pin is connected with a fourth data port;
a fifth GPIO pin is connected with a clock port;
and the sixth GPIO pin is connected with the instruction port.
4. The method of claim 3, wherein the control terminal is connected to the third data port.
5. The method of controlling the BOOT mode using the integrated chip according to claim 1, wherein the first preset time is 50 ms.
6. The method of claim 1, wherein the second preset time is 20 ms.
7. The method of controlling the BOOT mode using the integrated chip according to claim 1, wherein the third preset time is 50 ms.
CN201811418525.1A 2018-11-26 2018-11-26 Method for controlling BOOT mode by using integrated chip Active CN109634671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811418525.1A CN109634671B (en) 2018-11-26 2018-11-26 Method for controlling BOOT mode by using integrated chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811418525.1A CN109634671B (en) 2018-11-26 2018-11-26 Method for controlling BOOT mode by using integrated chip

Publications (2)

Publication Number Publication Date
CN109634671A CN109634671A (en) 2019-04-16
CN109634671B true CN109634671B (en) 2022-06-28

Family

ID=66069202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811418525.1A Active CN109634671B (en) 2018-11-26 2018-11-26 Method for controlling BOOT mode by using integrated chip

Country Status (1)

Country Link
CN (1) CN109634671B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783972A (en) * 2020-07-28 2020-10-16 深圳矽速科技有限公司 Neural network computing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513993A (en) * 2012-06-15 2014-01-15 鸿富锦精密工业(深圳)有限公司 Firmware updating system and method
CN204044598U (en) * 2014-05-13 2014-12-24 生迪光电科技股份有限公司 LED light device and intelligent home control system
CN106528237A (en) * 2013-10-18 2017-03-22 歌尔科技有限公司 Micro control unit (MCU) start mode selection circuit and MCU code upgrading method based on same
CN107708193A (en) * 2017-10-24 2018-02-16 安普德(天津)科技股份有限公司 A kind of multi-operation mode smart bluetooth WIFI modules

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655270B (en) * 2008-08-18 2011-11-23 山东朗进科技股份有限公司 PFC enabling control method for air conditioner
CN101419485B (en) * 2008-11-24 2014-12-31 电子科技大学 Function-variable portable computer mainboard
CN103309263A (en) * 2012-03-08 2013-09-18 鸿富锦精密工业(深圳)有限公司 Power enabling control circuit and electronic device using power enabling control circuit
CN102981916B (en) * 2012-11-08 2016-03-09 小米科技有限责任公司 A kind of mobile terminal and control method thereof and device
CN202949416U (en) * 2012-11-14 2013-05-22 青岛海信移动通信技术股份有限公司 Circuit structure and mobile terminal supporting wireless fidelity (WIFI) and bluetooth communication
CN103384157A (en) * 2013-03-14 2013-11-06 上海汉枫电子科技有限公司 Low-power-consumption embedded type WIFI module
CN104101100B (en) * 2013-06-26 2017-02-08 芜湖美的厨卫电器制造有限公司 Water heater and control method thereof
CN107508582B (en) * 2017-09-29 2024-06-21 创耀(苏州)通信科技股份有限公司 Electronic reset circuit and functional module or device
CN108170049A (en) * 2017-12-19 2018-06-15 晶晨半导体(上海)股份有限公司 A kind of control system that power consumption is reduced based on bluetooth equipment control intelligence system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513993A (en) * 2012-06-15 2014-01-15 鸿富锦精密工业(深圳)有限公司 Firmware updating system and method
CN106528237A (en) * 2013-10-18 2017-03-22 歌尔科技有限公司 Micro control unit (MCU) start mode selection circuit and MCU code upgrading method based on same
CN204044598U (en) * 2014-05-13 2014-12-24 生迪光电科技股份有限公司 LED light device and intelligent home control system
CN107708193A (en) * 2017-10-24 2018-02-16 安普德(天津)科技股份有限公司 A kind of multi-operation mode smart bluetooth WIFI modules

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于WiFi的可实时视频同传的探测小车;罗回彬等;《单片机与嵌入式系统应用》;20150601;第41-43页 *

Also Published As

Publication number Publication date
CN109634671A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN105354070B (en) A method of passing through I2C updating apparatus firmware
US10162646B2 (en) System for programmably configuring a motherboard
CN105677420B (en) interface pin configuration method and device
CN106610712A (en) Substrate management controller reset system and method
CN106055440A (en) Testing method and system for realizing abnormal power failure of server through BMC
CN109634671B (en) Method for controlling BOOT mode by using integrated chip
CN103376868A (en) Power adapter identification system and method
CN104346188A (en) Updating method of substrate management controller and updating system of substrate management controller
CN201015041Y (en) BIOS chip extended device
CN103593319A (en) Serial port application method for supporting hot plugging and identifying external device automatically
CN101793934B (en) Universal anti-drawing test equipment and test method thereof
CN202917399U (en) Apparatus for avoiding relay misoperation in power-on process
TWI482090B (en) System capable of booting through a universal serial bus device and method thereof
CN101533352A (en) Method for indicating start progress of digital device
CN110221148B (en) Automatic testing device and method for current consumption pressure under slow clock
CN115952122A (en) I2C device hot plug method, system, device, medium and product
CN111966195B (en) Start control circuit and method
TWI753606B (en) Master-slave interchangeable power supply device and its host, master-slave interchangeable power supply method and computer-readable recording medium
CN112527091B (en) Power management method, firmware update method, device, equipment, medium and product
CN114784575B (en) Anti-hot plug method and device for product assembly, electronic equipment and storage medium
CN115394260B (en) Liquid crystal display method, device, computer equipment and storage medium
CN211087224U (en) Mainboard and computer equipment
CN111124826A (en) Method and system for protecting normal power-on start of CPU
CN110874293A (en) Hot plug testing device
CN111182514B (en) Method, device, equipment and medium for realizing pin time-sharing multiplexing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant