TWI287708B - Data reading/writing method for bridge interface - Google Patents

Data reading/writing method for bridge interface Download PDF

Info

Publication number
TWI287708B
TWI287708B TW93133777A TW93133777A TWI287708B TW I287708 B TWI287708 B TW I287708B TW 93133777 A TW93133777 A TW 93133777A TW 93133777 A TW93133777 A TW 93133777A TW I287708 B TWI287708 B TW I287708B
Authority
TW
Taiwan
Prior art keywords
data
channel
host
bus
level
Prior art date
Application number
TW93133777A
Other languages
Chinese (zh)
Other versions
TW200615769A (en
Inventor
Jr-Huang Wang
Sheng-Jung Shie
Original Assignee
Megawin Technology 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 Megawin Technology Co Ltd filed Critical Megawin Technology Co Ltd
Priority to TW93133777A priority Critical patent/TWI287708B/en
Publication of TW200615769A publication Critical patent/TW200615769A/en
Application granted granted Critical
Publication of TWI287708B publication Critical patent/TWI287708B/en

Links

Landscapes

  • Bus Control (AREA)
  • Communication Control (AREA)

Abstract

The present invention is to provide a bridge interface having advantages or the like of high compatibility and the easy conversion of a command flow. In this data reading/writing method for the bridge interface, by properly controlling a signal level and timing between a host and a device, the bridge interface can perform a perfect message handshake, and performs work at any transmission speed to easily convert the flow of the command of an arbitrary bus present in the front end.

Description

1287708, 五、發明說明(1) 【發明所屬之技術領域】 之*ίϊ:係有關一種橋接介面,特別是指-種橋接介面 足貝料讀寫方法。 【先前技術】 在電腦資訊產品發達的今天,經常會使用到各種電子 :二器:如個人電滕、筆記型電、數位相機、印表機及 面:這些電子裝置間之溝通及訊號傳遞則必須依 門題即進"7,因&橋接介面之傳輸速度及相容性等 問蟪即成為介面設計之重要考量。 ^ 對於橋接兩電子裝置之數位傳輸介面而言, 可以直接作為一般目的使用之邏輯 、 為 抬,、s Α νΓ敢扪使用之邏輯位準的輸入/輸出(I/O) 埠,通㊉分為並列埠(Parallel port)及串列埠(以^ 0) port)。以並列埠而言,藉由作業系統如wi 電腦系:規劃給並列埠之位…進行橋接裝置訊= =般而s ’在個人電腦中,並列璋包括三組8位 暫存器,以用來做I/O訊號的讀寫,然而其介面之 = 及傳輸速度仍不盡理相,传得φ嫵你壯 相谷性 度相當慢。 機與裝置間資料之讀寫速 因=,本發明即提出一種橋接介面之資 以有效克服習知缺失。 買焉方法’ 【發明内容】1287708, V. Description of the invention (1) [Technical field to which the invention pertains] * ϊ ϊ: relates to a bridging interface, in particular to a bridging interface method for reading and writing foot and shell materials. [Prior Art] In today's computer information products, various electronic devices are often used: two devices: personal electric, notebook, digital camera, printer and face: communication and signal transmission between these electronic devices It is necessary to follow the question and enter the "7", because of the transmission speed and compatibility of the bridge interface, it becomes an important consideration for the interface design. ^ For the digital transmission interface that bridges two electronic devices, the logic can be directly used as a general purpose, and the input/output (I/O) of the logic level used by the s Α Γ Γ Γ Γ 埠For parallel port (Parallel port) and serial port (for ^ 0) port). In the case of parallel operations, the operating system, such as the wi computer system: planning for the parallel position... for the bridge device = = general s 'in the personal computer, the parallel port includes three groups of 8-bit register for use To do the reading and writing of I / O signals, but the interface = and the transmission speed is still not reasonable, passing φ 妩 your strong phase is quite slow. The read/write speed of data between the machine and the device is =, the present invention proposes a bridging interface to effectively overcome the conventional deficiency. Buying method ‘ 【Contents】

五、發明說明(2) 紅以使此介面具有完整的資料交握(H 俾可在任何的傳輸速度下進行工作。 naKe’ 寫發月之另目的,係在提供一種橋接介面之資料讀 優:係可方便設計成和既存系統相結合,2 = 可輕=2:目的’係在提供一種橋接介面,此介面 私易轉換别端任何匯流排(Bus)的命令流。 -主明,一種橋接介面之資料寫入方法係適用於 該裝且該主機端與 法包括下列步標觸發通道’此方 位準後,將U出2機端確立該啟動裝置通道為高 端福2«,貝枓輸出命令通道之位準拉為低Ub)主機 收主目標觸發通道為低位準,纟示該裝置已準備接 置,=入;ί料;(c).主機端將-資料傳送至該裝 及(c)之間加人-步驟:已= 最終資寫命令通道的位準釋放,…下-筆資料為 括下驟τ種利;橋接介面進行單筆資料讀出之方法包 後,將-資料Ϊ出ίί機端確立該啟動裝置通道為低位準 將一昝次血丨輪出命7通道之位準拉為低;(b )·由誃#里 令通道二1 ί至該匯流排上;(C)·主機端將該資料‘出> …之位準釋放,以放掉一資料讀寫命令之出: 1287708. --一~ ---------—------ 五、發明說明(3) f(d)·由主機端透過該匯流排接收該裝置所放置之該資 料’進而完成一筆資料之讀出週期。 又,一種利用橋接介面進行多筆資料讀出之方法包括 I列步驟:(a)·在主機端確立該啟動裝置通道為低位準 後’將一資料輸出命令通道之位準拉低;(b)·該裝置將一 資料輸入命令通道之位準拉低,以取得一資料讀寫命令之 主控權;(c)·由該裝置將該等資料放至該匯流排上;(d). 主機端將該資料輪出命令通道之位準釋放,以放掉該資料 讀寫命令之主控權;(e)·主機端透過該匯流排接收該裝置 所放置之該資料,完成第一筆資料之讀出週期;以及(f). 根據該等資料之筆數,以步驟⑶)、(c)&(e)作為第一筆 二貝料後之每一筆資料的讀出週期,每讀出一筆資料即重複 步驟(b)、(c)及(e)而形成複數週期,且在最後一週期 中,將步驟(b)改為該裝置將該資料輸入命令通道之位準 釋放’以通知主機端下一筆資料為最終資料, (c)及(e)。 鄉 底下藉由具體實施例配合所附的圖式詳加說明,舍 容易瞭解本發明之目的、技術内容、特點及其所達: 效。 力 【實施方式】 本發明係令一橋接介面於資料讀寫技 置間之訊號位準及時序的適當控制,彳更此二9由$機與裝 握(Handshake),以在任何的傳輪速度昏I面有70整的交 反自可工作,且可輕V. Description of the invention (2) Red to make the interface have complete data handshake (H 俾 can work at any transmission speed. naKe' is another purpose of writing the moon, which is to provide a bridge interface : The system can be easily designed to be combined with the existing system, 2 = light = 2: the purpose is to provide a bridging interface, which is easy to convert any other bus (Bus) command stream. The data writing method of the bridge interface is applicable to the device, and the host end and the method include the following step triggering channel. After the orientation is reached, the U-out terminal 2 establishes the starting device channel as the high-end Fu 2«, the Bellow output. The command channel is pulled to a low Ub) the host receives the target trigger channel as a low level, indicating that the device is ready to be connected, = enter; otherwise; (c). The host transmits the data to the device ( c) Adding between people-steps: already = the level of release of the final write command channel, ... the lower-pen data is the next step τ seed profit; the bridge interface for the single data read method package, the data Ϊ ί ί ί 确立 确立 确立 确立 确立 确立 确立 确立 确立 确立 确立 确立 确立 确立 确立 确立 确立The position of the 7-channel of the 丨 wheel is low; (b)· 誃# 里令 channel 2 1 ί to the bus; (C)·The host side releases the data 'out' To release a data read and write command: 1287708. --1~ ---------------- V. Description of the invention (3) f(d)·passed by the host The bus bar receives the data placed by the device' to complete a readout period of a data. Moreover, a method for performing multiple data reading by using a bridge interface includes an I column step: (a) after the host device establishes that the startup device channel is at a low level, the position of a data output command channel is lowered; (b) The device pulls a data input command channel down to obtain the mastership of a data read/write command; (c) the device puts the data onto the busbar; (d). The host side releases the data from the command channel to release the master control of the data read/write command; (e) the host receives the data placed by the device through the bus, completing the first stroke The readout period of the data; and (f). According to the number of the data, the readout period of each of the data after the first two materials is taken as steps (3)), (c) & (e) Reading a piece of data repeats steps (b), (c), and (e) to form a complex period, and in the last cycle, changing step (b) to the device to input the data into the command channel. To inform the host of the next data as the final information, (c) and (e). The purpose of the present invention, the technical content, the features, and the effect of the present invention are easily explained by the specific embodiments in conjunction with the accompanying drawings. [Embodiment] The present invention is an appropriate control of the signal level and timing of a bridging interface between data reading and writing technology, and the second is performed by any machine and handshake. Speed faint I face has 70 full reciprocal work, and can be light

第7頁 五、發明說明(4) 易轉換前端任何匯流排的命令流。 如第一圖所示,本發明之橋接介面1〇為一主機端12與 一裝置14間之連接介面,其中在硬體上,主機端12與裝置 14間係經由一匯流排(bus)(圖中未示)而連接,使主機端 12利用此橋接介面1〇且透過該匯流排而可寫入/讀出資料 於f裝置14。本發明提出之橋接介面1〇的資料讀寫方法 含讀出及寫入,其中讀出又可分為單筆資料讀出(Singie data read)及多筆資料讀出(Multi—data read),而寫入 亦可刀為單筆-貝料寫入(Single data te)及多筆資料 寫入(Multi-data write),此四種實施態樣之實施方 細敘述如下。 ~斤 如第一圖所不,為本發明之橋接介面的單筆資 方法,其中,以主機端看主機對資料讀寫命令(FT ^ ””輸出命令通道(FTA_0)表示’裝置對FTA之= 以,料輸人命令通道FTA」表示;刪-以及通[信號分動 別疋啟動^置山“⑻…與目標裝置⑺⑷ 用:說明裝置已經備妥,可以進行資料傳送;另外動 m 及貝料(0&1&)通常為為一雙向(61(1^^^〇11)且三 - (Tri-sta^e)之訊號,且並聯一個拉高(pun Η ϋ 此橋接介面的單筆資料寫入方法包括下列步驟v 係以主機端而言來描述,如圖,其時序為&至h : 、Page 7 V. Description of the invention (4) Easy to convert the command stream of any bus at the front end. As shown in the first figure, the bridge interface 1 of the present invention is a connection interface between the host terminal 12 and a device 14, wherein on the hardware, the host terminal 12 and the device 14 are connected via a bus ( Connected to the device 14 so that the host 12 can use the bridge interface 1 to transmit/read data to the f device 14. The data reading and writing method of the bridge interface 1〇 proposed by the invention includes reading and writing, wherein the reading can be further divided into single data reading (Singie data read) and multiple data reading (Multi-data read). The writing can also be a single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-single-speech ~ jin as shown in the first figure, is a single-funded method of the bridge interface of the present invention, wherein the host reads the data read and write command (FT ^ "" command command channel (FTA_0) on the host side to indicate 'device to FTA' = ", the input command channel FTA" is indicated; delete - and pass [signal transfer, start ^ set mountain" (8) ... and target device (7) (4) use: the device is ready for data transfer; The shell material (0&1&) is usually a bidirectional (61 (1^^^〇11) and three- (Tri-sta^e) signal, and a parallel pull-up (pun Η ϋ this bridge interface single The pen data writing method includes the following steps: v is described by the host side, as shown in the figure, the timing is & to h: ,

u).在該主機端確立該啟動裝置通道IRDY =:)後…’,將資料輸出命令通一4拉為 1287708u). After the host device establishes the startup device channel IRDY =:)..., the data output command is pulled through a 4 to 1287708

五、發明說明(5) (b ) ·主機端偵測 表示該裝置已準 (c) ·主機端將資 下一筆資料為最 (d) ·將資料放於 (e) ·主機端偵測 IRDY—拉為低位 (f) ·主機端偵測 表示該裝置己將 (g) ·釋放資料匯 (h) .將啟動裝置 該裝置該資料匯 時,因資料讀寫 資料,故該裝置 (Low)。 如第三圖所 方法’以主機端 a至η : (a)·主機端在確 a’ ,將資料輪出 (2 )·主機端偵測 示該裝置己準備 (c) ·該裝置將一 (d) ·主機端將啟 到該目標觸發通道TRDY〜為低位準(L〇w), 備接收資料。 =輸:命令通道FTA_0之位準釋放’ 後一筆。 該匯流排之資料匯流排上。 到FTA一為高位準後’將啟動裝置通道 準(Low),以通知該裝置資料己準備好。 到目標觸發通道TRDY_為高位準(H 資料取走。 流排。 通道1RDY—之位準拉為高(High),以通知 流排己釋放。至此全部資料寫入完成, 命令FTA一為局位準,表示資料為最後一 不會再將目標觸發通道TRDY—拉為低位準 示,為本發明之橋接介面的多筆資料 之觀點而言,包括下列步驟,且其時序為 立啟動裝置通道IRDY—為高位準後,即 命令通道FTA—〇之位準拉為低(L〇w)。 到目標觸發通道TRDY—為低位準(L〇w), 可接收資料。 表 筆資料放至匯流排上。 動裝置通道IRDY—拉為低(Low),以通知該V. Description of the invention (5) (b) · The host side detection indicates that the device is approved (c) · The host side will be the most data (d) · The data will be placed in (e) · The host side will detect IRDY - Pull to low position (f) · Host side detection means that the device has (g) · Release data sink (h). When the device is activated, the device reads and writes data, so the device (Low) . As shown in the third figure, the host side a to η: (a) · the host end is a', the data is rotated (2) · the host side detects that the device is ready (c) · the device will (d) · The host will initiate the target trigger channel TRDY~ to the low level (L〇w) to receive the data. = Loss: The command channel FTA_0 is released as a standard. The data of the bus is on the bus. After the FTA is high, the device channel will be activated to inform the device that the data is ready. To the target trigger channel TRDY_ is high level (H data is taken. Stream. Channel 1RDY - the position is pulled high (High) to inform the flow has been released. So far all data is written, command FTA one for the game The level indicates that the data is the last one and will not pull the target trigger channel TRDY-lower. For the viewpoint of multiple data of the bridge interface of the present invention, the following steps are included, and the timing is the vertical start device channel. IRDY—After the high level, the command channel FTA—the position of the command channel is low (L〇w). To the target trigger channel TRDY—the low level (L〇w), the data can be received.排上. Actuator channel IRDY - pull low (Low) to inform the

第9頁 1287708 ------_ 五、發明說明(6) 裝置資料己準備好。 (e).主機端偵測到目標觸發通道TRDY—為 表示該裝置己將資料取走。 ^lgh) * (f ) ·釋放資料匯流排。 (^)·將啟動裝置通道^!^一拉為高位準(High),以通知 置資料匯流排己釋放,此時完成第一筆資料之寫入^ 準W備=;:通軸-為低位準一表示孩裝置己 (^)後=料輸出命令通道FTA-〇釋放’表示下一筆資料為 (j )·將資料放於資料匯流排上。 =主機端備測到FTu高位準後,將啟動裝置通道 (l) 福Λ低位準(Low),以通知該裝置資料已準備好。 (測到目標觸發通道TRDY一為高位準 備 裝置己將資料取走。 叩)表不該 (m) ·釋放資料匯流排。 (η)·將啟動裝置通道^… 裝置資料匯流排己釋放,至二V二乂?通知該 因資料讀寫命令FTU高位準(Hi 县,時’ 資料,兮gj:里τ^ 表不已為最後—簦 (Low)广 目標觸發通道TRDY~拉為低位準筆 如第四圖所示,為本發明之橋接介 方法’以主機端之觀點而言,包括下列卡=早筆貝枓碩出 3至[: 卜列步驟,且其時序為 第10頁 五、發明說明(7) (a) .=主機端在確立啟動裝置通道刪—為低 二即,,將資料輸出命令通道FTA_。之位準拉為低 (b) ·該裝置將一筆資料放至該匯流排上; 表 (c) .主機端偵測到目標觸發 為 示該裝置己將資料放於匯流排:广-為—) 以 (放資料輸出命令通道fta-q之位準釋放’ 放掉貝枓5貝寫命令FTA一之主控權。 主拉機為端,位=匯流排將資料取走,並將啟動裝置通道 IRDY一拉為间位準(High),以通知該裝置:广 機:ί測到目標觸發通道TRDY-為高位準(Highl, 广Λ fΪ料,因資料讀寫命令FTA-己為二準 二υ,ν筆資料,故不再將啟動裝置通道 IRDY拉為低(L〇w),至此,全部資料讀取完成。 方法,以3::觀ίίί明接介面的多筆資料讀出 &至^ :微端之觀點“,包括下列步驟,且其時序為 (a) ·主機端在確立啟動裝置通道irdy— 即a,,將資料輪出命令通道FTA—〇之位準拉H(L〇w後, (b) ·該裝置將資料輸入命令通道以人一丨之位^拉: (Low),以取得資料讀寫命令Fn一之主控權。- (c) ·由該裝置將該等資料放至於該匯流排上。 (一d)·主機端偵測到目標觸發通道TRDY-為低對 不該裝置己將資料放於匯流排上。 - 表 1287708. 五、發明說明(8) (e) ·主機端將資料輸出命令通道FTA—〇之位準釋放,以放 掉資料讀寫命令FTA_之主控權。 (f) ·主機端將資料取走,並將啟動裝置通道拉為高 (High),以通知該裝置資料己被取走,進而完成第一筆資 料之讀出週期。 (g)·主機端摘測到目標觸發通道Trdy—為高位準(jjigh), 表示一筆資料己傳輸完成。 (h)·該裝置將資料輸入命令通道FTA—i釋放,以通知主機 端下一筆資料為最後一筆資料。 (i) ·主機端偵測到目標觸發通道TRDY—為低位準“⑽),表 示該裝置己將資料放於匯流排上。 (j) .主機端將資料取走,並將啟動裝置通道IRDY—拉為高 位準(High),以通知該裝置資料己被取走。 (k) ·主機端债測到目標觸發通道TRDY—為高位準(High), 表示一筆資料,因資料讀寫命令FTA_已為高位準, 即為最後一筆資料,故主機端不再將啟動裝置通道irdy 拉為低位準(Low),至此全部資料讀取完成。 — 因此,透過本發明提供 時,係具有完整的資料交握 行工作,此方法並可方便設 相容性高之優點。另外,透 可輕易轉換前端任何匯流排 之橋接介面,在進行資料讀寫 ,且可在任何的傳輸速度下進 計成和既存系統相結合,具有 過本發明之方法,此橋接介面 的命令流。 以上所述係藉由實施例說明本發明之特點,1 使熟習該技術者能暸解本發明之内容並據 /、、在 个a貝呢*,而非限Page 9 1287708 ------_ V. Description of the invention (6) The device information is ready. (e) The host detects the target trigger channel TRDY—indicating that the device has taken the data away. ^lgh) * (f) · Release the data bus. (^)· Pull the start device channel ^!^ to the high level (High) to notify the data sink that the release has been released. At this point, the first data is written. ^Pre-W reserve=;: Through-axis- The lower level indicates that the child has been installed (^) = the material output command channel FTA-〇 release ' indicates that the next data is (j) · the data is placed on the data bus. = After the host is ready to measure the FFU high level, the device channel (l) will be activated (Low) to inform the device that the data is ready. (The target trigger channel TRDY is detected as a high-level preparation. The device has taken the data away. 叩) The table should not be (m) • Release the data bus. (η)·Start the device channel ^... The device data bus has been released to 2 V? Inform the data reading and writing command FTU high level (Hi County, when 'data, 兮gj: τ^ table is not the last - 簦 (Low) wide target trigger channel TRDY~ pulled to low position as shown in the fourth figure , the bridging method of the present invention, from the perspective of the host side, includes the following cards = early pens, 3 to [: the steps of the column, and the timing is page 10, invention description (7) ( a) .= The host side is in the establishment of the boot device channel delete - the second is, the data output command channel FTA_ is pulled to the low level (b) · The device puts a piece of data on the bus bar; c). The host detects the target trigger as indicating that the device has placed the data in the bus: wide-for-) (release the data output command channel fta-q level) to release the bellow 5 write command The master control of the FTA 1. The main pull machine is the end, the bit = bus bar takes the data away, and pulls the start device channel IRDY to the level (High) to inform the device: the wide machine: ί Trigger channel TRDY- is high level (Highl, Λ Λ fΪ, because the data read and write command FTA- has been two quasi-two υ, ν pen data, it is no longer The start device channel IRDY is pulled low (L〇w), and all the data is read. At this point, the method of reading and & to ^: micro-ends of the interface is 3:: The following steps, and the timing is (a) · The host side establishes the starter channel irdy - that is, a, and the data is rotated out of the command channel FTA - 〇 position H (L〇w, (b) · the device Enter the data into the command channel to pull the user's position: (Low) to obtain the master control of the data read and write command Fn. - (c) · The device puts the data on the bus. (1d) · The host detects the target trigger channel TRDY- is low. The device has placed the data on the bus. - Table 1287708. V. Description of the invention (8) (e) · The host side outputs the data. The command channel FTA-〇 is released to release the master control of the data read/write command FTA_. (f) The host side removes the data and pulls the boot device channel high to notify the The device data has been taken away, and the read cycle of the first data is completed. (g) The host side extracts the target trigger channel Trdy—high level Jjigh), indicating that a piece of data has been transferred. (h) The device releases the data into the command channel FTA-i to notify the host that the next data is the last data. (i) The host detects the target trigger channel. TRDY—lower level “(10)), indicating that the device has placed the data on the busbar. (j) The host side removes the data and pulls the initiator channel IRDY to a high level to notify the The device data has been taken away. (k) · The host side debt detection target trigger channel TRDY - is high level (High), indicating a data, because the data read and write command FTA_ has been high, that is, the last data, Therefore, the host side no longer pulls the boot device channel irdy to the low level (Low), and all the data reading is completed. - Therefore, when provided by the present invention, it has a complete data handshake operation, and this method can easily provide the advantage of high compatibility. In addition, the bridging interface of any bus bar of the front end can be easily converted, and data reading and writing can be performed, and can be combined with the existing system at any transmission speed, and the method of the present invention is adopted. The command flow of the bridging interface . The above description illustrates the features of the present invention by way of example, 1 enabling those skilled in the art to understand the contents of the present invention and/or

第12頁 1287708 五、發明說明(9) 定本發明之專利範圍,故,凡其他未脫離本發明所揭示之 精神所完成之等效修飾或修改,仍應包含在以下所述之申 請專利範圍中。Page 12 1287708 V. OBJECTS OF THE INVENTION (9) The scope of the patents of the present invention is intended to be included in the scope of the claims described below without departing from the spirit of the invention. .

1287708. 圓式簡單說明 【圖式簡單說明】 第一圖為本發明之主機及裝置的橋接方塊圖。 第二圖為本發明之橋接介面於單筆資料寫入時之時序圖。 第三圖為本發明之橋接介面於多筆資料寫入時之時序圖。 第四圖為本發明之橋接介面於單筆資料讀出時之時序圖。 第五圖為本發明之橋接介面於多筆資料讀出時之時序圖。 【主要元件符號說明】1287708. Brief description of the circle [Simplified description of the drawings] The first figure is a bridge block diagram of the host and device of the present invention. The second figure is a timing diagram of the bridge interface of the present invention when writing a single data. The third figure is a timing diagram of the bridge interface of the present invention when multiple data is written. The fourth figure is a timing diagram of the bridge interface of the present invention when reading a single data. The fifth figure is a timing diagram of the bridge interface of the present invention when multiple data are read. [Main component symbol description]

1 〇橋接介面 12主機端 14裝置1 〇 bridge interface 12 host 14 device

第14頁Page 14

Claims (1)

1287708 六、申請專利範圍 1· 一種橋接介面之資料寫入方法,適用於一主機端透過一 匯流排(bus)寫入資料於一裝置,且該主機端與該裝置間 建立有一啟動裝置通道及一目標觸發通道,該啟動裝置通 道及該目標觸發通道分別係由該主機端及該裝置所驅動, 該方法包括下列步驟: (a) ·該主機端確立該啟動裝置通道為高位準後,將一資料 輸出命令通道之位準拉為低; (b) ·該主機端偵測到該目標觸發通道為低位準,表示該裝 置已準備接收該主機端寫入之資料; (C)·該主機端透過該匯流排將一資料傳送至該裝置, 第一筆資料之寫入週期;以及 (d ) ·根據該資料之肇數 α牟 資料的寫入()及步驟(c)作為每-筆 (C)之間更加入一步驟,係 在步驟(b)及 令通道的位準釋放,以表之該^料輸出命 2·如申請專利範圍第1項所述之橋接、合面為^終貝枓。 法,其中,在該步驟(c)中,該主之貝料寫入方 週期的方法更包括下列步驟·"機端儿成一筆資料寫入 將該資料放至該匯流排之資 將該啟動裝置通道之位J ::匯》-排上; 置已將該資料取:通ίί:以J高’若是則表示該褒 之資料已準備好; 為低,以通知該裝置所欲寫 第15頁 1287708 六、申請專利範圍 釋放該資料匯流排之位準;以及 匯置3道之位準拉為胃’以通知該裝置該資料 匯狀排已釋放,進而完成一筆資料寫入週 3沐如::專利Ϊ圍第1項所述之橋接介面之資料寫入方 法’,、中’該資料輸*命令通道及該資料 direct ion)訊號。 4. 如申請專利範圍第i項所述之橋接介面之 法’ 1中’該資料輸出命令通道及該資料為三態、卜 signal)訊號。 5. 如申請專利範圍第丨項所述之橋接介 法,其適用於單筆及多筆資料之寫入。 <資抖寫入方 6藤士 ί 5接、;1面之資料讀出方法’適用於-主機端透過- ^ pa ^ . ^ I置讀出一筆貝枓,且該主機端與該裝 ψ^ η ^ ^ 裝置通道及一目標觸發通道,該啟動裝 觸發通道分別係由該主機端及該裝置所驅 動,該方法包括下列步驟: (a) ·該主機端確立該啟動裝置通道為低 輸出命令通道之位準拉為低; 早俊將貝枓 (b) ·該裝置將該筆資料放至該匯流排上; 將該資料輸出命令通道之位準釋放,以放掉 一貝料靖寫命令之主控權;以及 (d).該主機端透過該匯流排接收該裝置所放置之該資 進而完f一筆資料之讀出週期。 7·如申請專利範圍第6項所述之橋接介面之資料讀出方1287708 6. Patent application scope 1. A method for writing data of a bridge interface, which is suitable for a host to write data through a bus to a device, and a boot device channel is established between the host terminal and the device. a target trigger channel, the boot device channel and the target trigger channel are respectively driven by the host end and the device, and the method comprises the following steps: (a) after the host end establishes that the boot device channel is at a high level, (b) The host detects that the target trigger channel is low, indicating that the device is ready to receive data written by the host; (C) · the host Transmitting a data to the device through the bus, a write cycle of the first data; and (d) - writing () according to the data, data () and step (c) as per pen A further step is added between (C), in step (b) and the level of the channel is released, in order to output the output of the material. 2. The bridge and the joint surface as described in the first claim of the patent scope are ^ Ultimate Bellow. The method, wherein, in the step (c), the method for writing the main billet period of the main body further comprises the following steps: " the machine end writes a data to the busbar to put the data into the busbar Start the device channel bit J: sink" - row; set the data to be taken: pass ίί: to J high 'if it means that the data is ready; low to inform the device to write the first Page 15 1287708 VI. The scope of application for patents is released to the level of the data bus; and the position of the three channels is set to the stomach to notify the device that the data has been released, and a data is written into the week. For example: the data writing method of the bridge interface described in item 1 of the patent, 'the data input channel and the direct ion of the data. 4. In the method of applying the bridge interface described in item i of the patent scope, the data output command channel and the data are tri-state and signal signals. 5. For the bridging method described in the scope of the patent application, it is applicable to the writing of single and multiple data. <Zi Zhao write party 6 rattan ί 5 connection; 1 side of the data reading method 'applicable to the host side through - ^ pa ^ . ^ I set to read a note, and the host and the package ψ^ η ^ ^ device channel and a target trigger channel, the boot device trigger channel is driven by the host terminal and the device respectively, the method comprises the following steps: (a) The host terminal establishes that the boot device channel is low The position of the output command channel is low; the early Jun will be the bei (b) · the device puts the data on the bus; the data is output to the command channel to release a bit of material The master of the write command; and (d) the host receives the readout period of the data by the host through the bus. 7. The data reader of the bridge interface as described in item 6 of the patent application scope 第16頁 1287708 &、申請專利範圍 其中,在步驟(b)及步驟(c)之間,更包括一步驟,係 μ主機端偵測到該目標觸發通道之位準為低,表示該裝置 已將該筆資料放於該匯流排上。 8 ·如申請專利範圍第6項所述之橋接介面之資料讀出方 其中,在步驟(d)中,該主機端接收該裝置之資料的 方法更包括下列步驟: ,該資料取走,且將該啟動裝置通道之位準拉為高,以 通知該裝置該資料已被取走;以及 $測該目標觸發通道之位準是否為高,若是則表示一筆Page 16 1287708 & Patent Application Scope, between step (b) and step (c), further including a step, the μ host detects that the target trigger channel has a low level, indicating that the device The data has been placed on the bus. 8) The data reading party of the bridge interface according to item 6 of the patent application scope, wherein in the step (d), the method for the host end to receive the data of the device further comprises the following steps: the data is taken away, and Pulling the level of the activation device channel high to notify the device that the data has been taken away; and measuring whether the target trigger channel level is high, and if so, indicating a 資料已傳輸完成,若否則繼續等待,進而完成一筆資料之 讀出週期。 9、·如申请專利範圍第6項所述之橋接介面之資料讀出方 法’其中’該資料讀寫命令及該資料為雙向(bi 一 direct ion)訊號。 1、0·如申凊專利範圍第6項所述之橋接介面之資料讀出方 法其中’該資料讀寫命令及該資料為三態(tri-signal) 訊號。 • %種橋接介面之資料讀出方法,適用於一主機端透過The data has been transferred, if it continues to wait, then complete the reading cycle of a data. 9. The data reading method of the bridge interface as described in claim 6 of the patent application 'where' the data read and write command and the data are bi-directional (bi-direct ion) signals. 1. The method for reading the data of the bridge interface as described in item 6 of the patent application scope is wherein the data read/write command and the data are tri-signal signals. • Data reading method for % bridge interface, suitable for one host end ^匯流排(bus)從一裝置讀出複數筆資料,且該主機端與 該裝置間建立有一啟動裝置通道及一目標觸發通道,該啟 動裝置通道及該目標觸發通道分別係由該主機端及該裝置 所驅動’該方法包括下列步驟: U)·該主機端確立該啟動裝置通道為低位準後,將一資料 輸出命令通道之位準拉為低;The bus reads a plurality of data from a device, and a boot device channel and a target trigger channel are established between the host and the device, and the boot device channel and the target trigger channel are respectively configured by the host device and The method is driven by the following steps: U) · After the host terminal establishes that the startup device channel is at a low level, the position of a data output command channel is pulled low; 第17頁 1287708 六、申請專利範圍 (b)Jf置將一資料輸入命令通道之位準拉為低,以取得 一資料讀寫命令之主控權; (C)·該裝置將該#資料放至該匯流排上,· (d) A,主機端將該資料輸出命令通道之位準釋放,以放掉 該資料讀寫命令之主控權; (e) ·,主機端透過該匯流排接收該裝置所放置之該資料, 完成第一筆資料之讀出週期;以及 該等資料之筆數,以步驟(b)、(c)及(e)作為第-、貝後之每一筆資料的讀出週期,每讀出一筆資料即重 複步驟(b)、(c)及(e)而形成複數週期,且在最後一週期 中,將步驟(b)改為該裝置將該資料輸入命令通道之位準 釋放,以通知該主機端下一筆資料為最 驟(c)及(e)。 丹垔複步 \2·如申請專利範圍第11項所述之橋接介面之資料讀出方 法’其中’在步驟(c)及步驟(d)之間,更包括一步驟, 該主機端偵測到該目標觸發通道之位準為低, = 已將該筆資料放於該匯流排上。 ^裝置 13·如申請專利範圍第11項所述之橋接介面之資料讀出方 法’其中’在步驟(e)中,該主機端接收該裝 方法更包括下列步驟·· 之貝枓的 將該資料取走,且將該啟動裝置通道之位準拉為高,、 通知該裝置該資料已被取走;以及 0以 次债測該目標觸發通道之位準是否為高,若是則表示— 資料已傳輪完成,若否則繼續等待,進而完成一筆/資&筆Page 17 1287708 VI. Scope of Application for Patent (b) Jf sets the position of a data input command channel to be low to obtain the mastership of a data read/write command; (C) · The device puts the # data Up to the bus, (d) A, the host side releases the data output command channel to release the master control of the data read/write command; (e) · The host receives the bus through the bus The data placed by the device completes the reading period of the first data; and the number of the data, with steps (b), (c) and (e) as the first and second data The read cycle, repeating steps (b), (c), and (e) each time a data is read to form a complex period, and in the last cycle, changing step (b) to the device to input the data into the command channel The level is released to inform the host that the next data is the most recent (c) and (e).垔 垔 \ 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如 如The level of the trigger channel to the target is low, = the data has been placed on the bus. ^Device 13: The method for reading data of the bridge interface as described in claim 11 of the invention, wherein in the step (e), the host terminal receives the loading method and further includes the following steps: The data is taken away, and the level of the starting device channel is pulled high, and the device is notified that the data has been taken away; and 0 is used to measure whether the level of the target trigger channel is high, and if so, the data is represented. Has been completed, if otherwise continue to wait, and then complete a / capital & pen 第18頁 1287708 六、申請專利範圍 讀出週期。 14·如申請專利範圍第11項所述之橋接介面之資料讀出方 法,其中,該資料讀寫命令及該等資料為雙向(bi 一 direct ion)訊號0 15·如申請專利範圍第U項所述之橋接介面 法,二,該資料讀寫命令及該等資料為三‘=出方 signal )訊祝Page 18 1287708 VI. Patent application scope Readout period. 14. The method for reading data of a bridge interface according to claim 11, wherein the data read/write command and the data are bidirectional (bi-direct ion) signals. The bridging interface method, second, the data read and write command and the data are three '=out party signal) 第19頁Page 19
TW93133777A 2004-11-05 2004-11-05 Data reading/writing method for bridge interface TWI287708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93133777A TWI287708B (en) 2004-11-05 2004-11-05 Data reading/writing method for bridge interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93133777A TWI287708B (en) 2004-11-05 2004-11-05 Data reading/writing method for bridge interface

Publications (2)

Publication Number Publication Date
TW200615769A TW200615769A (en) 2006-05-16
TWI287708B true TWI287708B (en) 2007-10-01

Family

ID=39201747

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93133777A TWI287708B (en) 2004-11-05 2004-11-05 Data reading/writing method for bridge interface

Country Status (1)

Country Link
TW (1) TWI287708B (en)

Also Published As

Publication number Publication date
TW200615769A (en) 2006-05-16

Similar Documents

Publication Publication Date Title
TWI728254B (en) Image data transmission system and image data transmission method
WO2017084400A1 (en) Nvme networked storage implementation method, terminal, server, and system
TWI423033B (en) A cascade device of serial bus with clock and cascade method
CN103460201B (en) Serial line interface
TWI326826B (en) Spi device
TWI614608B (en) Apparatus, system and method for communication of touch sensor information
US9128920B2 (en) Interrupt handling systems and methods for PCIE bridges with multiple buses
TWI311722B (en) A method and apparatus for using advanced host controller interface to transfer data
TWM245481U (en) Extendable computer system
TWI461920B (en) Common protocol engine interface for a controller interface
EP0870239A1 (en) Burst-broadcasting on a peripheral component interconnect bus
TW200845036A (en) Address assignment and type recognition of serially interconnected memory devices of mixed type
TWM297500U (en) A universal serial Bus On-The-Go apparatus
TWI220828B (en) Method for the serial transfer of data between two electronic bus stations and bus station for use in said method
JP2005353041A (en) Bus transaction management within data processing system
JP2008521080A5 (en)
CN101339731A (en) Usb display driver, and small-scale mobile monitor and usb display system having the usb display diriver
TW200423637A (en) Information transfer protocol
TWI287708B (en) Data reading/writing method for bridge interface
TW201112130A (en) Controllers and methods for controlling data transfer, and electronic systems
TW200929956A (en) Method for receiving data with SDIO interface and device using the same
TWM577533U (en) Expandable electronic computing system
CN116340217A (en) Data processing method and related device
TWI352907B (en) Data transmission system and method thereof
TWI221556B (en) Circuit system and transmission method enabling mutual transmission between LPC devices

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees