CN101673237B - Network type method for debugging starting procedure - Google Patents
Network type method for debugging starting procedure Download PDFInfo
- Publication number
- CN101673237B CN101673237B CN2009101898637A CN200910189863A CN101673237B CN 101673237 B CN101673237 B CN 101673237B CN 2009101898637 A CN2009101898637 A CN 2009101898637A CN 200910189863 A CN200910189863 A CN 200910189863A CN 101673237 B CN101673237 B CN 101673237B
- Authority
- CN
- China
- Prior art keywords
- code
- starting
- programming
- debugging
- storage unit
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention discloses a method for using network debugging starting procedure, which is easily operated, and can remove the hardware problem caused by artificial welding or inserting/withdrawing a chip. The technical scheme is that the method specifically comprises the steps of: adding a middle memory unit on a circuit board; solidifying a low level starting code into the middle memory unit; electrifying the circuit board, initially configuring the low level starting code solidified in the middle memory unit, downloading the multifunctional starting code to be debugged into an internal memory with a network interface and a match transmission protocol, and programming into a special memory unit; starting from the special memory unit; if the predicted function is correctly realized after starting, completing the debugging; otherwise, re-modifying the starting procedure, compiling and repeating the steps; and completing the debugging. The method can prevent from not programming because the chip types are not matched and IP core is not supported, can prevent from the hardware problem caused by frequently inserting and withdrawing for a long time, and has simple operation, low equipment cost and convenient maintenance.
Description
Technical field
The present invention relates to programming and adjustment method, especially a kind of method of utilizing the network download start-up routine to debug based on the embedded system start-up routine.
Background technology
Continue along with industry-by-industry is informationalized deeply in recent years, embedded system, be widely used in a plurality of fields such as network service, consumer electronics, manufacturing, Industry Control, safety-protection system because of its customizability.
In order to adapt to the growing functional density of software, the hardware flexible net connects, and little power consumption, low cost, and intense market competition all require us must, produce the product of meeting the need of market timely, seize market.And the foundation stone of new-product development is will have one efficiently, is easy to the start-up routine boot that revises, safeguards, debugs.
But owing to used integrated level higher, frequency is faster, the SOC that external unit, stockpile device number roll up, and hardware such as DSP, the writing of boot, programming and debugging are just complicated more.The method that present prior art is carried out programming boot mainly contains following 2 kinds:
1. use emulator
Advantage: can come programming boot by JTAG20 or 14, simple and convenient.
Shortcoming: the cost height, and IP kernel, the flash model supported are restricted, for unsupported model, need oneself to write the programming algorithm.
2. use fever writes
In chip, the programming program time, must be placed on chip in the socket of fever writes.
Advantage: cost is low, and is simple to operate.
Shortcoming: frequently plug or welding chip flash again cause the damage of hardware, artificial increase unreliability easily.
In order to provide a kind of operation not only simple, simultaneously but also can eliminate the adjustment method of the hardware problem that artificial welding or plug chip flash cause, prior art does not well solve, and gives this area staff the profit of making troubles.
Summary of the invention
The objective of the invention is in order to provide a kind of operation not only simple, simultaneously but also can eliminate the adjustment method of the hardware problem that artificial welding or plug chip flash cause, designed a kind of method of utilizing the network debugging starting procedure, set up intermediate storage unit, to debug the multifunctional starting code of usefulness to mailbox memory by the rudimentary startup-program code programming that is solidificated in the intermediate storage unit, simple to operate, and solved owing to frequently plug or welding chip flash again, cause the technical matters of hardware damage easily.
The present invention for realizing the technical scheme that goal of the invention adopts is, a kind of method of utilizing the network debugging starting procedure, above method is by computing machine and software kit program mailbox memory to be arrived in the startup-program code programming, and then realize debug process to start-up routine, above-mentioned method concrete steps are:
A, on circuit board, set up intermediate storage unit;
B, rudimentary start-up code is cured in the intermediate storage unit;
C, circuit board power on, and carry out after the initial configuration by network interface and supporting host-host protocol solidifying rudimentary start-up code in the intermediate storage unit, and the multifunctional starting code that download will be debugged is to internal memory, and programming is in mailbox memory;
D, start from mailbox memory;
Desired function correctly realizes if E starts the back, then carries out step F; Otherwise revise start-up routine, compiling again, repeat step B, C, D again;
F, finish debugging.
The invention has the beneficial effects as follows: download to internal memory by the multifunction opening dynamic program that will debug by network interface and supporting host-host protocol from home server, simple to operate, again from the internal memory programming to mailbox memory, can avoid long-term frequent plug and the hardware problem that causes; Avoid the flash model not match and IP kernel is not supported and caused carrying out programming; Equipment cost is cheap, and is easy to maintenance.
The present invention is described in detail below in conjunction with accompanying drawing.
Description of drawings
Fig. 1 is method implementing procedure figure of the present invention.
Embodiment
A kind of method of utilizing the network debugging starting procedure, above method are by computing machine and software kit program mailbox memory to be arrived in the startup-program code programming, and then realize the debug process to start-up routine, and above-mentioned method concrete steps are:
A, on circuit board, set up intermediate storage unit;
B, rudimentary start-up code is cured in the intermediate storage unit;
C, circuit board power on, and carry out after the initial configuration by network interface and supporting host-host protocol solidifying rudimentary start-up code in the intermediate storage unit, and the multifunctional starting code that download will be debugged is to internal memory, and programming is in mailbox memory;
D, start from mailbox memory;
Desired function correctly realizes if E starts the back, then carries out step F; Otherwise revise start-up routine, compiling again, repeat step B, C, D again;
F, finish debugging.
Above-mentioned step F can be removed intermediate storage unit after finishing debugging.
Among the above-mentioned step C, in mailbox memory, be the programming algorithm that operates in the internal memory by calling with the programming of multifunctional starting code.
Among the above-mentioned step B, rudimentary start-up code is the basic start-up code that comprises the programming environmental parameter.
Among the above-mentioned step D, before starting mailbox memory, at first select mechanism by the sheet that is configured on the circuit board.
Circuit board is provided with CPU (central processing unit), and CPU (central processing unit) sends the sheet choosing and controls signal to the gating that intermediate storage unit output terminal or mailbox memory input end carry out different storage unit.
At computing machine (server) end supporting communication host-host protocol is installed.
The present invention at first is cured to intermediate storage unit with rudimentary start-up code when concrete the use, when needing debugging multifunctional starting code, power on to circuit board; Code in intermediate storage unit elder generation initialization clock, related register, internal memory, download start-up routine and programming to mailbox memory by network interface and supporting communications protocol; Outage, select the sheet choosing to start from mailbox memory, if starting the desired function in back correctly realizes, then finish debug process, if program error, the then mistake in the search program, after the recompility, select the sheet choosing to start, repeat above-mentioned steps, till multifunction opening dynamic program boot is no problem from middle storage unit.Wherein, after program is correct, finishes debugging, intermediate storage unit can be removed, be used for other circuit board and use, save cost.
Claims (6)
1. method of utilizing the network debugging starting procedure, above method is by computing machine and software kit program mailbox memory to be arrived in the startup-program code programming, and then realize debug process to start-up routine, it is characterized in that: described method concrete steps are:
A, on circuit board, set up intermediate storage unit;
B, rudimentary start-up code is cured in the intermediate storage unit;
C, circuit board power on, and the rudimentary start-up code of solidifying in the intermediate storage unit is carried out after the initial configuration by network interface and supporting host-host protocol, and the multifunctional starting code that download will be debugged is to internal memory, and programming is in mailbox memory;
D, start from mailbox memory;
Desired function correctly realizes if E starts the back, then carries out step F; Otherwise revise start-up routine, compiling again, repeat step B, C, D again;
F, finish debugging.
2. a kind of method of utilizing the network debugging starting procedure according to claim 1 is characterized in that: described step F is removed intermediate storage unit after finishing debugging.
3. a kind of method of utilizing the network debugging starting procedure according to claim 1 is characterized in that: among the described step C, be the programming algorithm that operates in the internal memory by calling with the programming of multifunctional starting code in mailbox memory.
4. a kind of method of utilizing the network debugging starting procedure according to claim 1 is characterized in that: among the described step B, rudimentary start-up code is the basic start-up code that comprises the programming environmental parameter.
5. a kind of method of utilizing the network debugging starting procedure according to claim 1 is characterized in that: among the described step D, at first select mechanism by the sheet that is configured on the circuit board before starting mailbox memory.
6. a kind of method of utilizing the network debugging starting procedure according to claim 1, it is characterized in that: circuit board is provided with CPU (central processing unit), and CPU (central processing unit) sends the sheet choosing and controls signal to the gating that intermediate storage unit output terminal or mailbox memory input end carry out different storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101898637A CN101673237B (en) | 2009-09-02 | 2009-09-02 | Network type method for debugging starting procedure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101898637A CN101673237B (en) | 2009-09-02 | 2009-09-02 | Network type method for debugging starting procedure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101673237A CN101673237A (en) | 2010-03-17 |
CN101673237B true CN101673237B (en) | 2011-09-28 |
Family
ID=42020469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101898637A Active CN101673237B (en) | 2009-09-02 | 2009-09-02 | Network type method for debugging starting procedure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101673237B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455970B (en) * | 2010-10-19 | 2014-10-22 | 中兴通讯股份有限公司 | Multi-peripheral-equipment boot implementation method, equipment and system with reliability detection function |
CN103699467B (en) * | 2013-12-27 | 2015-05-27 | 常州新超电子科技有限公司 | SOC chip burning and debugging method |
CN105730376A (en) * | 2016-02-17 | 2016-07-06 | 吴伟民 | Debugging method and system for vehicle electronic equipment |
CN107341064B (en) * | 2017-05-16 | 2021-02-23 | 中车大连电力牵引研发中心有限公司 | Anti-misplug system based on sub circuit board of vehicle variable flow control unit |
CN111128085A (en) * | 2019-07-22 | 2020-05-08 | 深圳市中达优控科技有限公司 | Single-chip color display method and application |
CN115220978B (en) * | 2022-09-19 | 2023-02-03 | 瀚博半导体(上海)有限公司 | Chip starting method and device including online debugging mode, chip and equipment |
-
2009
- 2009-09-02 CN CN2009101898637A patent/CN101673237B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101673237A (en) | 2010-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101673237B (en) | Network type method for debugging starting procedure | |
CN101907997A (en) | Method for generally starting embedded equipment | |
CN100511148C (en) | CPU system starting method and system | |
CN104077204B (en) | Reconfigurable 8 RSIC singlechip emulators | |
CN100498708C (en) | Firmware download method and device using personal computer | |
CN102520272A (en) | Test system of power down protection function of smart card and method | |
CN101008898A (en) | Update and repair method of intellectualized equipment and system thereof | |
CN101931603A (en) | Method for realizing remote call on hand-held intelligent terminal | |
CN109189434A (en) | A kind of online upgrading method of electric energy meter | |
CN101826025A (en) | Device for upgrading firmware of field programmable logic device and method thereof | |
CN102520961A (en) | Off-chip online programmable SOC (system on a chip) and control method for same | |
CN102801818A (en) | Universal sensor interface acquisition system based on ZigBee technology | |
CN103761129A (en) | Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer | |
CN104317685A (en) | Starting method of calculator system | |
CN112306937B (en) | Setting selection circuit, method, device and medium for mainboard device in server | |
CN109766113B (en) | Firmware updating method and device of solid state hard disk controller | |
CN101753672B (en) | System and method for rapidly repairing wireless terminal | |
CN102880479B (en) | A kind of method of remotely modifying BIOS property parameters and device | |
CN203849370U (en) | Boundary scan testing apparatus | |
CN106292544A (en) | Based PC IE interface hardware board and bus control method thereof and system | |
CN110413550B (en) | Chip serial port program downloading control circuit | |
CN203027300U (en) | Telemetering terminal machine with remote upgrading function | |
CN101694644A (en) | Embedded flash controller | |
CN101296448A (en) | Terminal software upgrading method and device | |
CN106445574A (en) | Method for realizing on-line programming of DSP (Digital Signal Processor) system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |