CN210629552U - Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer - Google Patents

Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer Download PDF

Info

Publication number
CN210629552U
CN210629552U CN201921978958.2U CN201921978958U CN210629552U CN 210629552 U CN210629552 U CN 210629552U CN 201921978958 U CN201921978958 U CN 201921978958U CN 210629552 U CN210629552 U CN 210629552U
Authority
CN
China
Prior art keywords
mac address
chip microcomputer
single chip
network card
circuit
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
CN201921978958.2U
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.)
Chengdu Xima Technology Development Co ltd
Original Assignee
Chengdu Xima Technology Development 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 Chengdu Xima Technology Development Co ltd filed Critical Chengdu Xima Technology Development Co ltd
Priority to CN201921978958.2U priority Critical patent/CN210629552U/en
Application granted granted Critical
Publication of CN210629552U publication Critical patent/CN210629552U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The utility model discloses a circuit for automatically configuring network card MAC address by utilizing a singlechip, which comprises an MAC address storage chip, an electronic switch, a network main control chip and a singlechip; the single chip microcomputer is connected with the MAC address storage through the electronic switch and writes a required MAC address into the MAC address storage, the single chip microcomputer controls the electronic switch to enable the MAC address storage chip to be communicated with the network main control chip and controls the network main control chip to start and operate, and the network card works according to the set MAC address. The utility model discloses can conveniently realize the modification of network card MAC address, simple structure simultaneously, convenient implementation.

Description

Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer
Technical Field
The utility model relates to a circuit field especially relates to an utilize circuit of singlechip automatic configuration network card MAC address.
Background
The Ethernet is the most widely applied network in the world, each Ethernet card has a unique MAC address, the MAC address of the Ethernet card is generally configured by a manufacturer, a user generally uses a special program provided by the manufacturer to set in a DOS state, taking a series of network cards of Taiwan Realtek corporation as an example, the manufacturer provides a PG8168.EXE setting program, a computer is started to enter the DOS state and runs the PG8168.EXE program, the program can automatically write the MAC address in a configuration file 8168.CFG under a current folder into the network card and automatically increase the MAC address in the configuration file by 1, the next network card is prepared to be set, if the specified MAC address needs to be set to the network card, the content of the 8168.CFG needs to be manually edited before the PG8168.EXE program is run, the MAC address of the Ethernet card is changed by the program provided by the manufacturer, the computer needs to be started to enter a DOS system, and then the setting program is run, for some application scenarios that require automatic modification of the MAC address, this cannot be achieved.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide an utilize singlechip automatic configuration network card MAC address's circuit to the weak point of background art and current design, the utility model discloses can conveniently realize the modification of network card MAC address, simple structure conveniently implements simultaneously.
A circuit for automatically configuring a network card MAC address by utilizing a singlechip comprises an MAC address memory, an electronic switch, a network main control chip and the singlechip; the single chip microcomputer is connected with the memory through the electronic switch and writes a required MAC address into the MAC address memory, the single chip microcomputer controls the electronic switch to enable the MAC address storage chip to be communicated with the network main control chip and simultaneously controls the network main control chip to start and operate, and the network card works according to the set MAC address.
Further, the memory is an EEPROM or FLASH memory and is used for storing the MAC address.
Further, the electronic switch is a 4-pole double-throw electronic switch.
Further, the electronic switch is connected with the memory or the network card by selecting different switching directions.
Further, the starting operation of the network main control chip is controlled by a single chip microcomputer.
Furthermore, the single chip microcomputer is a 4-bit, 8-bit, 16-bit or 32-bit single chip microcomputer, or is equivalently replaced by an ASIC (application specific integrated circuit), an FPGA (field programmable gate array) and a CPLD (complex programmable logic device).
The utility model has the advantages that:
the utility model discloses can realize the automatic configuration of ethernet card MAC address, every ethernet card all has unique MAC address, and the MAC address can change after changing the network card, often needs manual resetting with the IP address that ethernet card MAC address is relevant so, and some software of having bound the MAC address also need manual reconfiguration or installation. Having the utility model discloses a circuit and method can be set up the MAC address of network card as required by the singlechip to the realization need not manual configuration, improves work efficiency.
Drawings
Fig. 1 is a schematic circuit diagram for automatically configuring a network card MAC address by using a single chip microcomputer.
Detailed Description
In order to clearly understand the technical features, objects, and effects of the present invention, embodiments of the present invention will be described with reference to the accompanying drawings.
In this embodiment, as shown in fig. 1, a method for configuring an ethernet card MAC address by using a single chip microcomputer is to add a four-pole double-throw electronic switch on a serial communication line of a network main control chip for reading an MAC address storage chip, a center contact of the four-pole double-throw electronic switch is connected to the MAC address storage chip, an a group contact of the four-pole double-throw electronic switch is connected to the network main control chip, a B group contact of the four-pole double-throw electronic switch is connected to the single chip microcomputer, and the single chip microcomputer is used to control the start of the network main control chip and control the switching direction of the four-pole double-throw electronic switch; when the power is on, the single chip microcomputer, the four-pole double-throw electronic switch and the MAC address storage chip are firstly powered on to operate (the single chip microcomputer enables the network main control chip not to be started), the single chip microcomputer controls the four-pole double-throw electronic switch to be communicated with a pin of the single chip microcomputer and the MAC address storage chip, the single chip microcomputer can write required MAC address information into the MAC address storage chip, then the single chip microcomputer controls the four-pole double-throw electronic switch to be switched and communicated with the network main control chip and the MAC address storage chip, then the single chip microcomputer controls the network main control chip to be started to operate, and the Ethernet card works according to.
The single chip microcomputer can be various 4-bit, 8-bit, 16-bit and 32-bit single chip microcomputers, and can also realize the same function by using logic circuits such as ASIC (application specific integrated circuit), FPGA (field programmable gate array), CPLD (complex programmable logic device) and the like.
The four-pole double-throw electronic switch can be a single-chip four-pole double-throw electronic switch, such as: PI3V312, PI5V330, CH440, etc., may also be obtained by other electronic switch combinations: for example, the combination of two triple-pole double-throw electronic switches 74HC4053 or the combination of two four-pole single-throw electronic switches 74HC4066 may be completed by other combinations, as long as the input and output include a 4-pole double-throw function.
A method for configuring the MAC address of an Ethernet card by utilizing a singlechip comprises the following steps:
s1, electrifying, enabling the network card master control chip not to be started by the singlechip, controlling the switch of the terminal B by the singlechip S1, and connecting the MAC address storage chip U2 to the pins of the singlechip;
s2, the single chip microcomputer writes required MAC address data into the U2;
s3, the singlechip controls S1 to switch to the a end, and the MAC address storage chip U2 is connected to the network master control chip U1;
and S4, the single chip microcomputer controls the network main control chip U1 to start operation, and the network card works according to the set MAC address.
The basic principles and the main features of the invention and the advantages of the invention have been shown and described above. It will be understood by those skilled in the art that the present invention is not limited to the above embodiments, and that the foregoing embodiments and descriptions are provided only to illustrate the principles of the present invention without departing from the spirit and scope of the present invention. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (6)

1. A circuit for automatically configuring the MAC address of a network card by utilizing a singlechip comprises a network main control chip, and is characterized by also comprising an MAC address memory, an electronic switch and the singlechip; the single chip microcomputer is connected with the memory through the electronic switch and writes a required MAC address into the memory, the single chip microcomputer controls the electronic switch to enable the MAC address storage chip to be communicated with the network main control chip and simultaneously controls the network main control chip to start and operate, and the network card works according to the set MAC address.
2. The circuit for automatically configuring the MAC address of the network card by using the single chip microcomputer according to claim 1, wherein the memory is an EEPROM or a FLASH memory for storing the MAC address.
3. The circuit for automatically configuring the MAC address of the network card by using the single chip microcomputer according to claim 1, wherein the electronic switch is a 4-pole double-throw electronic switch.
4. The circuit for automatically configuring the MAC address of the network card by using the single chip microcomputer according to claim 1, wherein the electronic switch enables the MAC storage chip to be connected to the single chip microcomputer or the network main control chip by selecting different switching directions.
5. The circuit for automatically configuring the MAC address of the network card by using the single chip microcomputer according to claim 1, wherein the start operation of the network main control chip is controlled by the single chip microcomputer.
6. The circuit for automatically configuring the MAC address of the network card by using the single chip microcomputer according to claim 1, wherein the single chip microcomputer is a 4-bit, 8-bit, 16-bit, 32-bit single chip microcomputer, or is equivalently replaced by an ASIC, FPGA, CPLD logic circuit.
CN201921978958.2U 2019-11-15 2019-11-15 Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer Active CN210629552U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921978958.2U CN210629552U (en) 2019-11-15 2019-11-15 Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921978958.2U CN210629552U (en) 2019-11-15 2019-11-15 Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer

Publications (1)

Publication Number Publication Date
CN210629552U true CN210629552U (en) 2020-05-26

Family

ID=70766271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921978958.2U Active CN210629552U (en) 2019-11-15 2019-11-15 Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer

Country Status (1)

Country Link
CN (1) CN210629552U (en)

Similar Documents

Publication Publication Date Title
US6012103A (en) Bus interface system and method
CN102419576B (en) For the control appliance of fluid system
CN110912836A (en) Method, control device, storage medium, and system for forwarding data by forwarding device
CN115114219B (en) PCI-E topology method, device, equipment and storage medium
CN110459260B (en) Automatic test switching device, method and system
CN210629552U (en) Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer
CN111449572A (en) Cleaning robot control method and device, storage medium and cleaning robot
CN110120877B (en) Configuration circuit of exchange chip and configuration method of parameters of exchange chip
CN210573287U (en) Expansion circuit
CN110708403A (en) Circuit and method for automatically configuring MAC address of network card by utilizing single chip microcomputer
CN115718641A (en) Memory simulation method and device, storage medium and electronic device
CN104636283B (en) System and method for USB burnings
CN107577574B (en) Debugging switching circuit and debugging circuit board
CN111061659A (en) Bus switching method and related device
JP2001512258A (en) Circuit device for memory occupation area management and processing of user program in small control unit
CN109783436B (en) System on chip
CN113064833A (en) Single chip microcomputer simulation method, system, device, equipment and storage medium
CN215769714U (en) Program upgrading circuit
CN111078616A (en) Port control method, device, equipment and storage medium of USB hub
CN115422110B (en) Port configuration method of electronic equipment and PCIE Switch chip
CN214623921U (en) Communication device and communication circuit
CN219285718U (en) UART four-way to sixteen-way device
CN216718934U (en) Singlechip starts mode switching circuit and controller
CN213241142U (en) Expansion circuit of serial communication interface
CN113037880B (en) Gateway IP address configuration method and device, gateway and readable storage medium

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant