WO2019037188A1 - Procédé de commutation de mode d'un dispositif intégré et dispositif intégré - Google Patents
Procédé de commutation de mode d'un dispositif intégré et dispositif intégré Download PDFInfo
- Publication number
- WO2019037188A1 WO2019037188A1 PCT/CN2017/102761 CN2017102761W WO2019037188A1 WO 2019037188 A1 WO2019037188 A1 WO 2019037188A1 CN 2017102761 W CN2017102761 W CN 2017102761W WO 2019037188 A1 WO2019037188 A1 WO 2019037188A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- interface
- switch circuit
- switching
- mode
- switch
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a mode switching method for an embedded device and an embedded device.
- the embedded device has only a user mode after being assembled, and the debugging interface for the embedded system has been blocked. If there is a need for debugging of the embedded system, it is usually necessary to disassemble the embedded device. inconvenient. Therefore, it is necessary to provide a mode switching scheme for the embedded device, which is convenient for the development test and maintenance personnel to debug and test the embedded device that has been assembled by the whole machine.
- the object of the present invention is to provide a mode switching scheme for an embedded device, which is convenient for developing test and maintenance personnel to perform debugging tests on an embedded device that has been assembled by the whole device.
- a mode switching method of an embedded device comprising a first interface connected to an embedded processor of the device, a second interface exposed to the outside of the device, and a switch
- the circuit, the first interface and the second interface are the same type of interface; the method includes the following steps:
- the mode flag is set to an engineering mode flag in response to a command to switch to the engineering mode
- the device In response to the mode flag being set to a user mode flag, the device is switched to a user mode and the switching circuit is switched to connect the first interface and the second interface.
- the method further includes the following steps:
- the boot flag When the device is started, the boot flag is initialized to a boot incomplete flag, and the mode flag is initialized to a user mode flag; wherein the device is configured to be disabled when the boot flag is a boot unfinished flag
- the mode flag is set to an engineering mode flag
- the boot flag is set to a boot completion flag.
- the switch circuit includes a first switch circuit and a second switch circuit, and the first interface and the second interface are USB interfaces;
- a first end of the first switch circuit is connected to a D+ pin of the second interface, and a first end of the second switch circuit is connected to a D- pin of the second interface;
- the switching the switching circuit to the debug interface connecting the second interface and the embedded processor comprises: switching a second end of the first switch circuit to be debugged with the embedded processor An output/input interface connection, switching a second end of the second switch circuit to be connected to a debug input/output interface of the embedded processor;
- the switching the switch circuit to connect the first interface and the second interface includes: switching a second end of the first switch circuit to be connected to a D+ pin of the first interface, The second end of the second switch circuit is switched to be connected to the D-pin of the first interface.
- the switch circuit includes a first switch circuit and a second switch circuit, and the first interface and the second interface are audio input interfaces;
- a first end of the first switch circuit is connected to a left channel pin of the second interface, and a first end of the second switch circuit is connected to a right channel pin of the second interface;
- the switching the switching circuit to the debug interface connecting the second interface and the embedded processor comprises: switching a second end of the first switch circuit to be debugged with the embedded processor An output/input interface is connected, and the second end of the second switch circuit is switched to Debugging input/output interface connection of the embedded processor;
- Switching the switch circuit to connect the first interface and the second interface comprising: switching a second end of the first switch circuit to be connected to a left channel pin of the first interface And switching the second end of the second switch circuit to be connected to the right channel pin of the first interface.
- the command to switch to the engineering mode and/or the command to switch to the user mode is input to the device through an external keypad; or the device receives the switch through its own infrared receiver to a command of the engineering mode and/or the command to switch to the user mode; or the command to switch to the engineering mode and/or the command to switch to the user mode is a specific form of audio stream, the device passing its own The audio input interface receives the command to switch to the engineering mode and/or the command to switch to the user mode.
- an embedded device comprising a first interface coupled to an embedded processor of the device, a second interface exposed to an exterior of the device, and a switching circuit,
- the first interface and the second interface are interfaces of the same type;
- the device further includes a mode flag setting module and a mode switching control module;
- the mode flag bit setting module is configured to set a mode flag bit to an engineering mode flag in response to a command to switch to an engineering mode; and/or to set a mode flag bit to be in response to a command to switch to a user mode User mode flag;
- the mode switching control module is configured to switch the device to an engineering mode and switch the switching circuit to connect the second interface and the embedded in response to the mode flag being set to an engineering mode flag a debug interface of the processor; and/or responsive to the mode flag being set to a user mode flag, switching the device to a user mode and switching the switch circuit to connect the first interface and Said second interface.
- the device further includes a boot flag setting module
- the boot flag setting module is configured to initialize a boot flag to a boot incomplete flag when the device is booted, and set the boot flag to a boot completion flag when the device is booted; wherein The device is configured to prohibit the mode flag from being set to an engineering mode flag when the boot flag is a boot incomplete flag;
- the mode flag setting module is further configured to start a mode flag when the device is started Initialized to the user mode flag.
- the switch circuit includes a first switch circuit and a second switch circuit, and the first interface and the second interface are USB interfaces;
- a first end of the first switch circuit is connected to a D+ pin of the second interface, and a first end of the second switch circuit is connected to a D- pin of the second interface;
- the mode switching control module switches the switch circuit to a debug interface that connects the second interface and the embedded processor, including: switching a second end of the first switch circuit to the embedded a debug output/input interface connection of the processor, switching a second end of the second switch circuit to be connected to a debug input/output interface of the embedded processor;
- the mode switching control module switches the switch circuit to connect the first interface and the second interface, including: switching a second end of the first switch circuit to a D+ lead with the first interface
- the pin is connected to switch the second end of the second switch circuit to be connected to the D-pin of the first interface.
- the switch circuit includes a first switch circuit and a second switch circuit, and the first interface and the second interface are audio input interfaces;
- a first end of the first switch circuit is connected to a left channel pin of the second interface, and a first end of the second switch circuit is connected to a right channel pin of the second interface;
- the mode switching control module switches the switch circuit to a debug interface that connects the second interface and the embedded processor, including: switching a second end of the first switch circuit to the embedded a debug output/input interface connection of the processor, switching a second end of the second switch circuit to be connected to a debug input/output interface of the embedded processor;
- the mode switching control module switches the switch circuit to connect the first interface and the second interface, including: switching a second end of the first switch circuit to a left sound with the first interface
- the track pin is connected to switch the second end of the second switch circuit to be connected to the right channel pin of the first interface.
- the command to switch to the engineering mode and/or the command to switch to the user mode is input to the device through an external keypad; or the device receives the switch through its own infrared receiver to The command of the engineering mode and/or the command to switch to the user mode; or the command to switch to the engineering mode and/or the command to switch to the user mode is a specific shape
- An audio stream of the type the device receiving the command to switch to the engineering mode and/or the command to switch to the user mode through its own audio input interface.
- an embedded device comprising a first interface coupled to an embedded processor of the device, a second interface exposed to an exterior of the device, and a switching circuit,
- the first interface and the second interface are the same type of interface;
- the device further includes a memory, a processor, and a computer program stored on the memory and executable on the processor; when the processor executes the program Implement the following steps:
- the mode flag is set to an engineering mode flag in response to a command to switch to the engineering mode
- the device In response to the mode flag being set to a user mode flag, the device is switched to a user mode and the switching circuit is switched to connect the first interface and the second interface.
- Initializing the boot flag to the boot incomplete flag when the device is booting initializing the mode flag to the user mode flag; wherein the device is configured to be in a state where the boot flag is the boot incomplete flag, The mode flag is prohibited from being set to the engineering mode flag; and,
- the boot flag is set to a boot completion flag.
- the switch circuit includes a first switch circuit and a second switch circuit, and the first interface and the second interface are USB interfaces;
- a first end of the first switch circuit is connected to a D+ pin of the second interface, and a first end of the second switch circuit is connected to a D- pin of the second interface;
- the switching the switching circuit to the debug interface connecting the second interface and the embedded processor comprises: switching a second end of the first switch circuit to be debugged with the embedded processor An output/input interface connection, switching a second end of the second switch circuit to be connected to a debug input/output interface of the embedded processor;
- the switching the switch circuit to connect the first interface and the second interface includes: switching a second end of the first switch circuit to be connected to a D+ pin of the first interface, The second end of the second switch circuit is switched to be connected to the D-pin of the first interface.
- the switch circuit includes a first switch circuit and a second switch circuit, and the first interface and the second interface are audio input interfaces;
- a first end of the first switch circuit is connected to a left channel pin of the second interface, and a first end of the second switch circuit is connected to a right channel pin of the second interface;
- the switching the switching circuit to the debug interface connecting the second interface and the embedded processor comprises: switching a second end of the first switch circuit to be debugged with the embedded processor An output/input interface connection, switching a second end of the second switch circuit to be connected to a debug input/output interface of the embedded processor;
- Switching the switch circuit to connect the first interface and the second interface comprising: switching a second end of the first switch circuit to be connected to a left channel pin of the first interface And switching the second end of the second switch circuit to be connected to the right channel pin of the first interface.
- the command to switch to the engineering mode and/or the command to switch to the user mode is input to the device through an external keypad; or the device receives the switch through its own infrared receiver to a command of the engineering mode and/or the command to switch to the user mode; or the command to switch to the engineering mode and/or the command to switch to the user mode is a specific form of audio stream, the device passing its own The audio input interface receives the command to switch to the engineering mode and/or the command to switch to the user mode.
- the mode switching scheme of the embedded device provided by the invention can be switched between the user mode and the engineering mode, so that the development test and maintenance personnel can debug and test the embedded device that has been assembled by the whole machine.
- FIG. 1 is a block diagram of an embedded device according to a first embodiment of the present invention
- FIG. 2 is a block diagram showing an embedded device according to a second embodiment of the present invention.
- FIG. 3 is a schematic diagram showing the connection of a switch circuit of an embedded device according to an embodiment of the present invention
- FIG. 4 is a schematic diagram showing the connection of a switch circuit of an embedded device according to an embodiment of the present invention.
- FIG. 5 is a schematic flowchart of switching an embedded device into an engineering mode according to an embodiment of the present invention.
- FIG. 6 is a schematic flowchart of switching an embedded device to a user mode according to an embodiment of the present invention.
- FIG. 7 is a block diagram showing a hardware configuration of an embedded device according to an embodiment of the present invention.
- the embedded device 100 includes a first interface 1 connected to an embedded processor of the embedded device 100 and a second exposed to the outside of the embedded device 100 .
- Two interface 2, and switch circuit 4, first interface 1 and second connection Port 2 is the same type of interface.
- the embedded device 100 further includes a mode flag setting module 6 and a mode switching control module 5.
- the mode flag setting module 6 is configured to set the mode flag to the engineering mode flag in response to the command to switch to the engineering mode.
- the mode switching control module 5 is configured to switch the embedded device 100 to the engineering mode and switch the switching circuit 4 to the debug interface 3 connecting the second interface 2 and the embedded processor in response to the mode flag being set to the engineering mode flag. Therefore, the technician can access the debug interface 3 through the second interface 2, and perform debugging test on the embedded device 100 that has been assembled by the whole machine.
- the mode flag setting module 6 is further configured to set the mode flag to the user mode flag in response to a command to switch to the user mode.
- the mode switching control module 5 is further configured to switch the embedded device 100 to the user mode and switch the switch circuit 4 to connect the first interface 1 and the second interface 2 in response to the mode flag being set to the user mode flag, so as to be embedded
- the device 100 switches from the engineering mode back to the user mode.
- an embedded device provided by the second embodiment of the present invention is provided.
- the embedded device 100 provided by the second embodiment further includes a boot flag setting module 7 .
- the boot flag setting module 7 is configured to initialize the boot flag to the boot incomplete flag when the embedded device 100 is booted, and to set the boot flag to the boot completion flag when the embedded device 100 is booted.
- the embedded device 100 is configured to disable the mode flag bit as an engineering mode flag in a state where the power-on flag is a power-on incomplete flag.
- the mode flag setting module 6 is further configured to initialize the mode flag to the user mode flag when the embedded device 100 is started, that is, the embedded device 100 is set to the user mode each time the device is turned on.
- the embedded device 100 is configured to disable the mode flag from being set to the engineering mode flag when the boot flag is the boot incomplete flag, the embedded device 100 can only switch to the engineering mode after the boot is completed, and the main purpose is to protect The initialization of each module during the boot process and the prevention of switching modes during the boot process.
- the user mode is determined by the mode flag bit. Or the engineering mode, if it is in the engineering mode, open the debugging information and test functions. If it is in user mode, it only provides the function, and does not open the debugging information and test function.
- FIG. 3 a schematic diagram of a connection of a switch circuit of an embedded device according to an embodiment of the present invention is illustrated.
- the switch circuit includes a first switch circuit 31 and a second switch circuit 32, and the first interface and the second interface are USB interfaces.
- the first end of the first switch circuit 31 is connected to the D+ pin of the second USB interface 21, and the first end of the second switch circuit 32 is connected to the D- pin of the second USB interface 21.
- the mode switching control module switches the embedded device to the engineering mode and switches the second end of the first switching circuit 31 to the debug input interface RX with the embedded processor. Connected, the second end of the second switching circuit 32 is switched to be connected to the debug output interface TX of the embedded processor.
- the second end of the first switch circuit 31 can also be switched to be connected to the debug output interface TX of the embedded processor, and the second end of the second switch circuit 32 can be switched to the debug input interface RX of the embedded processor. connection.
- the technician can access the debug input interface RX and the debug output interface TX through the second USB interface 21 to debug the embedded device that has been assembled.
- the mode switching control module switches the embedded device to the user mode and switches the second end of the first switching circuit 31 to the D+ pin of the first USB interface 11. Connected to switch the second end of the second switch 32 circuit to be connected to the D-pin of the first USB interface 11.
- FIG. 4 a schematic diagram of a connection of a switch circuit of an embedded device according to an embodiment of the present invention is illustrated.
- the switch circuit includes a first switch circuit 31 and a second switch circuit 32, and the first interface and the second interface are audio input interfaces.
- the first end of the first switch circuit 31 is connected to the left channel pin of the second audio input interface 22, and the first end of the second switch circuit 31 is connected to the right channel pin of the second audio input interface 22.
- the mode switching control module switches the embedded device to the engineering mode and switches the second end of the first switching circuit 31 to the debug input interface RX with the embedded processor. Connected, the second end of the second switching circuit 32 is switched to be connected to the debug output interface TX of the embedded processor.
- the second end of the first switch circuit 31 can also be switched to be connected to the debug output interface TX of the embedded processor, and the second end of the second switch circuit 32 can be switched to the debug input interface RX of the embedded processor. connection.
- the technician can access the debug input interface RX and the debug output interface TX through the second audio input interface 22, and perform debugging test on the embedded device 100 that has been assembled.
- the mode switching control module switches the embedded device to the user mode and switches the second end of the first switching circuit 31 to the left sound with the first audio input interface 12.
- the track pin is connected to switch the second end of the second switch circuit 32 to be connected to the right channel pin of the first audio input interface 12.
- the embedded device can receive the mode switching command input by the user in the following three ways:
- the first way the command to switch to engineering mode and / or the command to switch to user mode is input to the embedded device through the external keypad.
- the keypad is connected to the embedded device, and a specific non-function key or a specific combination key is defined on the keypad as a mode switching command.
- the embedded device When the embedded device is in the user mode, when the specific non-function key or the specific combination key is pressed, the embedded device switches to the engineering mode and the second interface is connected with the debugging interface, so that the technician can access the debugging through the second interface.
- the interface performs debugging test on the embedded device that has been assembled by the whole machine; when the user presses a specific non-functional key or a specific combination key again, the embedded device switches to the user mode and the second interface is connected with the first interface, and the second interface is restored. Its original function.
- the usual infrared remote control has a coding range of 0 to 255.
- the remote control function itself does not use as many codes.
- the technician can set a specific code as a switching command in the spare code.
- the embedded device receives the infrared through its own infrared receiver. Mode switching command sent by the remote controller.
- the command to switch to the engineering mode and/or the command to switch to the user mode is a specific form of audio stream
- the embedded device receives the command to switch to the engineering mode through its own audio input interface and/or switches to the user mode. The command.
- an embodiment of the present invention provides a mode switching method for an embedded device:
- step 806 is executed, the embedded device 1 is switched to the engineering mode and the switching circuit is switched to the debug interface connecting the second interface and the embedded processor.
- step 901 detects whether a command to switch to the user mode is received. If a command to switch to the user mode is received, step 902 is executed to set the mode flag bit ModelFlag to zero. In response to the mode flag bit ModelFlag being set to 0, step 903 is executed, the embedded device switches to the user mode and the switch circuit switches to connect the first interface and the second interface, and the second interface restores its original function.
- An embodiment of the present invention provides a mode switching method of an embedded device, where the device includes a first interface connected to an embedded processor of the device, and a second interface exposed to the outside of the device, And a switch circuit, the first interface and the second interface being the same type of interface; the method comprising the steps of: setting a mode flag to an engineering mode flag in response to a command to switch to an engineering mode; The mode flag is set to an engineering mode flag, the device is switched to an engineering mode and the switching circuit is switched to a debug interface connecting the second interface and the embedded processor; and/or, responsive Setting the mode flag to the user mode flag in response to the command to switch to the user mode; switching the device to the user mode and switching the switch circuit to the connection mode in response to the mode flag being set to the user mode flag.
- the first interface and the second interface are described.
- the method further includes the steps of: initializing the boot flag bit to a power-on incomplete flag when the device is booting, and initializing the mode flag bit to a user mode flag; wherein the device is configured to be When the boot flag is the boot incomplete flag, the mode flag is prohibited from being set to the engineering mode flag; and when the device is booted, the boot flag is set to the boot completion flag.
- the switch circuit includes a first switch circuit and a second switch circuit, the first interface and the second interface are USB interfaces; a first end of the first switch circuit and the a D+ pin of the second interface is connected, a first end of the second switch circuit is coupled to a D- pin of the second interface; the switching circuit is switched to connect the second interface and the
- the debugging interface of the embedded processor includes: switching a second end of the first switch circuit to be connected to a debug output/input interface of the embedded processor, and switching a second end of the second switch circuit For connecting to a debug input/output interface of the embedded processor; switching the switch circuit to connect the first interface and the second interface, comprising: seconding the first switch circuit The terminal is switched to be connected to the D+ pin of the first interface, and the second end of the second switch circuit is switched to be connected to the D-pin of the first interface.
- the switch circuit includes a first switch circuit and a second switch circuit, the first interface and the second interface are audio input interfaces; and the first end of the first switch circuit a left channel pin connection of the second interface, a first end of the second switch circuit is connected to a right channel pin of the second interface; the switching circuit is switched to connect the second
- the interface and the debug interface of the embedded processor include: switching a second end of the first switch circuit to be connected to a debug output/input interface of the embedded processor, and the second open The second end of the circuit is switched to be connected to the debug input/output interface of the embedded processor;
- the switching the switch circuit to connect the first interface and the second interface includes: The second end of the first switch circuit is switched to be connected to the left channel pin of the first interface, and the second end of the second switch circuit is switched to be connected to the right channel pin of the first interface .
- the command to switch to the engineering mode and/or the command to switch to the user mode is input to the device via an external keypad.
- the device receives the command to switch to the engineering mode and/or the command to switch to the user mode through its own infrared receiver.
- the command to switch to the engineering mode and/or the command to switch to the user mode is a specific form of audio stream, and the device receives the switch to the engineering mode through its own audio input interface.
- Command and / or switch to user mode command is a specific form of audio stream
- the mode switching method of the foregoing embedded device can be implemented by hardware, software, or a combination of software and hardware. Based on the same inventive concept, an embedded device according to an embodiment of the present invention will be described with reference to FIG. 7 to perform the aforementioned mode switching method.
- the embedded device 300 includes an embedded processor 3010, a memory 3020, an interface device 3030, a communication device 3040, a display device 3050, an input device 3060, a speaker 3070, a microphone 3080, and the like.
- the embedded device 300 also includes a first interface coupled to the embedded processor 3010, a second interface exposed to the exterior of the embedded device 300 device, and a switching circuit coupled to the embedded processor 3010, not shown in FIG.
- the memory 3020 is configured to store instructions for controlling the processor 3010 to operate to perform the mode switching method according to any one of the preceding claims, comprising: setting a mode flag to an engineering in response to a command to switch to an engineering mode a mode flag; responsive to the mode flag being set to an engineering mode flag, switching the device to an engineering mode and switching the switching circuit to a debug interface connecting the second interface and the embedded processor; And/or, in response to the command to switch to the user mode, setting the mode flag to the user mode flag; in response to the mode flag being set to the user mode flag, switching the device to the user mode and The switch circuit is switched to connect the first interface and the second interface.
- the interface device 3030 includes, for example, a USB interface, a headphone jack, and the like.
- the communication device 3040 can, for example, perform wired or wireless communication.
- the display device 3050 is, for example, a liquid crystal display, a touch display, or the like.
- Input device 3060 can include, for example, a touch screen, a keyboard, and the like. The user can input/output voice information through the speaker 3070 and the microphone 3080.
- the embedded device shown in Figure 7 is merely illustrative and is in no way intended to limit the invention, its application or use. Those skilled in the art will appreciate that although a plurality of devices are illustrated in Figure 7, the present invention may relate only to a portion of the devices therein. Those skilled in the art can design instructions in accordance with the disclosed embodiments of the present invention. The instructions for controlling the operation of the processor are well known in the art and will not be described in detail herein.
- each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions.
- the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or action. Or it can be implemented by a combination of dedicated hardware and computer instructions.
- the computer program product provided by the embodiment of the present invention includes a computer readable storage medium storing the program code, and the program code includes instructions for executing the method described in the foregoing method embodiment.
- the program code includes instructions for executing the method described in the foregoing method embodiment.
- the specific implementation refer to the method embodiment. , will not repeat them here.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some communication interface, device or unit, and may be electrical, mechanical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
- the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
L'invention concerne un procédé de commutation de mode d'un dispositif intégré (100) et le dispositif intégré (100). Le dispositif intégré (100) comprend : une première interface (1) connectée à un processeur intégré ; une seconde interface (2) exposée à l'extérieur du dispositif intégré (100) ; un circuit de commutation (4), la première interface (1) et la seconde interface (2) étant du même type ; un module de réglage de bit indicateur de mode (6) utilisé pour régler le bit indicateur de mode pour qu'il soit un indicateur de mode d'ingénierie / indicateur de mode utilisateur en réponse à une commande de commutation vers un mode d'ingénierie/commutation vers un mode utilisateur ; et un module de commande de commutation de mode (5) utilisé pour commuter le dispositif intégré (100) vers le mode d'ingénierie et commuter le circuit de commutation (4) pour se connecter à la seconde interface (2) et une interface de débogage (3) du processeur intégré en réponse à la mise en place du bit indicateur de mode en tant qu'indicateur de mode d'ingénierie, et commuter le dispositif intégré (100) au mode utilisateur et commuter le circuit de commutation (4) pour se connecter à la première interface (1) et à la seconde interface (2) en réponse à l'établissement du bit indicateur de mode en tant qu'indicateur de mode utilisateur.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710742556.1A CN107656513A (zh) | 2017-08-25 | 2017-08-25 | 嵌入式设备的模式切换方法和嵌入式设备 |
| CN201710742556.1 | 2017-08-25 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019037188A1 true WO2019037188A1 (fr) | 2019-02-28 |
Family
ID=61128704
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/102761 Ceased WO2019037188A1 (fr) | 2017-08-25 | 2017-09-21 | Procédé de commutation de mode d'un dispositif intégré et dispositif intégré |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107656513A (fr) |
| WO (1) | WO2019037188A1 (fr) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12291449B2 (en) | 2020-05-27 | 2025-05-06 | Sinosteel Nanjing Advanced Materials Research Institute Co., Ltd. | Black phosphorus nanosheet, preparation method therefor, and application thereof |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI716767B (zh) | 2018-11-20 | 2021-01-21 | 和碩聯合科技股份有限公司 | 資料更新系統、嵌入式電子裝置以及資料更新方法 |
| CN112131160B (zh) * | 2020-09-27 | 2023-06-23 | 京东科技信息技术有限公司 | 工作模式切换电路、工作模式切换方法和机器人 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1904829A (zh) * | 2005-07-29 | 2007-01-31 | 联想(北京)有限公司 | 实现多个模式控制方式切换的方法和系统 |
| CN1979686A (zh) * | 2005-12-06 | 2007-06-13 | 上海华虹Nec电子有限公司 | 内嵌非易失存储器的系统集成芯片的安全测试方法 |
| CN201611481U (zh) * | 2010-01-06 | 2010-10-20 | 浙江德景电子科技有限公司 | 一种嵌入式设备 |
| CN102708001A (zh) * | 2012-04-26 | 2012-10-03 | 深圳市九思泰达技术有限公司 | Linux嵌入式设备及其用户模式与工程模式切换的方法 |
Family Cites Families (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7849466B2 (en) * | 2005-07-12 | 2010-12-07 | Qualcomm Incorporated | Controlling execution mode of program threads by applying a mask to a control register in a multi-threaded processor |
| US20070214389A1 (en) * | 2006-03-08 | 2007-09-13 | Severson Matthew L | JTAG power collapse debug |
| US8533530B2 (en) * | 2006-11-15 | 2013-09-10 | Qualcomm Incorporated | Method and system for trusted/untrusted digital signal processor debugging operations |
| CN101893685B (zh) * | 2009-05-23 | 2013-12-25 | 深圳富泰宏精密工业有限公司 | 调试装置 |
| CN101577986B (zh) * | 2009-06-02 | 2011-05-25 | 中兴通讯股份有限公司 | 移动通信终端 |
| CN102158575A (zh) * | 2011-02-21 | 2011-08-17 | 深圳桑菲消费通信有限公司 | 一种将移动终端usb接口扩展为耳机接口的方法 |
| CN104244160A (zh) * | 2013-06-21 | 2014-12-24 | 鸿富锦精密工业(深圳)有限公司 | 可通过耳机接口进行调试的电子装置 |
| CN104484592B (zh) * | 2014-12-31 | 2017-12-26 | 广州视源电子科技股份有限公司 | 移动设备工厂模式的启动方法及系统 |
| US9996449B2 (en) * | 2015-03-27 | 2018-06-12 | Intel Corporation | Instruction and logic for a convertible innovation and debug engine |
| CN104991846B (zh) * | 2015-07-01 | 2018-03-02 | 上海斐讯数据通信技术有限公司 | 一种移动终端工作模式的切换系统和方法 |
| CN105141863A (zh) * | 2015-07-06 | 2015-12-09 | Tcl海外电子(惠州)有限公司 | 电视机的生产调试方法及装置 |
| CN105898475A (zh) * | 2015-12-21 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | 提高智能电视与嵌入式多媒体卡兼容性的方法、智能电视 |
| CN106227630B (zh) * | 2016-07-28 | 2020-06-19 | 上海庆科信息技术有限公司 | 一种用于嵌入式无线模块的检测系统 |
| CN106101937B (zh) * | 2016-08-04 | 2019-09-17 | 广州视源电子科技股份有限公司 | 音箱音频播放方法 |
-
2017
- 2017-08-25 CN CN201710742556.1A patent/CN107656513A/zh active Pending
- 2017-09-21 WO PCT/CN2017/102761 patent/WO2019037188A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1904829A (zh) * | 2005-07-29 | 2007-01-31 | 联想(北京)有限公司 | 实现多个模式控制方式切换的方法和系统 |
| CN1979686A (zh) * | 2005-12-06 | 2007-06-13 | 上海华虹Nec电子有限公司 | 内嵌非易失存储器的系统集成芯片的安全测试方法 |
| CN201611481U (zh) * | 2010-01-06 | 2010-10-20 | 浙江德景电子科技有限公司 | 一种嵌入式设备 |
| CN102708001A (zh) * | 2012-04-26 | 2012-10-03 | 深圳市九思泰达技术有限公司 | Linux嵌入式设备及其用户模式与工程模式切换的方法 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12291449B2 (en) | 2020-05-27 | 2025-05-06 | Sinosteel Nanjing Advanced Materials Research Institute Co., Ltd. | Black phosphorus nanosheet, preparation method therefor, and application thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107656513A (zh) | 2018-02-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106462188B (zh) | 附件设备的功率管理合同 | |
| CN104809010B (zh) | 一种刷机方法及智能终端 | |
| US9557791B2 (en) | Computer device and method for converting working mode of universal serial bus connector of the computer device | |
| CN107924288A (zh) | 电子设备及其使用语音识别来执行功能的方法 | |
| CN106959796A (zh) | 移动终端屏幕显示方法及装置 | |
| CN104765466B (zh) | 移动终端的按键控制方法及装置 | |
| CN106126377B (zh) | 系统启动的方法及装置 | |
| KR20150100476A (ko) | 도난 방지를 위한 보안 방법 및 그 전자 장치 | |
| CN103761163A (zh) | 防止数据丢失的方法和装置 | |
| CN103715577B (zh) | 一种USB Hub及其进行蓝牙配对的方法 | |
| WO2019037188A1 (fr) | Procédé de commutation de mode d'un dispositif intégré et dispositif intégré | |
| CN106959754A (zh) | 控制移动终端的方法及移动终端 | |
| CN114205364B (zh) | 数据备份方法和设备 | |
| CN106095065A (zh) | 一种模式切换方法及装置 | |
| CN109976926A (zh) | 一种屏蔽重启保护bmc更新过程的方法、电路、终端及存储介质 | |
| CN106021027A (zh) | 终端数据处理方法和系统 | |
| WO2014067419A1 (fr) | Procédé de commande et dispositif d'entrée de terminal à écran tactile | |
| CN101515236B (zh) | 基本输入输出系统的恢复方法及其更新模组与电脑系统 | |
| US20170277917A1 (en) | Method for operating soft keyboard, terminal and computer readable storage medium | |
| CN101192111A (zh) | 具有屏保控制功能的鼠标 | |
| CN107643900B (zh) | 一种显示器、升级方法 | |
| CN113316057A (zh) | 耳机、降低功耗的方法、装置及电子设备 | |
| CN104954939B (zh) | 一种耳机功率放大器及耳机功率放大器的控制方法 | |
| CN104750265A (zh) | 一体机电脑中键盘调用显示器osd菜单的实现方法 | |
| WO2017000343A1 (fr) | Procédé de déverrouillage par empreintes digitales et terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17922252 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17922252 Country of ref document: EP Kind code of ref document: A1 |