CN101673237A - Network type method for debugging starting procedure - Google Patents
Network type method for debugging starting procedure Download PDFInfo
- Publication number
- CN101673237A CN101673237A CN200910189863A CN200910189863A CN101673237A CN 101673237 A CN101673237 A CN 101673237A CN 200910189863 A CN200910189863 A CN 200910189863A CN 200910189863 A CN200910189863 A CN 200910189863A CN 101673237 A CN101673237 A CN 101673237A
- Authority
- CN
- China
- Prior art keywords
- code
- programming
- debugging
- network
- starting
- 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.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a network type method for debugging a starting procedure, which is easily operated, and can remove the hardware problem caused by artificial welding or inserting/withdrawing achip. 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 afterstarting, 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 becausethe 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 network-type 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 network-type 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 network-type 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, a kind of method of network-type 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 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.
2, the method for a kind of network-type debugging starting procedure according to claim 1 is characterized in that: described step F can be removed intermediate storage unit after finishing debugging.
3, the method for a kind of network-type 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, the method for a kind of network-type 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, the method for a kind of network-type 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, the method for a kind of network-type 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 true CN101673237A (en) | 2010-03-17 |
CN101673237B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455970A (en) * | 2010-10-19 | 2012-05-16 | 中兴通讯股份有限公司 | Multi-peripheral-equipment boot implementation method, equipment and system with reliability detection function |
CN103699467A (en) * | 2013-12-27 | 2014-04-02 | 无锡致新电子科技有限公司 | SOC chip burning and debugging method |
CN105730376A (en) * | 2016-02-17 | 2016-07-06 | 吴伟民 | Debugging method and system for vehicle electronic equipment |
CN107341064A (en) * | 2017-05-16 | 2017-11-10 | 中车大连电力牵引研发中心有限公司 | Anti-misplug system based on vehicle Variable flow control unit sub-circuit board |
CN111128085A (en) * | 2019-07-22 | 2020-05-08 | 深圳市中达优控科技有限公司 | Single-chip color display method and application |
CN115220978A (en) * | 2022-09-19 | 2022-10-21 | 瀚博半导体(上海)有限公司 | Chip starting method and device including online debugging mode, chip and equipment |
-
2009
- 2009-09-02 CN CN2009101898637A patent/CN101673237B/en active Active
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455970A (en) * | 2010-10-19 | 2012-05-16 | 中兴通讯股份有限公司 | Multi-peripheral-equipment boot implementation method, equipment and system with reliability detection function |
CN102455970B (en) * | 2010-10-19 | 2014-10-22 | 中兴通讯股份有限公司 | Multi-peripheral-equipment boot implementation method, equipment and system with reliability detection function |
CN103699467A (en) * | 2013-12-27 | 2014-04-02 | 无锡致新电子科技有限公司 | SOC chip burning and debugging method |
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 |
CN107341064A (en) * | 2017-05-16 | 2017-11-10 | 中车大连电力牵引研发中心有限公司 | Anti-misplug system based on vehicle Variable flow control unit sub-circuit board |
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 |
CN115220978A (en) * | 2022-09-19 | 2022-10-21 | 瀚博半导体(上海)有限公司 | Chip starting method and device including online debugging mode, chip and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN101673237B (en) | 2011-09-28 |
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 | |
CN101583054A (en) | Method for realizing that optical interface supports multiple rate patterns by adopting optical module and device | |
CN100498708C (en) | Firmware download method and device using personal computer | |
CN102520272A (en) | Test system of power down protection function of smart card and method | |
CN101931603A (en) | Method for realizing remote call on hand-held intelligent terminal | |
CN104077204A (en) | Reconfigurable 8-bit RSIC (reduced instruction set computer) SCM (Single Chip Microcomputer) simulator | |
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 | |
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 | |
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 | |
CN203250312U (en) | Extensible common core processing daughter board with interferences | |
CN113360161B (en) | Resource upgrading method and related products | |
CN110413550B (en) | Chip serial port program downloading control circuit | |
CN203849370U (en) | Boundary scan testing apparatus | |
CN106354598A (en) | One-time programmable microcontroller debugging method based on flash memory | |
CN106292544A (en) | Based PC IE interface hardware board and bus control method thereof and system | |
CN203027300U (en) | Telemetering terminal machine with remote upgrading function | |
CN101296448A (en) | Terminal software upgrading method and device | |
CN101694644A (en) | Embedded flash controller | |
CN201897784U (en) | Upgrading controller of electronic device |
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 |