CN213368158U - Equipment configuration and firmware upgrading equipment based on NFC - Google Patents

Equipment configuration and firmware upgrading equipment based on NFC Download PDF

Info

Publication number
CN213368158U
CN213368158U CN202021836247.4U CN202021836247U CN213368158U CN 213368158 U CN213368158 U CN 213368158U CN 202021836247 U CN202021836247 U CN 202021836247U CN 213368158 U CN213368158 U CN 213368158U
Authority
CN
China
Prior art keywords
capacitor
nfc
chip
pin
resistor
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
CN202021836247.4U
Other languages
Chinese (zh)
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.)
China Key System and Integrated Circuit Co Ltd
Original Assignee
China Key System and Integrated Circuit 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 China Key System and Integrated Circuit Co Ltd filed Critical China Key System and Integrated Circuit Co Ltd
Priority to CN202021836247.4U priority Critical patent/CN213368158U/en
Application granted granted Critical
Publication of CN213368158U publication Critical patent/CN213368158U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses equipment configuration and firmware upgrading equipment based on NFC, which comprises an NTAG end, wherein the NTAG end comprises an MCU main control module, an NFC chip module and a power supply module. The invention is used for NFC event detection by transmitting the NFC _ DET signal, and when the NFC event is detected, the MCU chip U1 performs the actions of parameter configuration, upgrading, power on and power off and the like through an interrupt signal. The invention uses the NFC technology to manage the sealed low-power consumption electronic equipment, and realizes non-contact, such as startup and shutdown, parameter modification, firmware upgrade and the like.

Description

Equipment configuration and firmware upgrading equipment based on NFC
Technical Field
The utility model belongs to the technical field of communication, concretely relates to equipment configuration and firmware upgrading equipment based on NFC.
Background
With the development of the internet of things and consumer electronics technologies, various portable and low-power-consumption products are derived, small-capacity batteries are usually arranged in the products, and physical switches and other external communication interfaces cannot be directly provided due to the limitation of the product size and the use scene, so that the maintainability of the products is greatly reduced.
In the prior art, a better power-off storage scheme cannot be provided for completely sealed low-power-consumption electronic products, which may be used for positioning tags, identity identification cards, asset tags and other low-power-consumption products for personnel management, and are usually assembled in a completely sealed manner, even a power-on/off button is not provided, and dynamic adjustment and firmware upgrade of equipment operation parameters are difficult to perform in the using process.
Therefore, the utility model provides an equipment configuration and firmware upgrading equipment based on NFC, the utility model discloses use the NFC technique to manage sealed low-power consumption electronic equipment, realize non-contact for example switching on and shutting down, parameter modification, firmware upgrading etc..
SUMMERY OF THE UTILITY MODEL
For solving the defect that prior art exists, the utility model provides an equipment configuration and firmware upgrading equipment based on NFC.
In order to solve the technical problem, the utility model provides a following technical scheme:
the utility model provides a NFC-based equipment configuration and firmware upgrading method, including the following steps:
s1, starting up:
s11, the equipment obtains energy from the NTAG end to start;
s12, reading the NTAG power supply mark bit, if the start bit is valid, turning on the power supply control pin, and then entering the step S13; if the starting-up bit is invalid, entering a misoperation circulation state;
s13, reading the NTAG parameter, and entering a normal starting process;
s2, shutdown step:
s21, detecting NTAG interruption during the running period of the equipment;
s22, reading the NTAG power supply mark bit, if the shutdown bit is valid, closing the power supply control pin, and entering a misoperation circulation waiting state; if the shutdown bit is invalid, the equipment continues to operate;
s3, parameter configuration step:
s31, detecting NTAG interruption during the running period of the equipment;
s32, reading the NTAG parameter, loading the NTAG parameter by the equipment and running again;
s4, firmware upgrading step:
s41, detecting NTAG interruption during the running period of the equipment;
and S42, reading the NTAG parameter, if detecting the NTAG upgrading mark bit, configuring the NTAG to be a direct communication mode through an I2C interface, then entering an upgrading mode, clearing the NTAG upgrading mark bit after upgrading is finished, and continuing the operation of the equipment.
As an optimized technical solution of the present invention, the upgrade mode in step S42 specifically includes: the equipment transmits firmware data through the NFC chip module, the MCU master control module reads the firmware sub-package through the I2C interface and performs data verification and firmware programming operation, and therefore upgrading of the firmware is completed.
As a preferred technical solution of the present invention, the utility model provides an equipment configuration and firmware upgrading equipment based on NFC, including the NTAG end, the NTAG end includes MCU host system, NFC chip module and power module, MCU host system includes MCU chip U1, resistance R1, electric capacity C1, electric capacity C2, electric capacity C3, electric capacity C4, electric capacity C5, electric capacity C6, electric capacity C7, crystal oscillator X1, 5 feet of MCU chip U1 are connected in the first end of connecting in crystal oscillator X1, electric capacity C6, 6 feet of MCU chip U1 are connected in the second end of crystal oscillator X1, the first end of electric capacity C7, 31 feet, 63 feet, 47 feet, 18 feet of MCU chip U1 and the second end of electric capacity C6, electric capacity C7 are grounded; pins 64, 48 and 19 of the MCU chip U1 are connected with first ends of a capacitor C1, a capacitor C3, a capacitor C4 and a capacitor C5, and second ends of the capacitor C1, the capacitor C3, the capacitor C4 and the capacitor C5 are grounded; the pin 12 of the MCU chip U1 is connected with a first end of a resistor R1, a second end of the resistor R1 is connected with a first end of a capacitor C2, and a second end of the capacitor C2 is grounded; a pin 54 of the MCU chip U1 is connected with an SCL pin of the NFC chip U2, a pin 65 of the MCU chip U1 is connected with an SDA pin, a pin 66 of the MCU chip U1 is connected with an NFC _ DET pin, and a pin 67 of the MCU chip U1 is connected with a second end of the resistor R6;
the NFC chip module comprises an NFC chip U2, a resistor R2, a resistor R3 and a capacitor C8, wherein a pin 2 of the NFC chip U2 is grounded, pins 3 and 5 of the NFC chip U2 are respectively connected with first ends of a resistor R2 and a resistor R3, second ends of a pin 6 of the NFC chip U2, a resistor R2 and a resistor R3 are connected with VDD, a pin 4 of the NFC chip U2 is connected with an NFC _ DET pin, a pin 7 of the NFC chip U2 is connected with a first end of a capacitor C8 and a second end of a resistor R4, and a second end of the capacitor C8 is grounded;
the power supply module comprises a voltage chip U3, a triode Q1, a diode D1, a diode D2, a resistor R4, a resistor R6, a capacitor C9 and a capacitor C10, wherein a pin 1 and a pin 2 of the voltage chip U3 are connected with an emitter of a triode Q1 and a first end of the capacitor C9, a collector of the triode Q1 is connected with VBAT, a base of the triode Q1 is connected with cathodes of the diode D1 and the diode D2, and anodes of the diode D1 and the diode D2 are respectively connected with first ends of the resistor R4 and the resistor R6; the pin 3 of the voltage chip U3 is connected with the first end of the capacitor 10, and the pin 4 of the voltage chip U3 and the second end of the capacitor C10 are grounded.
As a preferred embodiment of the present invention, the crystal oscillator X1 is a two-electrode crystal oscillator.
The utility model has the advantages that: firstly, the pin 66 of the MCU chip U1 is connected to the pin 4 of the NFC chip U2, and the NFC _ DET signal is transmitted for NFC event detection, and when an NFC event is detected, the MCU chip U1 performs corresponding processing through an interrupt signal, for example, reads current configuration data of an NFC internal EEPROM through the I2C interface, and then performs operations such as parameter configuration, upgrade, power on/off, and the like according to the configuration type.
Secondly, a pin 67 of the MCU chip U1 is connected with a second end of a resistor R6 in the POWER module, and the POWER switch is controlled by transmitting a POWER _ EN signal.
Thirdly, the NFC chip is provided with SCL and SDA pins for data communication with the MCU chip U1, an NFC _ DET signal for reporting an NFC interrupt event to the MCU chip U1, and an N _ POWER _ EN signal for turning on the battery POWER.
Fourthly, the VBAT forms an OR gate through two triodes for enabling, then the voltage is converted into voltage suitable for the system through a voltage chip U3 and transmitted to an MCU chip U1 and an NFC chip U2, after the system is powered on and started up, the MCU chip U1 can pull up POWER _ EN to enable the VBAT to be input to the voltage chip U3 so as to keep the system powered, in addition, under the condition that the system is powered off, the NFC chip U2 senses and outputs a voltage signal N _ POWER _ EN, the VBAT can be opened, the system is enabled to enter a working state, and at the moment, the system determines whether the POWER _ EN signal needs to be opened or not through internal parameter configuration of the NFC EEPROM so as to keep the POWER supply, and then the system is enabled.
Drawings
Fig. 1 is a flowchart illustrating a method for NFC-based device configuration and firmware upgrade according to the present invention;
fig. 2 is a circuit diagram of the MCU master control module in the NFC-based device configuration and firmware upgrade device of the present invention;
fig. 3 is a circuit diagram of an NFC chip module in the NFC-based device configuration and firmware upgrade device according to the present invention;
fig. 4 is a circuit diagram of a power module in the NFC-based device configuration and firmware upgrade device of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are presented herein only to illustrate and explain the present invention, and not to limit the present invention.
In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected" and "connected" are to be construed broadly, and may for example be fixedly connected, detachably connected, or integrally connected; may be directly connected or indirectly connected through an intermediate. The specific meaning of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In order to achieve the object of the present invention, as shown in fig. 1, in one embodiment of the present invention, an NFC-based device configuration and firmware upgrade method is provided, which includes the following steps:
s1, starting up:
s11, the equipment obtains energy from the NTAG end to start;
s12, reading the NTAG power supply mark bit, if the start bit is valid, turning on the power supply control pin, and then entering the step S13; if the starting-up bit is invalid, entering a misoperation circulation state;
s13, reading the NTAG parameter, and entering a normal starting process;
s2, shutdown step:
s21, detecting NTAG interruption during the running period of the equipment;
s22, reading the NTAG power supply mark bit, if the shutdown bit is valid, closing the power supply control pin, and entering a misoperation circulation waiting state; if the shutdown bit is invalid, the equipment continues to operate;
s3, parameter configuration step:
s31, detecting NTAG interruption during the running period of the equipment;
s32, reading the NTAG parameter, loading the NTAG parameter by the equipment and running again;
s4, firmware upgrading step:
s41, detecting NTAG interruption during the running period of the equipment;
and S42, reading the NTAG parameter, if detecting the NTAG upgrading mark bit, configuring the NTAG to be a direct communication mode through an I2C interface, then entering an upgrading mode, clearing the NTAG upgrading mark bit after upgrading is finished, and continuing the operation of the equipment.
Wherein, the upgrading mode in step S42 specifically includes: the equipment transmits firmware data through the NFC chip module, the MCU master control module reads the firmware sub-package through the I2C interface and performs data verification and firmware programming operation, and therefore upgrading of the firmware is completed.
As shown in fig. 2 to 4, in order to further optimize the implementation effect of the present invention, the present invention provides an NFC-based device configuration and firmware upgrade device, including an NTAG end, the NTAG end includes an MCU main control module, an NFC chip module and a power module, the MCU main control module includes an MCU chip U1, a resistor R1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, and a crystal oscillator X1, wherein 5 pins of the MCU chip U1 are connected to a first end connected to the crystal oscillator X1 and the capacitor C6, 6 pins of the MCU chip U1 are connected to a second end of the crystal oscillator X1 and a first end of the capacitor C7, and second ends of the MCU chip U1, 63 pins, 47 pins, 18 pins, and a capacitor C6 and a second end of the capacitor C7 are grounded; pins 64, 48 and 19 of the MCU chip U1 are connected with first ends of a capacitor C1, a capacitor C3, a capacitor C4 and a capacitor C5, and second ends of the capacitor C1, the capacitor C3, the capacitor C4 and the capacitor C5 are grounded; the pin 12 of the MCU chip U1 is connected with a first end of a resistor R1, a second end of the resistor R1 is connected with a first end of a capacitor C2, and a second end of the capacitor C2 is grounded; a pin 54 of the MCU chip U1 is connected with an SCL pin of the NFC chip U2, a pin 65 of the MCU chip U1 is connected with an SDA pin, a pin 66 of the MCU chip U1 is connected with an NFC _ DET pin, and a pin 67 of the MCU chip U1 is connected with a second end of the resistor R6;
the NFC chip module comprises an NFC chip U2, a resistor R2, a resistor R3 and a capacitor C8, wherein a pin 2 of the NFC chip U2 is grounded, pins 3 and 5 of the NFC chip U2 are respectively connected with first ends of a resistor R2 and a resistor R3, second ends of a pin 6 of the NFC chip U2, a resistor R2 and a resistor R3 are connected with VDD, a pin 4 of the NFC chip U2 is connected with an NFC _ DET pin, a pin 7 of the NFC chip U2 is connected with a first end of a capacitor C8 and a second end of a resistor R4, and a second end of the capacitor C8 is grounded;
the power supply module comprises a voltage chip U3, a triode Q1, a diode D1, a diode D2, a resistor R4, a resistor R6, a capacitor C9 and a capacitor C10, wherein a pin 1 and a pin 2 of the voltage chip U3 are connected with an emitter of a triode Q1 and a first end of the capacitor C9, a collector of the triode Q1 is connected with VBAT, a base of the triode Q1 is connected with cathodes of the diode D1 and the diode D2, and anodes of the diode D1 and the diode D2 are respectively connected with first ends of the resistor R4 and the resistor R6; the pin 3 of the voltage chip U3 is connected with the first end of the capacitor 10, and the pin 4 of the voltage chip U3 and the second end of the capacitor C10 are grounded.
The crystal oscillator X1 is a two-electrode crystal oscillator.
Firstly, the pin 66 of the MCU chip U1 is connected to the pin 4 of the NFC chip U2, and the NFC _ DET signal is transmitted for NFC event detection, and when an NFC event is detected, the MCU chip U1 performs corresponding processing through an interrupt signal, for example, reads current configuration data of an NFC internal EEPROM through the I2C interface, and then performs operations such as parameter configuration, upgrade, power on/off, and the like according to the configuration type.
Secondly, a pin 67 of the MCU chip U1 is connected with a second end of a resistor R6 in the POWER module, and the POWER switch is controlled by transmitting a POWER _ EN signal.
Thirdly, the NFC chip is provided with SCL and SDA pins for data communication with the MCU chip U1, an NFC _ DET signal for reporting an NFC interrupt event to the MCU chip U1, and an N _ POWER _ EN signal for turning on the battery POWER.
Fourthly, the VBAT forms an OR gate through two triodes for enabling, then the voltage is converted into voltage suitable for the system through a voltage chip U3 and transmitted to an MCU chip U1 and an NFC chip U2, after the system is powered on and started up, the MCU chip U1 can pull up POWER _ EN to enable the VBAT to be input to the voltage chip U3 so as to keep the system powered, in addition, under the condition that the system is powered off, the NFC chip U2 senses and outputs a voltage signal N _ POWER _ EN, the VBAT can be opened, the system is enabled to enter a working state, and at the moment, the system determines whether the POWER _ EN signal needs to be opened or not through internal parameter configuration of the NFC EEPROM so as to keep the POWER supply, and then the system is enabled.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing embodiments, or equivalents may be substituted for elements thereof. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (2)

1. The equipment configuration and firmware upgrading equipment based on NFC is characterized by comprising an NTAG end, wherein the NTAG end comprises an MCU (micro controller unit) main control module, an NFC chip module and a power module, the MCU main control module comprises an MCU chip U1, a resistor R1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7 and a crystal oscillator X1, 5 pins of the MCU chip U1 are connected to a first end connected to a crystal oscillator X1 and the capacitor C6, 6 pins of the MCU chip U1 are connected to a second end of the crystal oscillator X1 and a first end of the capacitor C7, and second ends of 31 pins, 63 pins, 47 pins, 18 pins, the capacitor C6 and the capacitor C7 of the MCU chip U1 are grounded; pins 64, 48 and 19 of the MCU chip U1 are connected with first ends of a capacitor C1, a capacitor C3, a capacitor C4 and a capacitor C5, and second ends of the capacitor C1, the capacitor C3, the capacitor C4 and the capacitor C5 are grounded; the pin 12 of the MCU chip U1 is connected with a first end of a resistor R1, a second end of the resistor R1 is connected with a first end of a capacitor C2, and a second end of the capacitor C2 is grounded; a pin 54 of the MCU chip U1 is connected with an SCL pin of the NFC chip U2, a pin 65 of the MCU chip U1 is connected with an SDA pin, a pin 66 of the MCU chip U1 is connected with an NFC _ DET pin, and a pin 67 of the MCU chip U1 is connected with a second end of the resistor R6;
the NFC chip module comprises an NFC chip U2, a resistor R2, a resistor R3 and a capacitor C8, wherein a pin 2 of the NFC chip U2 is grounded, pins 3 and 5 of the NFC chip U2 are respectively connected with first ends of a resistor R2 and a resistor R3, second ends of a pin 6 of the NFC chip U2, a resistor R2 and a resistor R3 are connected with VDD, a pin 4 of the NFC chip U2 is connected with an NFC _ DET pin, a pin 7 of the NFC chip U2 is connected with a first end of a capacitor C8 and a second end of a resistor R4, and a second end of the capacitor C8 is grounded;
the power supply module comprises a voltage chip U3, a triode Q1, a diode D1, a diode D2, a resistor R4, a resistor R6, a capacitor C9 and a capacitor C10, wherein a pin 1 and a pin 2 of the voltage chip U3 are connected with an emitter of a triode Q1 and a first end of the capacitor C9, a collector of the triode Q1 is connected with VBAT, a base of the triode Q1 is connected with cathodes of the diode D1 and the diode D2, and anodes of the diode D1 and the diode D2 are respectively connected with first ends of the resistor R4 and the resistor R6; the pin 3 of the voltage chip U3 is connected with the first end of the capacitor 10, and the pin 4 of the voltage chip U3 and the second end of the capacitor C10 are grounded.
2. The NFC-based device configuration and firmware upgrade device according to claim 1, wherein the crystal oscillator X1 is a two-electrode type crystal oscillator.
CN202021836247.4U 2020-08-27 2020-08-27 Equipment configuration and firmware upgrading equipment based on NFC Active CN213368158U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021836247.4U CN213368158U (en) 2020-08-27 2020-08-27 Equipment configuration and firmware upgrading equipment based on NFC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021836247.4U CN213368158U (en) 2020-08-27 2020-08-27 Equipment configuration and firmware upgrading equipment based on NFC

Publications (1)

Publication Number Publication Date
CN213368158U true CN213368158U (en) 2021-06-04

Family

ID=76147623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021836247.4U Active CN213368158U (en) 2020-08-27 2020-08-27 Equipment configuration and firmware upgrading equipment based on NFC

Country Status (1)

Country Link
CN (1) CN213368158U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226932A1 (en) * 2022-05-27 2023-11-30 维沃移动通信有限公司 Electronic device and electronic device set

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226932A1 (en) * 2022-05-27 2023-11-30 维沃移动通信有限公司 Electronic device and electronic device set

Similar Documents

Publication Publication Date Title
CN103792985B (en) Electronic device and control method thereof
US11463955B2 (en) Method for implementing low power consumption on standby for bluetooth security device and bluetooth security device
WO2021159952A1 (en) Near-field communication label and control system thereof
US8621568B2 (en) WAN module based remote wakeup system and terminal thereof
WO2018170839A1 (en) Hybrid power supply method, device, and micro-energy power supply based on micro-energy collection
CN109840006B (en) Main control chip power supply device
CN104461048A (en) Electronic device and control method thereof
CN203982116U (en) A kind of switching on and shutting down control circuit of electronic equipment
CN213368158U (en) Equipment configuration and firmware upgrading equipment based on NFC
CN102890550A (en) Synchronous switching machine of PC (Personal Computer) and display
CN104298382A (en) One-key operating multimedia all-in-one machine and on-off method thereof
CN115016624A (en) Electronic equipment and electronic equipment set
CN103777733B (en) The method of supplying power to of computer apparatus and general connectivity port module
WO2021078261A1 (en) Power supply control method, system and device
CN107561991A (en) A kind of switching on and shutting down management circuit and terminal
CN104376488A (en) Low-power-consumption electronic commodity price label and control method thereof
US20140115378A1 (en) System and method for restoring network configuration parameters
CN103399811B (en) Current time date and battery electricity fast display method and system
CN207424583U (en) A kind of switching on and shutting down management circuit and terminal
CN213043666U (en) Low-power consumption standby electronic equipment
CN103779884A (en) Electronic device and electronic system
CN113660149A (en) Device control method and apparatus, storage medium, and electronic device
CN110069121A (en) A kind of portable embedded equipment power-supply management system and terminating machine
CN110633002A (en) Processing circuit and power management method thereof
CN104935839A (en) Extensible smart television

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant