How FireWire Works



How FireWire Works

 

You have probably heard the term FireWire if you have any interest in digital video -- or maybe you know it as Sony i.Link or as IEEE 1394, the offical name for the standard. FireWire is a way to connect different pieces of equipment so they can easily and quickly share information

Originally created by Apple and standardized in 1995 as the specification IEEE 1394 High Performance Serial Bus, FireWire is very similar to Universal Serial Bus (USB). The designers of FireWire had several particular goals in mind when they created the standard:

·        Fast transfer of data

·        Ability to put lots of devices on the bus

·        Ease of use

·        Hot-pluggable ability

·        Provision of power through the cable

·        Plug-and-play performance

·        Low cabling cost

·        Low implementation cost

·        [pic]

A FireWire connection lets you send data to and from high-bandwidth digital devices such as digital camcorders, and it's faster than USB

 

 

 

 

 

 

 

What is FireWire?

|[pic] |

|FireWire 400 sockets |

FireWire is a method of transferring information between digital devices, especially audio and video equipment. Also known as IEEE 1394, FireWire is fast -- the latest version achieves speeds up to 800 Mbps. At some time in the future, that number is expected to jump to an unbelievable 3.2 Gbps when manufacturers overhaul the current FireWire cables.

You can connect up to 63 devices to a FireWire bus. Windows operating systems (98 and later) and Mac OS (8.6 and later) both support it.

Let's say you have your digital camcorder connected to your home computer. When your computer powers up, it queries all of the devices connected to the bus and assigns each one an address, a process called enumeration. FireWire is plug-and-play, so if you connect a new FireWire device to your computer, the operating system auto-detects it and asks for the driver disc. If you've already installed the device, the computer activates it and starts talking to it. FireWire devices are hot pluggable, which means they can be connected and disconnected at any time, even with the power on.

 

FireWire Specifications

The original FireWire specification, FireWire 400 (1394a), was faster than USB when it came out. FireWire 400 is still in use today and features:

·        Transfer rates of up to 400 Mbps

·        Maximum distance between devices of 4.5 meters (cable length)

The release of USB 2.0 -- featuring transfer speeds up to 480 Mbps and up to 5 meters between devices -- closed the gap between these competing standards. But in 2002, FireWire 800 (1394b) started showing up in consumer devices, and USB 2.0 was left in the dust. FireWire 800 is capable of:

·        Transfer rates up to 800 Mbps

·        Maximum distance between devices of 100 meters (cable length)

The faster 1394b standard is backward-compatible with 1394a.

FireWire vs. USB

The key difference between FireWire and USB is that FireWire is intended for devices working with a lot more data -- things like camcorders, DVD players and digital audio equipment. FireWire and USB share a number of characteristics but differ in some important ways.

Here's a summary:

|Feature |USB |U|FireWire |F|

| | |S| |i|

| | |B| |r|

| | | | |e|

| | | | |W|

| | | | |i|

| | | | |r|

| | | | |e|

|  |1.1 |2.0 |400 |800 |

|Data transfer rate |12 Mbps |480 Mbps |400 Mbps |800 Mbps |

|Number of devices |127 |127 |63 |63 |

|Plug and play |Yes |Yes |Yes |Yes |

|Hot-pluggable |Yes |Yes |Yes |Yes |

|Isochronous devices |Yes |Yes |Yes |Yes |

|Bus power |Yes |Yes |Yes |Yes |

|Bus termination required |No |No |No |No |

|Bus type |Serial |Serial |Serial |Serial |

|Cable type |Twisted pair (4 |Twisted pair (4 |Twisted pair (6 |Twisted pair (8 |

| |wires: 2 power, |wires: 2 power, |wires: 2 power, 2|wires: 2 power, 2 |

| |1 twisted-pair |1 twisted-pair |twisted-pair |twisted-pair sets, 2|

| |set) |set) |sets) |ground) |

|Networkable |Yes - host-based|Yes - host-based|Yes - |Yes - peer-to-peer |

| | | |peer-to-peer | |

|Network topology |Hub |Hub |Daisy chain |Daisy chain |

 

 

 

As you can see, the two are a lot alike. Implementing FireWire costs a little more than USB, which led to the adoption of USB as the standard for connecting most peripherals that do not require a high-speed bus.

Speed aside, the big difference between FireWire and USB 2.0 is that USB 2.0 is host-based, meaning that devices must connect to a computer in order to communicate. FireWire is peer-to-peer, meaning that two FireWire cameras can talk to each other without going through a computer

FireWire Cables and Connectors

FireWire devices can be powered or unpowered. FireWire allows devices to draw their power from their connection. Two power conductors in the cable can supply power (8 to 30 volts, 1.5 amps maximum) from the computer to an unpowered device. Two twisted pair sets carry the data in a FireWire 400 cable using a 6-pin configuration.

|[pic] |

|  |

Some smaller FireWire-enabled devices use 4-pin connectors to save space, omitting the two pins used to supply power.

|[pic] |

|Photo courtesy HSW Shopper |

|FireWire adapter cable (9-pin configuration on left) |

­ FireWire 800 cables use a 9-pin configuration. Six of those pins are the same as the six pins in the 1394a connector (shown above). Two of the added pins provide a "grounded shield" to protect the other wires from interference, and the third added pin does nothing at this time [ref].

Because FireWire 800 is backward-compatible with FireWire 400, there are a variety of adapters available to facilitate the combination of both standards on the same bus. There are also two types of FireWire 800 ports available: a "bilingual" port accomodates both FireWire standards, while a b-only port accepts only a FireWire 800 connector.

 

Sending Data via FireWire

FireWire uses 64-bit fixed addressing, based on the IEEE 1212 standard. There are three parts to each packet of information sent by a device over FireWire:

·        A 10-bit bus ID that is used to determine which FireWire bus the data came from

·        A 6-bit physical ID that identifies which device on the bus sent the data

·        A 48-bit storage area that is capable of addressing 256 terabytes of information for each node

­ The bus ID and physical ID together comprise the 16-bit node ID, which allows for 64,000 nodes on a system. Data can be sent through up to 16 hops (device to device). Hops occur when devices are daisy-chained together. Look at the example below. The camcorder is connected to the external hard drive connected to Computer A. Computer A is connected to Computer B, which in turn is connected to Computer C. It takes four hops for Computer C to access the camera.

|[pic] |

|  |

Assuming all of the devices in this setup are equipped with FireWire 800, the camcorder can be up to 400 meters from Computer C.

Now that we've seen how FireWire works, let's take a closer look at one of its most popular applications: streaming digital video.

 

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download