Firewire on Windows XP

Hi All,

I have a Windows XP system with two ports of 1394(FirwWire) on it. Can I
transmit the data from one port to other port. The both ports are
connected by a FireWire Cable. What is needed to transmit the data
betweent them.

Any kind of information will helpful.

Thanx in advance,
Kedar

You would like to put a cable between two firewire ports on the same
computer? You can’t do that, firewire does not support loops in the
network. You could have two firewire cards on the same computer and
communicate between the two cards, though. I guess that would work.

Mathieu Routhier

BRICK BLOCK!!
-----Original Message-----
From: kedar [mailto:xxxxx@hotmail.com]
Sent: Tuesday, February 04, 2003 1:38 AM
To: NT Developers Interest List
Subject: [ntdev] Firewire on Windows XP

Hi All,

I have a Windows XP system with two ports of 1394(FirwWire) on it. Can I
transmit the data from one port to other port. The both ports are
connected by a FireWire Cable. What is needed to transmit the data
betweent them.

Any kind of information will helpful.

Thanx in advance,
Kedar


You are currently subscribed to ntdev as: xxxxx@guillemot.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

If you create a loop between any two ports on the same device then you will
blue screen (at least that is my experience). Loops in 1394 are illegal.
However, you can plug in two host controllers on one machine, run a cable
between ports on each card and communicate between them. I have used that
during development plenty of times.


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“kedar” wrote in message news:xxxxx@ntdev…
>
> Hi All,
>
> I have a Windows XP system with two ports of 1394(FirwWire) on it. Can I
> transmit the data from one port to other port. The both ports are
> connected by a FireWire Cable. What is needed to transmit the data
> betweent them.
>
> Any kind of information will helpful.
>
> Thanx in advance,
> Kedar
>
>

Hi Bill McKenzie,

Ok if I have two host controllers or two cards with 1394 ports how to
trnamsit way between them is there any application to do it?

Any kind of information is helpful.

Thanx in advance,
Kedar.

If you create a loop between any two ports on the same device then you will
blue screen (at least that is my experience). Loops in 1394 are illegal.
However, you can plug in two host controllers on one machine, run a cable
between ports on each card and communicate between them. I have used that
during development plenty of times.


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“kedar” wrote in message news:xxxxx@ntdev…
> >
> > Hi All,
> >
> > I have a Windows XP system with two ports of 1394(FirwWire) on it. Can I
> > transmit the data from one port to other port. The both ports are
> > connected by a FireWire Cable. What is needed to transmit the data
> > betweent them.
> >
> > Any kind of information will helpful.
> >
> > Thanx in advance,
> > Kedar
> >
> >

Well, on Windows XP, you can use 1394 as network adapters. They will
automatically appear as such. If you connect two computers with a 1394
cable, we will be able to communicate between both using any application
that uses TCP/IP.

Why don’t you tell us exactly what you want to do?

Mathieu Routhier

-----Original Message-----
From: kedar [mailto:xxxxx@hotmail.com]
Sent: Tuesday, February 04, 2003 10:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Firewire on Windows XP

Hi Bill McKenzie,

Ok if I have two host controllers or two cards with 1394 ports how to
trnamsit way between them is there any application to do it?

Any kind of information is helpful.

Thanx in advance,
Kedar.

If you create a loop between any two ports on the same device then you
will
blue screen (at least that is my experience). Loops in 1394 are illegal.
However, you can plug in two host controllers on one machine, run a cable
between ports on each card and communicate between them. I have used that
during development plenty of times.


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“kedar” wrote in message news:xxxxx@ntdev…
> >
> > Hi All,
> >
> > I have a Windows XP system with two ports of 1394(FirwWire) on it. Can I
> > transmit the data from one port to other port. The both ports are
> > connected by a FireWire Cable. What is needed to transmit the data
> > betweent them.
> >
> > Any kind of information will helpful.
> >
> > Thanx in advance,
> > Kedar
> >
> >


You are currently subscribed to ntdev as: xxxxx@guillemot.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Well, as already stated by someone else here, on XP there is a virtual NIC
created for each host controller, so you can transmit data using that.

Other than that, I created my own driver to send/receive data across the
wire.


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“kedar” wrote in message news:xxxxx@ntdev…
>
> Hi Bill McKenzie,
>
> Ok if I have two host controllers or two cards with 1394 ports how to
> trnamsit way between them is there any application to do it?
>
> Any kind of information is helpful.
>
> Thanx in advance,
> Kedar.
>
> > If you create a loop between any two ports on the same device then you
will
> > blue screen (at least that is my experience). Loops in 1394 are
illegal.
> > However, you can plug in two host controllers on one machine, run a
cable
> > between ports on each card and communicate between them. I have used
that
> > during development plenty of times.
> >
> > –
> > Bill McKenzie
> > Compuware Corporation
> > http://www.compuware.com/products/driverstudio/
> >
> >
> >
> > “kedar” wrote in message news:xxxxx@ntdev…
> > >
> > > Hi All,
> > >
> > > I have a Windows XP system with two ports of 1394(FirwWire) on it. Can
I
> > > transmit the data from one port to other port. The both ports are
> > > connected by a FireWire Cable. What is needed to transmit the data
> > > betweent them.
> > >
> > > Any kind of information will helpful.
> > >
> > > Thanx in advance,
> > > Kedar
> > >
> > >
>
>

Dear Bill McKenZie and Mathieu Routhier,

I want to write an application/driver where I want to trnsmiit data
between two 1394 ports which are physically connected by a firewire
cable(like we use com port for serail communication).

The application can also be used to test the physical connection condition
also. I want this application/driver to work even from DOS also, for this
I think I have to access the OHCI register in PCI configuration space. I
am able to access the register but not able to proceed any further. I have
1394 Open Host Controller Interface Specification document with me.

Any Kind of information will be helpful.

Thanx in advance.
Kedar.

Well, as already stated by someone else here, on XP there is a virtual NIC
created for each host controller, so you can transmit data using that.

Other than that, I created my own driver to send/receive data across the
wire.


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“kedar” wrote in message news:xxxxx@ntdev…
> >
> > Hi Bill McKenzie,
> >
> > Ok if I have two host controllers or two cards with 1394 ports how to
> > trnamsit way between them is there any application to do it?
> >
> > Any kind of information is helpful.
> >
> > Thanx in advance,
> > Kedar.
> >
> > > If you create a loop between any two ports on the same device then you
> will
> > > blue screen (at least that is my experience). Loops in 1394 are
> illegal.
> > > However, you can plug in two host controllers on one machine, run a
> cable
> > > between ports on each card and communicate between them. I have used
> that
> > > during development plenty of times.
> > >
> > > –
> > > Bill McKenzie
> > > Compuware Corporation
> > > http://www.compuware.com/products/driverstudio/
> > >
> > >
> > >
> > > “kedar” wrote in message news:xxxxx@ntdev…
> > > >
> > > > Hi All,
> > > >
> > > > I have a Windows XP system with two ports of 1394(FirwWire) on it. Can
> I
> > > > transmit the data from one port to other port. The both ports are
> > > > connected by a FireWire Cable. What is needed to transmit the data
> > > > betweent them.
> > > >
> > > > Any kind of information will helpful.
> > > >
> > > > Thanx in advance,
> > > > Kedar
> > > >
> > > >
> >
> >

The DDK has a sample that demonstrates how to use the 1394 bus driver. But, I strongly recommend NOT to use this sample as a starting point for your own driver development. We had that discussion already on this list…
However, for testing purposes the sample may be OK.

You can also take a look at our VHPD1394 Development Kit. It provides everything you need.
http://www.thesycon.de/vhpd1394/eng/vhpd.htm


Udo Eberhardt
Thesycon GmbH, Germany
xxxxx@thesycon.de
www.thesycon.de

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of kedar
Sent: Tuesday, February 04, 2003 4:46 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Firewire on Windows XP

Hi Bill McKenzie,

Ok if I have two host controllers or two cards with 1394 ports how to
trnamsit way between them is there any application to do it?

Any kind of information is helpful.

Thanx in advance,
Kedar.

> If you create a loop between any two ports on the same device
then you will
> blue screen (at least that is my experience). Loops in 1394
are illegal.
> However, you can plug in two host controllers on one machine,
run a cable
> between ports on each card and communicate between them. I
have used that
> during development plenty of times.
>
> –
> Bill McKenzie
> Compuware Corporation
> http://www.compuware.com/products/driverstudio/
>
>
>
> “kedar” wrote in message news:xxxxx@ntdev…
> > >
> > > Hi All,
> > >
> > > I have a Windows XP system with two ports of 1394(FirwWire)
> on it. Can I
> > > transmit the data from one port to other port. The both ports are
> > > connected by a FireWire Cable. What is needed to transmit the data
> > > betweent them.
> > >
> > > Any kind of information will helpful.
> > >
> > > Thanx in advance,
> > > Kedar
> > >
> > >
>
> —
> You are currently subscribed to ntdev as: xxxxx@thesycon.de
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

Here is what I would do. Get a driver/app combo working between two Windows
platforms as a starting point. Then, from DOS you will have to create a
setup such that the DOS platform looks and feels the same to the other end
of the wire as just another Windows platform. But, you do whatever you want
on the backside on the DOS platform.

Just out of curiosity, why in the world are you having to do this from DOS?


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“kedar” wrote in message news:xxxxx@ntdev…
>
> Dear Bill McKenZie and Mathieu Routhier,
>
> I want to write an application/driver where I want to trnsmiit data
> between two 1394 ports which are physically connected by a firewire
> cable(like we use com port for serail communication).
>
> The application can also be used to test the physical connection condition
> also. I want this application/driver to work even from DOS also, for this
> I think I have to access the OHCI register in PCI configuration space. I
> am able to access the register but not able to proceed any further. I have
> 1394 Open Host Controller Interface Specification document with me.
>
> Any Kind of information will be helpful.
>
> Thanx in advance.
> Kedar.
>
> > Well, as already stated by someone else here, on XP there is a virtual
NIC
> > created for each host controller, so you can transmit data using that.
> >
> > Other than that, I created my own driver to send/receive data across the
> > wire.
> >
> > –
> > Bill McKenzie
> > Compuware Corporation
> > http://www.compuware.com/products/driverstudio/
> >
> >
> >
> > “kedar” wrote in message news:xxxxx@ntdev…
> > >
> > > Hi Bill McKenzie,
> > >
> > > Ok if I have two host controllers or two cards with 1394 ports how to
> > > trnamsit way between them is there any application to do it?
> > >
> > > Any kind of information is helpful.
> > >
> > > Thanx in advance,
> > > Kedar.
> > >
> > > > If you create a loop between any two ports on the same device then
you
> > will
> > > > blue screen (at least that is my experience). Loops in 1394 are
> > illegal.
> > > > However, you can plug in two host controllers on one machine, run a
> > cable
> > > > between ports on each card and communicate between them. I have
used
> > that
> > > > during development plenty of times.
> > > >
> > > > –
> > > > Bill McKenzie
> > > > Compuware Corporation
> > > > http://www.compuware.com/products/driverstudio/
> > > >
> > > >
> > > >
> > > > “kedar” wrote in message news:xxxxx@ntdev…
> > > > >
> > > > > Hi All,
> > > > >
> > > > > I have a Windows XP system with two ports of 1394(FirwWire) on it.
Can
> > I
> > > > > transmit the data from one port to other port. The both ports are
> > > > > connected by a FireWire Cable. What is needed to transmit the data
> > > > > betweent them.
> > > > >
> > > > > Any kind of information will helpful.
> > > > >
> > > > > Thanx in advance,
> > > > > Kedar
> > > > >
> > > > >
> > >
> > >
>
>

> If you create a loop between any two ports on the same device then
you will

blue screen (at least that is my experience). Loops in 1394 are
illegal.

Yes, but BSOD in this case is a 1394 stack bug. It must just cause the
selfID phase failure, which should be handled as enumerating a bus
with zero devices on it.

Max

I agree, it shouldn’t ever BSOD, I was making the observation that it does.
That may have been fixed on XP, I haven’t tried.


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
>
> > If you create a loop between any two ports on the same device then
> you will
> > blue screen (at least that is my experience). Loops in 1394 are
> illegal.
>
> Yes, but BSOD in this case is a 1394 stack bug. It must just cause the
> selfID phase failure, which should be handled as enumerating a bus
> with zero devices on it.
>
> Max
>
>
>
>