Method and system for efficient framing on addressed buses
First Claim
1. A method for transmitting data from a first device to a second device over a bus, said method comprising:
- configuring a portion of a frame to include a frame length and a frame length checksum of said frame, said configuring controlled by a code at said first device;
first transmitting an interrupt from said first device indicating that at least one frame is available for reading by said second device;
receiving a tag read command from said second device by said first device for reading said frame length and said frame length checksum;
second transmitting said frame length and said frame length checksum from said first device in response to said tag read command; and
third transmitting an amount of data indicated by said frame length from said first device to a second device via said bus using a bus protocol if said frame length is successfully validated by said frame length checksum.
6 Assignments
0 Petitions
Accused Products
Abstract
A framing mechanism may be provided that enables passing of messages over an addressed bus. This creates a form of information hiding, which passes information by converting an addressed bus interface to a message-based bus interface. Address-based information in a transaction may be replaced with additional information that specifies framing details comprising, for example, a check pattern and length information. The check pattern provides a mechanism for determining whether frame information may be valid. An end device may utilize this length information to determine an actual length of an incoming frame. The combination of the check pattern and the length information may provide a pattern for resynchronizing a data stream when errors are detected. The framing mechanism may operate over existing addressed buses without requiring host side controller hardware modifications and additional host side software driver may be utilized to add the framing information.
22 Citations
29 Claims
-
1. A method for transmitting data from a first device to a second device over a bus, said method comprising:
-
configuring a portion of a frame to include a frame length and a frame length checksum of said frame, said configuring controlled by a code at said first device; first transmitting an interrupt from said first device indicating that at least one frame is available for reading by said second device; receiving a tag read command from said second device by said first device for reading said frame length and said frame length checksum; second transmitting said frame length and said frame length checksum from said first device in response to said tag read command; and third transmitting an amount of data indicated by said frame length from said first device to a second device via said bus using a bus protocol if said frame length is successfully validated by said frame length checksum. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 14)
-
-
11. A machine-readable storage having stored thereon, a computer program having at least one code section for transmitting information from a first device to a second device, the at least one code section being executable by a machine for causing the machine to perform steps comprising:
-
configuring a first portion of a frame with a frame length and a frame length checksum of said frame; first transmitting said frame length and said frame length checksum to said second device via a bus using a bus protocol; and second transmitting a second portion of said frame from said first device to said second device via said bus using said bus protocol if said length information is successfully validated using said checksum information by said second device. - View Dependent Claims (12, 13)
-
-
15. A first device comprising:
-
an interface to a bus; and a CPU for addressing a second device through said interface, said second device storing a frame of a group of at least one frame, said CPU used for first reading a function number of a field in said frame of a group of at least one frame, said CPU used for determining if said function number equals a specified value, said CPU used for second reading a frame header comprising frame length and frame length checksum information if said function number is of a specified value, said CPU used for verifying whether said frame length is valid based on using said checksum information after said second reading occurs, wherein said first device receives an amount of data indicated by said frame length if said frame length is valid. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
-
22. A method of transmitting SDIO data frames over a bus comprising:
-
first reading a function number from a header of an SDIO data frame, said header comprising said function number, a frame length of said SDIO data frame, and a frame length checksum of said SDIO data frame; second reading said frame length and said frame length checksum if said function number equals a specified value; validating said frame length using said frame length checksum; and processing an amount of data indicated by said frame length if said frame length is successfully validated. - View Dependent Claims (23, 24, 25)
-
-
26. A system comprising:
one or more circuits operable for, at least; first reading a function number from a header of an SDIO data frame, said header comprising said function number, a frame length of said SDIO data frame, and a frame length checksum of said SDIO data frame; second reading said frame length said frame length checksum if said function number equals a specified value; validating said frame length using said frame length checksum; and processing an amount of data indicated by said frame length if said frame length is successfully validated. - View Dependent Claims (27, 28, 29)
Specification