From: Peter Larsen on
Hi Experts,

I'm new to driver building and need help to get started with 1394 drivers.

I have the latest DDK packages from the MSDN disk (june 2005) and i also
have the 1394 sample up and running.
There are many things in the samples that i don't know much about, but i
think i understand the basics.

This is my questions :

Is it possible to write drivers in Visual Studio 2003 ??
Is it possible to write a 1394 driver from the sample, or would it be easier
to start from scratch ??

I have read this document
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/buses/hh/buses/1394-isoch_5b296f25-f7e4-47f9-b724-8a03419363ed.xml.asp)
and it seems to be straightforward. Probably not easy the first time, but it
should be possible.
But i can't see (or understand) how long the sample go. Does the sample also
allocating bandwith and channel ??

Do you have other links to 1394 driver building ??

Thank you in advance.

Best regards
Peter


From: Pavel A. on
"Peter Larsen" wrote:
> Hi Experts,
>
> I'm new to driver building and need help to get started with 1394 drivers.
>
> I have the latest DDK packages from the MSDN disk (june 2005) and i also
> have the 1394 sample up and running.
> There are many things in the samples that i don't know much about, but i
> think i understand the basics.
>
> This is my questions :
>
> Is it possible to write drivers in Visual Studio 2003 ??
> Is it possible to write a 1394 driver from the sample, or would it be easier
> to start from scratch ??
>
> I have read this document
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/buses/hh/buses/1394-isoch_5b296f25-f7e4-47f9-b724-8a03419363ed.xml.asp)
> and it seems to be straightforward. Probably not easy the first time, but it
> should be possible.
> But i can't see (or understand) how long the sample go. Does the sample also
> allocating bandwith and channel ??
>
> Do you have other links to 1394 driver building ??
>
> Thank you in advance.
>
> Best regards
> Peter

Hi,
Maybe these articles can help get started, while waiting for reply of the
Experts...
http://www.wd-3.com/archive/WinBuild.htm
http://www.wd-3.com/archive/HowBuild.htm
http://www.wd-3.com/archive/AddressRange.htm
http://www.wd-3.com/archive/1394IsochronousTransfersPart1.htm

--PA

From: Peter Larsen on

"Pavel A." <pavel_a(a)NOwritemeNO.com> wrote in message
news:96C19B8C-5A37-4503-97C2-2E8F1A34BD12(a)microsoft.com...
> "Peter Larsen" wrote:
>> Hi Experts,
>>
>> I'm new to driver building and need help to get started with 1394
>> drivers.
>>
>> I have the latest DDK packages from the MSDN disk (june 2005) and i also
>> have the 1394 sample up and running.
>> There are many things in the samples that i don't know much about, but i
>> think i understand the basics.
>>
>> This is my questions :
>>
>> Is it possible to write drivers in Visual Studio 2003 ??
>> Is it possible to write a 1394 driver from the sample, or would it be
>> easier
>> to start from scratch ??
>>
>> I have read this document
>> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/buses/hh/buses/1394-isoch_5b296f25-f7e4-47f9-b724-8a03419363ed.xml.asp)
>> and it seems to be straightforward. Probably not easy the first time, but
>> it
>> should be possible.
>> But i can't see (or understand) how long the sample go. Does the sample
>> also
>> allocating bandwith and channel ??
>>
>> Do you have other links to 1394 driver building ??
>>
>> Thank you in advance.
>>
>> Best regards
>> Peter
>
> Hi,
> Maybe these articles can help get started, while waiting for reply of the
> Experts...
> http://www.wd-3.com/archive/WinBuild.htm
> http://www.wd-3.com/archive/HowBuild.htm
> http://www.wd-3.com/archive/AddressRange.htm
> http://www.wd-3.com/archive/1394IsochronousTransfersPart1.htm
>
> --PA
>


From: Peter Larsen on
Thanks :-)

"Pavel A." <pavel_a(a)NOwritemeNO.com> wrote in message
news:96C19B8C-5A37-4503-97C2-2E8F1A34BD12(a)microsoft.com...
> "Peter Larsen" wrote:
>> Hi Experts,
>>
>> I'm new to driver building and need help to get started with 1394
>> drivers.
>>
>> I have the latest DDK packages from the MSDN disk (june 2005) and i also
>> have the 1394 sample up and running.
>> There are many things in the samples that i don't know much about, but i
>> think i understand the basics.
>>
>> This is my questions :
>>
>> Is it possible to write drivers in Visual Studio 2003 ??
>> Is it possible to write a 1394 driver from the sample, or would it be
>> easier
>> to start from scratch ??
>>
>> I have read this document
>> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/buses/hh/buses/1394-isoch_5b296f25-f7e4-47f9-b724-8a03419363ed.xml.asp)
>> and it seems to be straightforward. Probably not easy the first time, but
>> it
>> should be possible.
>> But i can't see (or understand) how long the sample go. Does the sample
>> also
>> allocating bandwith and channel ??
>>
>> Do you have other links to 1394 driver building ??
>>
>> Thank you in advance.
>>
>> Best regards
>> Peter
>
> Hi,
> Maybe these articles can help get started, while waiting for reply of the
> Experts...
> http://www.wd-3.com/archive/WinBuild.htm
> http://www.wd-3.com/archive/HowBuild.htm
> http://www.wd-3.com/archive/AddressRange.htm
> http://www.wd-3.com/archive/1394IsochronousTransfersPart1.htm
>
> --PA
>


From: fat_boy on
Well, you can just use VS. It is a little trickky to set up, but you
do get the added advantage of browsing your code.

In Tools-OPtions-Directories-Executables you can point to the compiler
shipped with 2003 ddk. Something like c:\winddk\3790\bin.

You will need to copy bscmake.exe from the VS directory to the
c:\winddk\3790\bin directory to.

After that you need to get the project set up. Ignore all default
includes and libs, and specify your own lib and include paths.

You then need all the defines set properly in the VS project. Run set
in the DDK build env for your prefered platform to see a list of what
is being set. You will need a lot of them as preprocessor defines.


However, I just use this for developement. For final builds and formal
testing always use the build macro, which can also be used with
prefast, a usefull DDK utility.