CN102750243A - Easily-debugged embedded system of complex SD (secure digital) interface - Google Patents
Easily-debugged embedded system of complex SD (secure digital) interface Download PDFInfo
- Publication number
- CN102750243A CN102750243A CN2012102322034A CN201210232203A CN102750243A CN 102750243 A CN102750243 A CN 102750243A CN 2012102322034 A CN2012102322034 A CN 2012102322034A CN 201210232203 A CN201210232203 A CN 201210232203A CN 102750243 A CN102750243 A CN 102750243A
- Authority
- CN
- China
- Prior art keywords
- debugging
- interface
- jtag
- embedded system
- line
- 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
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides an easily-debugged embedded system of a complex SD (secure digital) interface. The easily-debugged embedded system comprises a system main frame and an SD/debugging patch panel, wherein the system main frame comprises a main control chip and an SD interface, the main control chip is internally provided with an SD/debugging inner circuit; one end of the SD interface is connected with the SD/debugging inner circuit; and the SD/debugging patch panel is respectively connected with the other end of the SD interface and a debugging tool and is used for converting the SD interface into a debugging interface. The invention solves the problem that the debugging interface is guided out inconveniently, and a shell needs to be disassembled so that the efficiency is low and the shell is easy to break during disassembly in products of a main frame of a relatively applied embedded system when problem debugging or program updating is carried out through the debugging interface by utilizing a design method of multiplexing signal lines of the SD interface and the debugging interface, so that the great convenience can be provided for a product repair debugging and program updating process, and influences on the use experience of a user and the cost of a whole machine can be avoided.
Description
Technical field
The present invention relates to the embedded system technology field, specifically, the present invention relates to a kind of easy to be debugging embedded system of multiplexing SD interface.
Background technology
In existing embedded system (Embedded System), no matter be the early development of main control chip, the still maintenance of follow-up machine system, the use of debugging acid is all extremely important.Usually all leave debugging interface during the main control chip design, be used for the application development debugging.Machine system confirm can volume production after, actual product can't be drawn debugging interface, because the user need not use, also can not stay corresponding interface in order to avoid influence attractive in appearance on the mould of product.But product volume postpartum if go wrong in the time of need searching reason through debugging acid, often need be opened product casing, the debugging interface bonding wire is drawn debug, and the obviously not only loaded down with trivial details inconvenience of process might destroy the outer casing mold of product simultaneously.
In addition, the debugging interface that before had been mainly used in chip internal test and programmable chip online programming all is to draw separately, not only take printed circuit board (PCB) (PCB) area, and spill process is also pretty troublesome.On complete machine was used, this interface only kept on PCB and draws solder joint usually, and follow-up will drawing must be opened casing, and soldered wires is so very inconvenient.
Summary of the invention
Technical matters to be solved by this invention provides a kind of easy to be debugging embedded system of multiplexing SD interface, can solve the embedded product debugging interface and draw inconvenient problem, is very easy to product and reprocesses debugging and program upgrade.
For solving the problems of the technologies described above, the present invention provides a kind of easy to be debugging embedded system of multiplexing SD interface, comprising:
System host comprises:
Main control chip includes SD/ debugging internal circuit in it;
The SD interface, an end is connected with said SD/ debugging internal circuit;
SD/ debugs card extender, is connected with a debugging acid with the other end of said SD interface respectively, and being used for said SD interface conversion is debugging interface.
Alternatively, said debugging interface is a jtag interface, and then said SD/ debugging card extender, said debugging acid and said SD/ debugging internal circuit are respectively SD/JTAG card extender, JTAG debugging acid and SD/JTAG internal circuit.
Alternatively, said SD interface is connected with said SD/ debugging internal circuit with 6 line connected modes of standard, and said 6 lines comprise the data line of clock line, order wire and 4 bit wides.
Alternatively, said jtag interface is 4 line connected modes of standard, and said 4 lines comprise model selection line, clock line, Data In-Line and DOL Data Output Line.
Alternatively, said system host is insertion-card MP 3 player or card reader.
Alternatively, said main control chip is MCU, DSP or FPGA device.
Compared with prior art, the present invention has the following advantages:
The present invention adopts the multiplexing method for designing of the signal wire of SD interface and debugging interface; The embedded system main computer boxes that has solved related application is when needs carry out problem debugging or program upgrade through debugging interface; Debugging interface is drawn inconvenience; Need take the poor efficiency of shell and the problem of destructible apart, be very easy to product and reprocess debugging and program upgrade process, and user's experience and complete machine cost had no influence fully.
Description of drawings
Above-mentioned and other characteristic, character and advantage of the present invention will become more obvious through the description below in conjunction with accompanying drawing and embodiment, wherein:
Fig. 1 is a modular structure synoptic diagram that has the embedded system of SD interface of the prior art;
Fig. 2-a is easy the to be debugging embedded system of the multiplexing SD interface of one embodiment of the invention connects the JTAG debugging acid through the SD/JTAG card extender a modular structure synoptic diagram;
Fig. 2-b is the modular structure synoptic diagram that easy the to be debugging embedded system of the multiplexing SD interface of one embodiment of the invention connects SD equipment;
Fig. 3 is the PCB wiring diagram of SD/JTAG card extender of easy debugging embedded system of the multiplexing SD interface of one embodiment of the invention.
Embodiment
Below in conjunction with specific embodiment and accompanying drawing the present invention is described further; Set forth more details in the following description so that make much of the present invention; But the present invention obviously can implement with the multiple alternate manner that is different from this description; Those skilled in the art can do similar popularization, deduction according to practical situations under the situation of intension of the present invention, therefore should be with content constraints protection scope of the present invention of this specific embodiment.
The most frequently used debugging interface of embedded system is the jtag interface of standard, below be example just with the jtag interface, specifically set forth.JTAG is alphabetical the writing a Chinese character in simplified form of prefix of English " Joint Test Action Group (joint test behavior tissue) ", and this is organized into and stands on 1985, is PCB and the IC testing standard of being initiated formulation by the main electronics manufacturer of several families.JTAG advises being IEEE1149.1-1990 test access port and boundary-scan architecture standard in nineteen ninety by the IEEE approval.This standard code carry out the needed hardware and software of boundary scan, be mainly used in chip internal test.Most now high-grade device are all supported the JTAG agreement, like MCU, DSP, FPGA device etc.The jtag interface of standard is 4 lines: TMS, TCK, TDI, TDO, is respectively model selection line, clock line, Data In-Line and DOL Data Output Line.
For digital equipments such as common insertion-card MP 3 player, card reader, the SD card that all has standard is used for the SD that inserts is sticked into row storage, read and write access operation.And its inner main control chip all can be useful on the jtag interface of debugging or program upgrade usually.
Fig. 1 is a modular structure synoptic diagram that has the embedded system of SD interface of the prior art.The debugging interface that adopts is that example is specifically set forth with the jtag interface.As shown in Figure 1, the critical piece of this embedded system 100 is exactly a system host 101.These system host 101 inside comprise main control chip 104, jtag interface 102 and SD interface 106.Certain system host 101 inside can also comprise some and main control chip 104 carries out all kinds of other module 1~n that signal transmits.Main control chip 104 can be MCU, DSP or FPGA device etc., includes SD internal circuit 1051 and JTAG internal circuit 1052 in it.Jtag interface 102 1 ends are connected with JTAG internal circuit 1052 with 4 line connected modes of standard, and jtag interface 102 other ends are connected with a JTAG debugging acid 103.SD interface 106 1 ends are connected with SD internal circuit 1051 with 6 line connected modes of standard, and SD interface 106 other ends are connected with SD equipment 107.
In above-mentioned embedded system 100, JTAG debugging acid 103 is through jtag interface 102, is connected to that system host 101 is debugged, programming or ROMPaq.Main control chip 104 carries out read-write operation through 106 pairs of SD equipment of SD interface 107.
But it is following not enough that above-mentioned embedded system 100 also exists: debug system, programming or ROMPaq, all need open the shell of system host 101, and bonding wire is drawn jtag interface 102 in addition, could carry out corresponding operating to it.For example, an insertion-card MP 3 player in application if found the defective on some programs, in the time of need upgrading to program, must be by JTAG debugging acid 103.At first need open host housing, on PCB, find JTAG coherent signal line bonding wire to draw then, very inconvenience.Especially in the time of need upgrading to large-tonnage product, not only efficient is low, and possibly cause damage to outward appearance.
Fig. 2-a is easy the to be debugging embedded system of the multiplexing SD interface of one embodiment of the invention connects the JTAG debugging acid through the SD/JTAG card extender a modular structure synoptic diagram.It should be noted that these and follow-up other accompanying drawing all only as an example, it is not to be to draw according to the condition of equal proportion, and should not limit as the protection domain formation to the actual requirement of the present invention with this.
Shown in Fig. 2-a, this embedded system 200 mainly comprises system host 201 and SD/JTAG card extender 202.Wherein, this system host 201 can be digital equipments such as insertion-card MP 3 player or card reader, mainly comprises main control chip 204 and SD interface 206.Certain system host 201 can also comprise some and main control chip 104 carries out all kinds of other module 1~n that signal transmits.Main control chip 204 can include SD/JTAG internal circuit 205 for MCU, DSP or FPGA device etc. in it.SD interface 206 1 ends are connected with SD/JTAG internal circuit 205 (data line DAT0, DAT1, DAT2 and DAT3 that 6 lines comprise clock line CLK, order wire CMD and 4 bit wides) with 6 line connected modes of standard, and the other end is connected with SD/JTAG card extender 202.SD/JTAG card extender 202 is connected with a JTAG instrument 203, is used for converting SD interface 206 into jtag interface.
The present invention is through revising main control chip 204 indoor designs; Part signal pin multiplexing with JTAG signal and SD; Because the SD interface 206 of standard is 6 lines: CLK, CMD, DAT0, DAT1, DAT2, DAT3, promptly be respectively the data line of clock, order and 4 bit wides.Multiplexing scheme can be shown in Fig. 2-a, 2-b; TDI, TCK, TDO, the TMS line of jtag interface 102 is multiplexing with CMD, DAT0, DAT1, the DAT2 line of SD interface 206 respectively; Therefore the JTAG signal can be directly from 206 outputs of SD interface; Through SD/JTAG card extender 202 as shown in Figure 3, realization is connected with JTAG debugging acid 203.
A concrete application implementation example can be shown in Fig. 2-a, and when JTAG debugging acid 203 was connected to system host 201 through SD/JTAG card extender 202, JTAG debugging acid 203 sent specific sequence and gives main control chip 204.After main control chip 204 detects this particular sequence, automatically operate in the JTAG debugging mode, the SD/JTAG multiplex interface 206 of this moment is used as jtag interface and is used.JTAG debugging acid 203 is through this interface 206, realize to system host 201 debug, program burn writing or program upgrade.
When system host 201 directly connects SD equipment 207, shown in Fig. 2-b.Fig. 2-b is the modular structure synoptic diagram that easy the to be debugging embedded system of the multiplexing SD interface of one embodiment of the invention connects SD equipment.At this moment, main control chip 204 detects less than the particular sequence that gets into the JTAG pattern, so system host 201 can not get into the JTAG debugging mode, this moment, multiplexing SD interface 206 promptly was used as the use of SD interface, and SD equipment 207 is carried out conventional read-write operation.
In sum, easy the to be debugging embedded system of multiplexing SD interface of the present invention is with respect to the main improvement of the embedded system that has the SD interface of prior art:
1) inner at main control chip, some signal multiplexing of design debug interface signal and SD interface goes out pin;
2) on the PCB cabling, the debugging interface signal is drawn by the SD interface;
3) card extender that adopts the modulation of SD interface to try mouthful is realized being connected with the smooth of debugging acid.
Obviously, the debugging interface that embedded system existed before easy the to be debugging embedded system of the multiplexing SD interface after the improvement can perfectly solve is drawn inconvenient problem.
The present invention adopts the multiplexing method for designing of the signal wire of SD interface and debugging interface; The embedded system main computer boxes that has solved related application is when needs carry out problem debugging or program upgrade through debugging interface; Debugging interface is drawn inconvenience; Need take the poor efficiency of shell and the problem of destructible apart, be very easy to product and reprocess debugging and program upgrade process, and user's experience and complete machine cost had no influence fully.
In addition, to adopting other to adopt the embedded system of the debugging interface of non-JTAG mode, also can application class like mode and SD interface duplex, the realization above-mentioned functions.
Though the present invention with preferred embodiment openly as above, it is not to be used for limiting the present invention, and any those skilled in the art are not breaking away from the spirit and scope of the present invention, can make possible change and modification.Therefore, every content that does not break away from technical scheme of the present invention, according to technical spirit of the present invention to any modification, equivalent variations and modification that above embodiment did, within the protection domain that all falls into claim of the present invention and defined.
Claims (6)
1. easy the to be debugging embedded system (200) of a multiplexing SD interface comprises:
System host (201) comprising:
Main control chip (204) includes SD/ debugging internal circuit (205) in it;
SD interface (206), an end is connected with said SD/ debugging internal circuit (205);
SD/ debugs card extender (202), is connected with a debugging acid (203) with the other end of said SD interface (206) respectively, is used for converting said SD interface (206) into debugging interface.
2. the debugging embedded system (200) that is prone to according to claim 1; It is characterized in that; Said debugging interface is a jtag interface, and then said SD/ debugging card extender (202), said debugging acid (203) and said SD/ debugging internal circuit (205) are respectively SD/JTAG card extender, JTAG debugging acid and SD/JTAG internal circuit.
3. the debugging embedded system (200) that is prone to according to claim 1 and 2; It is characterized in that; Said SD interface (206) is connected with said SD/ debugging internal circuit (205) with 6 line connected modes of standard, and said 6 lines comprise the data line of clock line, order wire and 4 bit wides.
4. the debugging embedded system (200) that is prone to according to claim 3 is characterized in that said jtag interface is 4 line connected modes of standard, and said 4 lines comprise model selection line, clock line, Data In-Line and DOL Data Output Line.
5. the debugging embedded system (200) that is prone to according to claim 1 is characterized in that said system host (201) is insertion-card MP 3 player or card reader.
6. according to claim 1 or the 5 described debugging embedded systems (200) that are prone to, it is characterized in that said main control chip (204) is MCU, DSP or FPGA device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210232203.4A CN102750243B (en) | 2012-07-05 | 2012-07-05 | Easily-debugged embedded system of complex SD (secure digital) interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210232203.4A CN102750243B (en) | 2012-07-05 | 2012-07-05 | Easily-debugged embedded system of complex SD (secure digital) interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102750243A true CN102750243A (en) | 2012-10-24 |
CN102750243B CN102750243B (en) | 2015-05-27 |
Family
ID=47030445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210232203.4A Expired - Fee Related CN102750243B (en) | 2012-07-05 | 2012-07-05 | Easily-debugged embedded system of complex SD (secure digital) interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102750243B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103746877A (en) * | 2013-12-31 | 2014-04-23 | 迈普通信技术股份有限公司 | Communication equipment interface device and converter |
CN105095041A (en) * | 2015-09-08 | 2015-11-25 | 福州瑞芯微电子股份有限公司 | Chip debugging method |
CN105224431A (en) * | 2015-09-08 | 2016-01-06 | 福州瑞芯微电子股份有限公司 | The adjustment method of the multiplexing SD interface of a kind of embedded chip |
CN105528270A (en) * | 2015-12-30 | 2016-04-27 | 东风商用车有限公司 | JTAG (Joint test action group) and BDM (brain-based data model) integrated debugging interface and using method thereof |
WO2016078288A1 (en) * | 2014-11-19 | 2016-05-26 | 中兴通讯股份有限公司 | Method, communication interface and debugging system for multiplexing port resource |
CN105701011A (en) * | 2015-12-31 | 2016-06-22 | 上海盈方微电子有限公司 | Debugging method, electronic product applying debugging method and debugging card |
WO2017128181A1 (en) * | 2016-01-28 | 2017-08-03 | 华为技术有限公司 | Single board, electronic apparatus and method for channel selection |
CN108196989A (en) * | 2017-12-13 | 2018-06-22 | 苏州长风航空电子有限公司 | A kind of universal debugging interface based on i.MX6 series processors platforms |
CN113868070A (en) * | 2021-09-23 | 2021-12-31 | 山东云海国创云计算装备产业创新中心有限公司 | Debugging method, system, storage medium and equipment for SD card controller |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1326172A2 (en) * | 2001-12-28 | 2003-07-09 | Texas Instruments Incorporated | Communication Method and Apparatus for Assigning Device Identifier |
CN101021824A (en) * | 2006-09-01 | 2007-08-22 | 炬力集成电路设计有限公司 | HDD and SDRAM data transmitting controller and data transmitting method |
CN101078746A (en) * | 2007-07-11 | 2007-11-28 | 凤凰微电子(中国)有限公司 | Border scanning test structure of multiple chip package internal connection and test method |
CN101566980A (en) * | 2008-04-23 | 2009-10-28 | 凤凰微电子(中国)有限公司 | Method for multiplexing interface of SD card and SD card with expanded function |
CN202217264U (en) * | 2011-07-29 | 2012-05-09 | 青岛海信移动通信技术股份有限公司 | Entire machine debugging system |
-
2012
- 2012-07-05 CN CN201210232203.4A patent/CN102750243B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1326172A2 (en) * | 2001-12-28 | 2003-07-09 | Texas Instruments Incorporated | Communication Method and Apparatus for Assigning Device Identifier |
CN101021824A (en) * | 2006-09-01 | 2007-08-22 | 炬力集成电路设计有限公司 | HDD and SDRAM data transmitting controller and data transmitting method |
CN101078746A (en) * | 2007-07-11 | 2007-11-28 | 凤凰微电子(中国)有限公司 | Border scanning test structure of multiple chip package internal connection and test method |
CN101566980A (en) * | 2008-04-23 | 2009-10-28 | 凤凰微电子(中国)有限公司 | Method for multiplexing interface of SD card and SD card with expanded function |
CN202217264U (en) * | 2011-07-29 | 2012-05-09 | 青岛海信移动通信技术股份有限公司 | Entire machine debugging system |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103746877A (en) * | 2013-12-31 | 2014-04-23 | 迈普通信技术股份有限公司 | Communication equipment interface device and converter |
CN105681067B (en) * | 2014-11-19 | 2020-10-16 | 中兴通讯股份有限公司 | Port resource multiplexing method, communication interface and debugging system |
WO2016078288A1 (en) * | 2014-11-19 | 2016-05-26 | 中兴通讯股份有限公司 | Method, communication interface and debugging system for multiplexing port resource |
CN105681067A (en) * | 2014-11-19 | 2016-06-15 | 中兴通讯股份有限公司 | Port resource reuse method, communication interface and debugging system |
CN105095041A (en) * | 2015-09-08 | 2015-11-25 | 福州瑞芯微电子股份有限公司 | Chip debugging method |
CN105224431A (en) * | 2015-09-08 | 2016-01-06 | 福州瑞芯微电子股份有限公司 | The adjustment method of the multiplexing SD interface of a kind of embedded chip |
CN105095041B (en) * | 2015-09-08 | 2018-07-03 | 福州瑞芯微电子股份有限公司 | The adjustment method of chip |
CN105528270B (en) * | 2015-12-30 | 2018-03-30 | 东风商用车有限公司 | JTAG (Joint test action group) and BDM (brain-based data model) integrated debugging interface and using method thereof |
CN105528270A (en) * | 2015-12-30 | 2016-04-27 | 东风商用车有限公司 | JTAG (Joint test action group) and BDM (brain-based data model) integrated debugging interface and using method thereof |
CN105701011A (en) * | 2015-12-31 | 2016-06-22 | 上海盈方微电子有限公司 | Debugging method, electronic product applying debugging method and debugging card |
WO2017128181A1 (en) * | 2016-01-28 | 2017-08-03 | 华为技术有限公司 | Single board, electronic apparatus and method for channel selection |
CN108431788A (en) * | 2016-01-28 | 2018-08-21 | 华为技术有限公司 | A kind of method of veneer, electronic equipment and gating |
CN108431788B (en) * | 2016-01-28 | 2020-09-25 | 华为技术有限公司 | Single board, electronic equipment and gating method |
CN108196989A (en) * | 2017-12-13 | 2018-06-22 | 苏州长风航空电子有限公司 | A kind of universal debugging interface based on i.MX6 series processors platforms |
CN113868070A (en) * | 2021-09-23 | 2021-12-31 | 山东云海国创云计算装备产业创新中心有限公司 | Debugging method, system, storage medium and equipment for SD card controller |
CN113868070B (en) * | 2021-09-23 | 2023-08-25 | 山东云海国创云计算装备产业创新中心有限公司 | SD card controller debugging method, system, storage medium and device |
Also Published As
Publication number | Publication date |
---|---|
CN102750243B (en) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102750243B (en) | Easily-debugged embedded system of complex SD (secure digital) interface | |
CN103136138B (en) | Chip, chip debugging method and communication method for chip and external devices | |
US8689063B2 (en) | JTAG apparatus and method for implementing JTAG data transmission | |
CN102289419A (en) | Multiplex SOC(system on a chip) integrated circuit for functional interface and debugging interface | |
CN102759676B (en) | Capacitive screen comprehensive testing circuit, testing method and output data switching algorithm of testing method | |
JPH07507412A (en) | Reconfigurable interface between computer and peripherals | |
CN104090855B (en) | The USB mode of USB interface and the compatibility method and device of MHL patterns | |
CN202217264U (en) | Entire machine debugging system | |
CN106776183B (en) | Debugging circuit, debugging device, modulation system and electronic equipment | |
CN104133705B (en) | A kind of serial ports loads the system and method for PowerPC System guides files | |
US7757029B2 (en) | On the fly configuration of electronic device with attachable sub-modules | |
CN201741410U (en) | On-line burning system provided with plurality of EEPROMs | |
CN103761129A (en) | Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer | |
CN208207790U (en) | A kind of intelligent universal single-chip microcontroller cd-rom recorder | |
CN201015041Y (en) | BIOS chip extended device | |
CN200990079Y (en) | BIOS chip expander | |
CN101968762B (en) | NFC-SIM (Near Field Communication-Subscriber Identity Module) card chip simulator | |
CN102486939B (en) | Method and apparatus for testing joint test action group (JTAG) of memories | |
CN107526351A (en) | A kind of universal fault filling method and its device based on JTAG | |
CN107147864A (en) | A kind of LVDS and USB interface adaptive approach | |
CN203849370U (en) | Boundary scan testing apparatus | |
CN206532282U (en) | A kind of debug circuit, debugging apparatus, debugging system and a kind of electronic equipment | |
CN103389438B (en) | A kind of for the welding detection system with cpu pcb and method | |
CN105260755A (en) | Integrated double-frequency card reader device | |
CN101329648B (en) | Contact smart card emulator capable of debugging ATR |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150527 |