CN1779642A - Method for upgrading logic device programm in product - Google Patents

Method for upgrading logic device programm in product Download PDF

Info

Publication number
CN1779642A
CN1779642A CN 200410097245 CN200410097245A CN1779642A CN 1779642 A CN1779642 A CN 1779642A CN 200410097245 CN200410097245 CN 200410097245 CN 200410097245 A CN200410097245 A CN 200410097245A CN 1779642 A CN1779642 A CN 1779642A
Authority
CN
China
Prior art keywords
logical device
logical
test
master control
control borad
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
Application number
CN 200410097245
Other languages
Chinese (zh)
Other versions
CN1317639C (en
Inventor
李颖悟
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100972457A priority Critical patent/CN1317639C/en
Publication of CN1779642A publication Critical patent/CN1779642A/en
Application granted granted Critical
Publication of CN1317639C publication Critical patent/CN1317639C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A method for loading upgrade program on logical component includes embedding TBC on main control board of product and connecting it to central processing unit, setting ASP on product service board, connecting logical component on service board to ASP and connecting both TBC and ASP to boundary scan system bus, utilizing central processing unit to call logical component upgrade program and to drive TBC for generating boundary scan signal stream, loading upgrade program on logical component to be upgraded by boundary scan system bus and ASP.

Description

The method of logical device program in a kind of upgrading products
Technical field
The present invention relates to the electronic product software upgrading, refer to the method for logical device program in a kind of upgrading products especially.
Background technology
JTAG (Joint Test Action Group, JTAG, often referring to boundary scan technique) development of technology makes it to become the important means of programming in logic, and present logical device generally can be implemented in plate programming (OBP, On-Board Programming) by jtag interface.Be meant after programming device is soldered on the printed circuit board (PCB) in plate programming it is programmed.This programming mode has made things convenient for the modification repeatedly of debug phase, and can not cause any physical damnification or produce all the other Welding Problems device.
In the prior art logical device is realized software upgrade method, mainly contains following two kinds:
Method one: as shown in Figure 1, generally be that the parallel port by computing machine connects a loaded cable to the jtag interface socket of the logical device of circuit board, ROMPaq be loaded in the logical device by this computing machine.
The shortcoming of prior art one is as follows:
1, needs terminal computer and special loaded cable;
2, can't realize the online upgrading of logic;
3, can't realize the remote upgrade of logic.
Method two: as shown in Figure 2, utilize the jtag interface of the CPU steering logic device on the circuit board to realize logical update.
The shortcoming of prior art two is as follows:
If the operation of 1 CPU needs the participation of logic, then can't adopt the method;
2, need special software module, increased the complexity of system software.
Summary of the invention
The invention provides the method for logical device program in a kind of upgrading products, realize the online or remote logic upgrading of logical device in the product.
The inventive method comprises: embed a test bus controller (TBC) on the master control borad of product, be connected with CPU (central processing unit); Addressable scanning port (ASP) is set on the business board of product, and the logical device on the business board is connected to the addressable scanning port, and described test bus controller and addressable scanning port all are connected on the border scanning system bus;
By CPU (central processing unit) calling logic device ROMPaq, drive test bus controller and produce the boundary scan signal flow, pass through border scanning system bus and addressable scanning port, ROMPaq is loaded in the logical device to be upgraded.
According to said method of the present invention, logical device on the business board and other boundary scanning device connect into one or more boundary scan chain, described scan chain is connected with addressable scanning port on the business board, realizes the logical device program upgrade by the boundary scan chain at gating addressable scanning port and logical device place.
Described border scanning system bus is made up of five boundary scan signal wires, is respectively: test pattern is selected incoming line, test clock incoming line, test data incoming line, test data output line and test logic reset line.
Described test bus controller can all turn-off the signal that transmits in the scan signal line of border.
According to said method of the present invention, if master control borad is provided with the backup plate, and master control borad is provided with the logical device that need upgrade, then other boundary scanning device on the logical device on the master control borad and this plate is connected into boundary scan chain, be connected on the border scanning system bus by the addressable scanning port, and make slave board have identical setting; By turn-offing the border scanning system bus on master control borad and one of them plate of slave board, realize the logical device program upgrade on another plate.
According to said method of the present invention, after CPU (central processing unit) receives the logical update instruction that the user sends, calling logic upgrade software module, the logical device ROMPaq is construed to boundary scan data, sends into the border scanning system bus by driving described test bus controller generation boundary scan signal flow.
Described logical update instruction can be by sending or send by the Internet Long-distance Control with the direct-connected control desk of master control borad.
Described logical device ROMPaq can download in the storer of product by the memory address of logical update software module to appointment.
Described logical device ROMPaq can be kept in Compact Flash (CF) card, flash memory or other storage medium of product in advance.
Data file in the described logical device ROMPaq is preserved with serial vector format file layout.
Technical solution of the present invention is brought following beneficial effect:
1, the logical update order can issue at the scene, also can long-rangely issue, and can realize the online upgrading or the remote upgrade of logic in the product so easily, has reduced upgrading and maintenance cost;
2, the present invention can realize the upgrading of all logic chips in the product, and the logical update of master control borad can realize by the mode of masterslave switchover;
3, the present invention only needs the master control borad operate as normal to get final product, and each business board only need power on and can upgrade, and restrictive condition is considerably less.
Description of drawings
Fig. 1 utilizes the parallel port loaded cable for prior art and realizes the logical update synoptic diagram;
Fig. 2 realizes the logical update synoptic diagram for the JTAG signal wire that utilizes the direct steering logic device of CPU on the circuit board in the prior art;
Fig. 3 realizes the frame diagram of logical update for the present invention;
Fig. 4 is a logical update control flow chart in the inventive method.
Embodiment
General electronic product all has master control borad and business board, as shown in Figure 3, a TBC (Test BusController, test controller) is embedded on the master control borad, described TBC for example: the LVT8980 of the SCANSTA101 of NS company, TI company etc.; ASP (Addressable scan port, addressable scanning port) chip is placed on each business board, described ASP for example: the LVT8996 of the SCANSTA111 of NS company, TI company etc.; Logical device on each business board and other JTAG device all connect into one or more of JTAG chains, and are connected with ASP on every block of plate.TBC communicates by letter with each ASP by the JTAG system bus on the backboard.Concrete grammar is: during the TBC transmitting order to lower levels, carry the address of the ASP that needs gating, the ASP on the matching addresses is by gating, and beams back a respond packet, and the address of oneself is returned.The ASP that matching addresses does not go up does not send out respond packet.An ASP can be connected with one or more JTAG chain, and each logical device has definite position in every JTAG chain, and ASP is by selecting different JTAG chain and relevant position, and selected certain logical device realization program loads.
The JTAG system bus is made up of five JTAG signal wires, comprise TMS (Test Mode Selectinput, test pattern selection incoming line), TCK (Test ClocK input, the test clock incoming line), TDI (Test Data Input, the test data incoming line), TDO (Test Data Output, the test data output line) and TRST (Test Logic Reset, test logic reset line).
If master control borad is provided with the backup plate, the CPU in then also embedding a TBC and back up plate on the backup plate is connected.If master control borad is provided with logical device, then on active and standby part, an ASP is set all, logical device and other JTAG device is concatenated into the JTAG chain is connected, and be connected on the JTAG system bus with the ASP of setting, by the mode that active and standby plate is switched mutually, realize the upgrading of logical device on the active and standby plate.Concrete grammar is: make the TBC on the backup plate be broken into high resistant to whole the closing of the signal of core bus side, by corresponding logical device on the TBC gating backup plate on the control of the CPU on the master control borad master control borad, logical device program upgrade on the realization backup plate; Otherwise, TBC on the master control borad is all closed the signal of core bus side be broken into high resistant, by corresponding logical device on the TBC gating master control borad on the CPU control backup plate on the backup plate, realize the logical device program upgrade on the master control borad.
After the logical update instruction that CPU reception user in the master control borad sends, start an administration module, as shown in Figure 4, administration module receives and resolve command, if logical update order, then calling logic upgrading module.The logical update module becomes the JTAG data with the logical update interpretation of programs, by the TBC driver module according to designated parameters in the order, with the JTAG data-driven is the JTAG signal flow, send into the JTAG system bus, the corresponding ASP of gating, control counterlogic device is realized logical update.
The needed data file of upgrade logic can be with SVF (Serial Vector Format, the serial vector format) form of file is preserved, can be by any way, as FTP (File Transfer Protocol, file transfer protocol (FTP)) etc. download in the product, can be kept on CF (Compact Flash Card, the Compact Flash (CF) card) card or FLASH of product.The logical update order can adopt order line form, graphical interfaces form or other command format to issue by the control desk scene that is connected with master control borad, also can be by long-range CPU that is handed down on the master control borad such as Internets, and the enable logic upgrading.
In sum, the inventive method is compared with art methods one, can conveniently realize online upgrading and remote upgrade, has reduced upgrading and maintenance cost; Compare with art methods two, restrictive condition still less needs only master control borad energy operate as normal, and each business board only need power on and can upgrade; Simultaneously, if master control borad has backup, also can realize program upgrade by the mode of masterslave switchover to the logical device on the master control borad.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.

Claims (10)

1, the method for logical device program in a kind of upgrading products comprises the following steps:
On the master control borad of product, embed a test bus controller (TBC), be connected with CPU (central processing unit); Addressable scanning port (ASP) is set on the business board of product, and the logical device on the business board is connected to the addressable scanning port, and described test bus controller and addressable scanning port all are connected on the border scanning system bus;
By CPU (central processing unit) calling logic device ROMPaq, drive test bus controller and produce the boundary scan signal flow, pass through border scanning system bus and addressable scanning port, ROMPaq is loaded in the logical device to be upgraded.
2, the method for logical device program in the upgrading products as claimed in claim 1, it is characterized in that: the logical device on the business board and other boundary scanning device connect into one or more boundary scan chain, described scan chain is connected with addressable scanning port on the business board, realizes the logical device program upgrade by the boundary scan chain at gating addressable scanning port and logical device place.
3, the method for logical device program in the upgrading products as claimed in claim 2, it is characterized in that: described border scanning system bus is made up of five boundary scan signal wires, is respectively: test pattern is selected incoming line, test clock incoming line, test data incoming line, test data output line and test logic reset line.
4, the method for logical device program in the upgrading products as claimed in claim 3, it is characterized in that: described test bus controller can all turn-off the signal that transmits in the scan signal line of border.
5, the method for logical device program in the upgrading products as claimed in claim 4, it is characterized in that: if master control borad is provided with the backup plate, and master control borad is provided with the logical device that need upgrade, then other boundary scanning device on the logical device on the master control borad and this plate is connected into boundary scan chain, be connected on the border scanning system bus by the addressable scanning port, and make slave board have identical setting; By turn-offing the border scanning system bus on master control borad and one of them plate of slave board, realize the logical device program upgrade on another plate.
6, as the method for logical device program in any described upgrading products of claim 1-5, it is characterized in that: after CPU (central processing unit) receives the logical update instruction that the user sends, calling logic upgrade software module, the logical device ROMPaq is construed to boundary scan data, sends into the border scanning system bus by driving described test bus controller generation boundary scan signal flow.
7, the method for logical device program in the upgrading products as claimed in claim 6 is characterized in that: described logical update instruction can be by sending or send by the Internet Long-distance Control with the direct-connected control desk of master control borad.
8, the method for logical device program in the upgrading products as claimed in claim 6 is characterized in that: described logical device ROMPaq can download in the storer of product by the memory address of logical update software module to appointment.
9, the method for logical device program in the upgrading products as claimed in claim 6 is characterized in that: described logical device ROMPaq can be kept in Compact Flash (CF) card, flash memory or other storage medium of product in advance.
10, the method for logical device program in the upgrading products as claimed in claim 6 is characterized in that: the data file in the described logical device ROMPaq is preserved with serial vector format file layout.
CNB2004100972457A 2004-11-18 2004-11-18 Method for upgrading logic device programm in product Expired - Fee Related CN1317639C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100972457A CN1317639C (en) 2004-11-18 2004-11-18 Method for upgrading logic device programm in product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100972457A CN1317639C (en) 2004-11-18 2004-11-18 Method for upgrading logic device programm in product

Publications (2)

Publication Number Publication Date
CN1779642A true CN1779642A (en) 2006-05-31
CN1317639C CN1317639C (en) 2007-05-23

Family

ID=36769980

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100972457A Expired - Fee Related CN1317639C (en) 2004-11-18 2004-11-18 Method for upgrading logic device programm in product

Country Status (1)

Country Link
CN (1) CN1317639C (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3762643B2 (en) * 2001-01-10 2006-04-05 株式会社ケンウッド Mobile terminal device, stored data update method, and firmware update method
KR100443918B1 (en) * 2002-01-25 2004-08-09 삼성전자주식회사 Method for Remote Upgrade of FPGA Program
CN1270324C (en) * 2002-06-14 2006-08-16 华为技术有限公司 FLASH device onboard programming method based on boundary scanning technique
CN100495954C (en) * 2003-01-27 2009-06-03 华为技术有限公司 Method and system for loading or updating logic device

Also Published As

Publication number Publication date
CN1317639C (en) 2007-05-23

Similar Documents

Publication Publication Date Title
CN1089440C (en) Jtag testing of buses using plug-in cards with jtag logic mounted thereon
CN109596974B (en) Multi-layer stacked 3D-SIP chip testing method
CN100498801C (en) Combined on site programmable gate array verification device
CN1949723A (en) Method and system for remote-maintaining JTAG device in ATCA
CN112463243B (en) Online cascade loading firmware system based on boundary scanning and method thereof
CN1698044A (en) On the fly configuration of electronic device with attachable sub-modules
CN101102566B (en) A design method and debugging method for mobile phone JTAG debugging interface signals
CN104407882A (en) Board card device
CN101079328A (en) Parallel programming of flash memory during in-circuit test
JPH063414A (en) Dummy lsi device and debugging device using that device
CN113779913B (en) Verification platform structure and test method for AI multi-chip system
CN1317639C (en) Method for upgrading logic device programm in product
CN1580801A (en) Boundary scanning-measuring method for circuit board
CN100337199C (en) Basic inputting and outputting system and method for upgrading FLASH device
CN1306408C (en) Method capable of smartly implementing EEPROM simulation function in chip
US7747423B1 (en) Systems and methods of co-simulation utilizing multiple PLDs in a boundary scan chain
JP3934434B2 (en) Circuit testing equipment
CN1251070C (en) Method for upgrading solid device of wireless communiation modules in use
CN102264089B (en) A kind of logic device of base station system remote upgrade method and device
CN101127014A (en) Device and method for initiating code chip on-board burning for processor system
CN210166464U (en) Device and system for testing 3D-SIP chip
CN101140315A (en) FPGA logical code downloading method under JTAG downloading mode and downloading system thereof
CN1118753C (en) Microcomputer with development support
CN111175632A (en) Single board testing system based on python
CN1518252A (en) Method and system for loading or updating logic 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
TR01 Transfer of patent right

Effective date of registration: 20170929

Address after: 330000 Jiangxi Province, Nanchang Honggutan Feng and Road No. 450 Building 1 unit 3 Room 301

Patentee after: Li Juan

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070523

Termination date: 20171118

CF01 Termination of patent right due to non-payment of annual fee