CN107343057A - A kind of C6678 Ethernet loading methods of IP address flexibility and changeability - Google Patents
A kind of C6678 Ethernet loading methods of IP address flexibility and changeability Download PDFInfo
- Publication number
- CN107343057A CN107343057A CN201710523260.0A CN201710523260A CN107343057A CN 107343057 A CN107343057 A CN 107343057A CN 201710523260 A CN201710523260 A CN 201710523260A CN 107343057 A CN107343057 A CN 107343057A
- Authority
- CN
- China
- Prior art keywords
- address
- changeability
- ethernet
- arp
- loading
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4416—Network booting; Remote initial program loading [RIPL]
Abstract
The invention provides a kind of C6678 Ethernet loading methods of IP address flexibility and changeability, it is related to technical field of information processing.Methods described includes the MAC Address that host computer extracts the C6678 in the BOOT bags sent by the C6678 by network packet capturing mode, afterwards, simulation generation arp response bags, the C6678 to be placed IP address is included in the arp response bags, and the IP address after setting and the C6678 MAC Address are established into dynamic corresponding relation, finally in a broadcast manner by IP address notify corresponding to C6678, so as to will loading image file the C6678 is sent to by network udp protocol.According to the method, arp ponds are configured using dynamical fashion, each IP has ageing time, and effective arp parsings address can be produced in time after changing board or modification IP, solves in the prior art because the situation that IP address conflict causes loading to fail occurs.
Description
Technical field
The present invention relates to technical field of information processing, and in particular to a kind of C6678 Ethernets of IP address flexibility and changeability add
Support method.
Background technology
The TMS320C6678 (referred to as C6678) of Texas Instruments (Texas Instruments, abbreviation TI) company
It is that domestic embedded high-performance calculating field uses wide multinuclear digital signal processor (DSP) chip after 2014.
The handbook SPRUGY5B of TI companies《KeyStone Architecture Bootloader User Guide》,
Refer to that C6678 there are a variety of load modes in June 2012, JTAG (debugging test interface), Ethernet (ether can be passed through
Net, abbreviation ETH), PCIe (PCI Express buses), SRIO (high-speed serial bus), SPI (Serial Peripheral Interface (SPI)), I2C (two
Wire type universal serial bus) etc. interface load software.TI companies be integrated with C6678 RBL (ROM Boot Loader, it is built-in plus
Carry core), corresponding loading mode can be entered according to the input selection of outside, receive and perform application software code.
Wherein, TI provides two kinds of Ethernet load modes:
1) it is a kind of to be based on UDP host-host protocols
Be specifically shown in multi-Core Development bag MCSDK tools boot_loader examples ethernet.
Process to PC after electric on DSP or reset as shown in figure 1, send BOOTP load request bags, for stating DSP MAC
Address;After PC receives BOOTP, DSPMAC and IP corresponding relation is added in ARP address resolution pond by arp-s instructions;
DSP loading image is sent to DSP by network interface udp protocol.
This mode, there is Railway Project:
A) need manually to have seen whether BOOTP bags on PC;
B) need to call arp-s to instruct with administrator right;
C) arp-s instruction addition be static address, will not aging, when change board or modification IP after, address can be triggered
Conflict, loading is caused to fail.
2) it is another to be based on TFTP (Trivial File Transfer) agreement
Be specifically shown in multi-Core Development bag MCSDK tools boot_loader ibl.
As shown in Fig. 2 PC needs to start TFTP services, the upper electricity of DSP or the backward PC of reset require to transmit a certain finger process
Determine the file of IP address, when it is determined that there is file, then this document is transferred in DSP.
This mode, there is also some problems;
A) DSP IP address be burning in the EEPROM of I2C EBIs, it is that is, fixed, to change IP address
Must be very inconvenient using JTAG emulators again burning EEPROM;
B) as can be seen that this mode is come leading by DSP, host computer can not control DSP specific loading procedure.
The content of the invention
In order to solve the above problems, the invention provides a kind of C6678 Ethernet loading methods of IP address flexibility and changeability,
By PC control DSP loading procedure, make IP address variable at any time, and without JTAG emulators, without administrator right.
The C6678 Ethernet loading methods of IP address flexibility and changeability of the present invention, are mainly included the following steps that:
Step 1: connect the C6678 and host computer;
Step 2: the load mode of the C6678 is arranged to Ethernet loading;
Step 3: to electricity on C6678 or reset;
Step 4: the host computer is extracted in the BOOT bags sent by the C6678 by network packet capturing mode
C6678 MAC Address;
Step 5: simulation generation arp response bags, the arp response bags include the C6678 to be placed IP address,
And the IP address after setting and the C6678 MAC Address are established into dynamic corresponding relation;
Step 6: the arp response bags are sent to C6678 in a broadcast manner;
Step 7: host computer is sent to the C6678 by image file is loaded by network udp protocol.
Preferably, the network packet capturing is realized using WinPcap function libraries.
Preferably, the arp response bags are realized using WinPcap function libraries.
Preferably, four-step 7 of repeat step, until all C6678 in array load completion.
Preferably, using multithreading, according to step step 4-step 7, complete all C6678's in array
Loading.
Advantages of the present invention:
1) loading velocity is fast
Host computer can make full use of the transmission bandwidth of gigabit Ethernet using multithreading, and multiple DSP are loaded simultaneously,
As loaded 12 DSP simultaneously, take and be no more than 3 seconds.
2) IP address sets flexible
Host computer has ageing time using dynamical fashion configuration arp ponds, each IP, change after board or modification IP can and
When produce effective arp parsing address.
3) without JTAG emulators
IP address etc. is changed completely without JTAG emulators, convenient use.
It present invention can be suitably applied in the embedded information processing system using TMS320C6678DSP, such as Aeronautics and Astronautics, ship
The fields such as oceangoing ship, communication, software radio, artificial intelligence.
Brief description of the drawings
Fig. 1 is the flow chart of a preferred embodiment of the C6678 Ethernet loading methods of IP address flexibility and changeability of the present invention.
Fig. 2 is that the C6678 of embodiment illustrated in fig. 1 of the present invention interacts schematic diagram with host computer.
Specific embodiment
To make the purpose, technical scheme and advantage that the present invention is implemented clearer, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is further described in more detail.In the accompanying drawings, identical from beginning to end or class
As label represent same or similar element or the element with same or like function.Described embodiment is the present invention
Part of the embodiment, rather than whole embodiments.The embodiments described below with reference to the accompanying drawings are exemplary, it is intended to uses
It is of the invention in explaining, and be not considered as limiting the invention.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.Under
Embodiments of the invention are described in detail with reference to accompanying drawing for face.
The present invention is that BOOTP waits, arp dynamics are added on the basis of the Ethernet load mode based on udp protocol
The measures such as configuration, are allowed to more stablize and easy to use.
The concrete measure taken is as follows:
1) BOOTP is waited
Former method needs manually to have seen whether BOOTP, now realizes automatic wait by network packet capturing.
2) arp address resolution dynamic configuration
Former method be using administrator right call arp addition static address, be now changed to by analog network arp responses come
Realize the dynamic configuration of arp address resolution.
Fig. 1 is the flow chart of a preferred embodiment of the C6678 Ethernet loading methods of IP address flexibility and changeability of the present invention,
Mainly include the following steps that:
Step 1: connect the C6678 and host computer;
Step 2: the load mode of the C6678 is arranged to Ethernet loading;
Step 3: to electricity on C6678 or reset;
Step 4: the host computer is extracted in the BOOT bags sent by the C6678 by network packet capturing mode
C6678 MAC Address;
Step 5: simulation generation arp response bags, the arp response bags include the C6678 to be placed IP address,
And the IP address after setting and the C6678 MAC Address are established into dynamic corresponding relation;
Step 6: the arp response bags are sent to C6678 in a broadcast manner;
Step 7: host computer is sent to the C6678 by image file is loaded by network udp protocol.
In the present embodiment, step 1 connects host computer and C6678 by netting twine, using the transmission bandwidth of gigabit Ethernet,
The loading of image file is carried out to multinuclear digital signal processor (DSP) chip C6678 (including the DSP arrays being made up of it),
It is time-consuming to be no more than three seconds.What step 3-step 7 gave C6678 and host computer interacts schematic diagram, as shown in Fig. 2 to C6678
After upper electricity or reset, C6678 will position machine sends BOOT bags directly up by network, and afterwards, host computer has monitored whether BOOT
Bag, therefrom extract C6678 MAC Address automatically when discovered.
On the network interface card for receiving BOOT bags, an arp response bag is simulated with software, the arp response bags are contained and set
DSP IP address, so as to establishing MAC Address and IP dynamic corresponding relation in the arp address resolution pond of host computer.Afterwards
The arp response bags are sent to some DSP of Intranet in the form of broadcasting, i.e., tied up IP address and DSP MAC Address
It is fixed.
In the present embodiment, dynamic address has the ageing time of 2 minutes, and can change at any time, and host computer uses dynamic side
Formula configuration arp ponds, each IP have ageing time, and effective arp parsings address can be produced in time after changing board or modification IP,
Efficiently solve in background technology " by arp-s instruct the static address of addition because will not the reason such as aging cause change board
Or trigger address conflict after modification IP, cause loading to fail " the defects of.
It should be noted that it can realize that network packet capturing and arp response bags, the present embodiment are preferably equal using various ways
Realized using WinPcap function libraries.
, can be with repeat step when carrying out image file loading for some C6678 DSP arrays be present in the present embodiment
Four-step 7, until all C6678 in array load completion.Multithreading can also be used, according to step step
Four-step 7, complete the loading of all C6678 in array.
Advantages of the present invention:
1) loading velocity is fast
Host computer can make full use of the transmission bandwidth of gigabit Ethernet using multithreading, and multiple DSP are loaded simultaneously,
As loaded 12 DSP simultaneously, take and be no more than 3 seconds.
2) IP address sets flexible
Host computer has ageing time using dynamical fashion configuration arp ponds, each IP, change after board or modification IP can and
When produce effective arp parsing address.
3) without JTAG emulators
IP address etc. is changed completely without JTAG emulators, convenient use.
It present invention can be suitably applied in the embedded information processing system using TMS320C6678DSP, such as Aeronautics and Astronautics, ship
The fields such as oceangoing ship, communication, software radio, artificial intelligence.
It is last it is to be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations.To the greatest extent
The present invention is described in detail with reference to the foregoing embodiments for pipe, it will be understood by those within the art that:It is still
Technical scheme described in foregoing embodiments can be modified, or which part technical characteristic is equally replaced
Change;And these modifications or replacement, the essence of appropriate technical solution is departed from the essence of various embodiments of the present invention technical scheme
God and scope.
Claims (5)
- A kind of 1. C6678 Ethernet loading methods of IP address flexibility and changeability, it is characterised in that including:Step 1: connect the C6678 and host computer;Step 2: the load mode of the C6678 is arranged to Ethernet loading;Step 3: to electricity on C6678 or reset;Step 4: the host computer extracts the C6678's in the BOOT bags sent by the C6678 by network packet capturing mode MAC Address;Step 5: simulation generation arp response bags, the arp response bags include the C6678 to be placed IP address, and will IP address and the MAC Address of the C6678 after setting establish dynamic corresponding relation;Step 6: the arp response bags are sent to C6678 in a broadcast manner;Step 7: host computer is sent to the C6678 by image file is loaded by network udp protocol.
- 2. the C6678 Ethernet loading methods of IP address flexibility and changeability as claimed in claim 1, it is characterised in that the net Network packet capturing is realized using WinPcap function libraries.
- 3. the C6678 Ethernet loading methods of IP address flexibility and changeability as claimed in claim 1, it is characterised in that the arp Response bag is realized using WinPcap function libraries.
- 4. the C6678 Ethernet loading methods of IP address flexibility and changeability as claimed in claim 1, it is characterised in that repeat to walk Rapid four-step 7, until all C6678 in array load completion.
- 5. the C6678 Ethernet loading methods of IP address flexibility and changeability as claimed in claim 1, it is characterised in that use more Thread mode, according to step step 4-step 7, complete the loading of all C6678 in array.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710523260.0A CN107343057A (en) | 2017-06-30 | 2017-06-30 | A kind of C6678 Ethernet loading methods of IP address flexibility and changeability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710523260.0A CN107343057A (en) | 2017-06-30 | 2017-06-30 | A kind of C6678 Ethernet loading methods of IP address flexibility and changeability |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107343057A true CN107343057A (en) | 2017-11-10 |
Family
ID=60218289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710523260.0A Pending CN107343057A (en) | 2017-06-30 | 2017-06-30 | A kind of C6678 Ethernet loading methods of IP address flexibility and changeability |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107343057A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113110099A (en) * | 2021-03-04 | 2021-07-13 | 清华大学 | Multi-mode integrated hybrid real-time simulation platform |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778034A (en) * | 2009-01-09 | 2010-07-14 | 大唐移动通信设备有限公司 | Loading method and loading control device for a plurality of digital signal processors |
CN102890635A (en) * | 2011-07-20 | 2013-01-23 | 中兴通讯股份有限公司 | Method and device for loading digital signal processor |
CN104461660A (en) * | 2014-12-30 | 2015-03-25 | 西安电子科技大学 | Multi-mode dynamic loading method of heterogeneous system |
US20160364570A1 (en) * | 2015-06-10 | 2016-12-15 | The Boeing Company | Automatic measuring boot process using an automatic measuring processor coupled to a memory |
CN106559506A (en) * | 2015-09-28 | 2017-04-05 | 中兴通讯股份有限公司 | ARP entry generation method and device |
-
2017
- 2017-06-30 CN CN201710523260.0A patent/CN107343057A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778034A (en) * | 2009-01-09 | 2010-07-14 | 大唐移动通信设备有限公司 | Loading method and loading control device for a plurality of digital signal processors |
CN102890635A (en) * | 2011-07-20 | 2013-01-23 | 中兴通讯股份有限公司 | Method and device for loading digital signal processor |
CN104461660A (en) * | 2014-12-30 | 2015-03-25 | 西安电子科技大学 | Multi-mode dynamic loading method of heterogeneous system |
US20160364570A1 (en) * | 2015-06-10 | 2016-12-15 | The Boeing Company | Automatic measuring boot process using an automatic measuring processor coupled to a memory |
CN106559506A (en) * | 2015-09-28 | 2017-04-05 | 中兴通讯股份有限公司 | ARP entry generation method and device |
Non-Patent Citations (2)
Title |
---|
严莉莉: ""基于以太网接口的DSP阵列通信系统设计"", 《信息化研究》 * |
张乐山,关榆君: ""基于 TMS320C6678 的多核DSP加载模式研究"", 《电子设计工程》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113110099A (en) * | 2021-03-04 | 2021-07-13 | 清华大学 | Multi-mode integrated hybrid real-time simulation platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Andersen et al. | System design for a synergistic, low power mote/BLE embedded platform | |
CN103116520B (en) | Method based on the remote procedure call of TCP/ UDP | |
US9838462B2 (en) | Method, apparatus, and system for data transmission | |
CN111200837B (en) | Wi-Fi software testing system and method | |
Alachiotis et al. | A versatile UDP/IP based PC↔ FPGA communication platform | |
WO2018201778A1 (en) | Method and device for deploying cloud application system | |
WO2015084140A1 (en) | A system and method for emulating multiple independent wireless client devices in the cloud | |
CN105991679B (en) | A kind of implementation method and device of network sharing | |
CN103516851A (en) | Cloud testing platform system for wireless products | |
CN107343057A (en) | A kind of C6678 Ethernet loading methods of IP address flexibility and changeability | |
US20060259539A1 (en) | Cumputer system comprising a communication device | |
CN101778015A (en) | Micro-code test method and device | |
CN110876155A (en) | Simulation system and method for wireless mesh network | |
CN101969442B (en) | Process running environment perception and migration based network analog framework implementation method | |
CN105577654A (en) | Linux dynamic firewall management method | |
CN112367362A (en) | Data processing method, device and equipment and computer storage medium | |
Schappacher et al. | A flexible, modular, open-source implementation of 6LoWPAN | |
CN106507407B (en) | The cross-platform test macro of low-power consumption bluetooth and method based on windows system | |
CN110098989A (en) | A kind of multichannel CAN analogue system and test method based on CANFD bus | |
CN108279909A (en) | A kind of method and system of the double subregion FW of 8 road server medium-long range update | |
CN111294250B (en) | Pressure testing method, device and system | |
CN109992482A (en) | Observe the destructed method, apparatus of middleware, computer equipment and storage medium | |
Lieber et al. | FPGA communication framework | |
CN111740869A (en) | Physical network card-based kubernets network implementation method, system, equipment and medium | |
CN105703953B (en) | A kind of determining method and system of OTT service resources consumption |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171110 |
|
RJ01 | Rejection of invention patent application after publication |