Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > WDK v. 7 for USB

Reply
Thread Tools Display Modes

WDK v. 7 for USB

 
 
alistair cordon
Guest
Posts: n/a

 
      10-20-2009
Dear all,

I hope this is the right forum to post this question.

I'm doing a uni project to connect a device to PC through USB.
I understand that I need a WDK since I use WinXP (& DDK has been superseded
by WDK)

This is my first time doing this.
All the books I read still refer to DDK.

My question is:
is there a big difference between WDK & DDK for WinXP?

if YES then
where can I download WinXP DDK?

Thank you.

 
Reply With Quote
 
 
 
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      10-20-2009
> All the books I read still refer to DDK.

Use the WDF book, it refers to WDK.

Write your driver using UMDF and WinUSB.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
Don Burn
Guest
Posts: n/a

 
      10-20-2009
There are big differences, but they are things you want. First you can
develop drivers the same way as was done with the XP DDK so you should not
worry about this. What the WDK does provide you are better ways of doing
drivers in particular WDF which has a lot of applicability to USB.
Depending on your devices characteristics you can develop the driver as a
UMDF driver, even if you need a kernel mode driver KMDF is a much better
platform than WDM which was all that was available with the XP DDK.

Get "Developing Drivers with the Windows Driver Foundation"
http://www.amazon.com/Developing-Dri...6067398&sr=1-2
and start from there.


--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr


"alistair cordon" <alistair > wrote in
message news:17EE0D01-6BB7-4D27-ACF0-...
> Dear all,
>
> I hope this is the right forum to post this question.
>
> I'm doing a uni project to connect a device to PC through USB.
> I understand that I need a WDK since I use WinXP (& DDK has been
> superseded
> by WDK)
>
> This is my first time doing this.
> All the books I read still refer to DDK.
>
> My question is:
> is there a big difference between WDK & DDK for WinXP?
>
> if YES then
> where can I download WinXP DDK?
>
> Thank you.
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4527 (20091020) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>




__________ Information from ESET NOD32 Antivirus, version of virus signature database 4527 (20091020) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




 
Reply With Quote
 
alistair cordon
Guest
Posts: n/a

 
      10-21-2009
Could you suggest some books?

"Maxim S. Shatskih" wrote:

> > All the books I read still refer to DDK.

>
> Use the WDF book, it refers to WDK.
>
> Write your driver using UMDF and WinUSB.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
>
> http://www.storagecraft.com
>
> .
>

 
Reply With Quote
 
alistair cordon
Guest
Posts: n/a

 
      10-21-2009
So WDK can be used like DDK right? I can still use those books and develop
the driver with WDK?

I'm very-very new to this and XP DDK books are all I have.
I'll check your WDF book. But does it also have explanations on UMDF & other
stuff? (winUSB or something like that?)

Thanks

"Don Burn" wrote:

> There are big differences, but they are things you want. First you can
> develop drivers the same way as was done with the XP DDK so you should not
> worry about this. What the WDK does provide you are better ways of doing
> drivers in particular WDF which has a lot of applicability to USB.
> Depending on your devices characteristics you can develop the driver as a
> UMDF driver, even if you need a kernel mode driver KMDF is a much better
> platform than WDM which was all that was available with the XP DDK.
>
> Get "Developing Drivers with the Windows Driver Foundation"
> http://www.amazon.com/Developing-Dri...6067398&sr=1-2
> and start from there.
>
>
> --
> Don Burn (MVP, Windows DKD)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
>
>
> "alistair cordon" <alistair > wrote in
> message news:17EE0D01-6BB7-4D27-ACF0-...
> > Dear all,
> >
> > I hope this is the right forum to post this question.
> >
> > I'm doing a uni project to connect a device to PC through USB.
> > I understand that I need a WDK since I use WinXP (& DDK has been
> > superseded
> > by WDK)
> >
> > This is my first time doing this.
> > All the books I read still refer to DDK.
> >
> > My question is:
> > is there a big difference between WDK & DDK for WinXP?
> >
> > if YES then
> > where can I download WinXP DDK?
> >
> > Thank you.
> >
> >
> > __________ Information from ESET NOD32 Antivirus, version of virus
> > signature database 4527 (20091020) __________
> >
> > The message was checked by ESET NOD32 Antivirus.
> >
> > http://www.eset.com
> >
> >
> >

>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 4527 (20091020) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
> .
>

 
Reply With Quote
 
__ay
Guest
Posts: n/a

 
      10-21-2009
Compared to the DDK , I personally think there are some changes in WDK .
and the code i uesd to compile by the DDK 2k3 before was not successfully
compiled by the wdk. Even though the compilation is done , the driver cannot
hardly work as I expexct

"alistair cordon" wrote:

> So WDK can be used like DDK right? I can still use those books and develop
> the driver with WDK?
>
> I'm very-very new to this and XP DDK books are all I have.
> I'll check your WDF book. But does it also have explanations on UMDF & other
> stuff? (winUSB or something like that?)
>
> Thanks
>
> "Don Burn" wrote:
>
> > There are big differences, but they are things you want. First you can
> > develop drivers the same way as was done with the XP DDK so you should not
> > worry about this. What the WDK does provide you are better ways of doing
> > drivers in particular WDF which has a lot of applicability to USB.
> > Depending on your devices characteristics you can develop the driver as a
> > UMDF driver, even if you need a kernel mode driver KMDF is a much better
> > platform than WDM which was all that was available with the XP DDK.
> >
> > Get "Developing Drivers with the Windows Driver Foundation"
> > http://www.amazon.com/Developing-Dri...6067398&sr=1-2
> > and start from there.
> >
> >
> > --
> > Don Burn (MVP, Windows DKD)
> > Windows Filesystem and Driver Consulting
> > Website: http://www.windrvr.com
> > Blog: http://msmvps.com/blogs/WinDrvr
> >
> >
> > "alistair cordon" <alistair > wrote in
> > message news:17EE0D01-6BB7-4D27-ACF0-...
> > > Dear all,
> > >
> > > I hope this is the right forum to post this question.
> > >
> > > I'm doing a uni project to connect a device to PC through USB.
> > > I understand that I need a WDK since I use WinXP (& DDK has been
> > > superseded
> > > by WDK)
> > >
> > > This is my first time doing this.
> > > All the books I read still refer to DDK.
> > >
> > > My question is:
> > > is there a big difference between WDK & DDK for WinXP?
> > >
> > > if YES then
> > > where can I download WinXP DDK?
> > >
> > > Thank you.
> > >
> > >
> > > __________ Information from ESET NOD32 Antivirus, version of virus
> > > signature database 4527 (20091020) __________
> > >
> > > The message was checked by ESET NOD32 Antivirus.
> > >
> > > http://www.eset.com
> > >
> > >
> > >

> >
> >
> >
> > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4527 (20091020) __________
> >
> > The message was checked by ESET NOD32 Antivirus.
> >
> > http://www.eset.com
> >
> >
> >
> >
> > .
> >

 
Reply With Quote
 
Don Burn
Guest
Posts: n/a

 
      10-21-2009
Yes you can use the same. But as I stated you should look at WDF. The book
covers KMDF the kernel stuff and UMDF the user stuff.


--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply


"alistair cordon" <> wrote in
message news:40C5F060-6D8C-4D85-BFEC-...
> So WDK can be used like DDK right? I can still use those books and develop
> the driver with WDK?
>
> I'm very-very new to this and XP DDK books are all I have.
> I'll check your WDF book. But does it also have explanations on UMDF &
> other
> stuff? (winUSB or something like that?)
>
> Thanks
>
> "Don Burn" wrote:
>
>> There are big differences, but they are things you want. First you can
>> develop drivers the same way as was done with the XP DDK so you should
>> not
>> worry about this. What the WDK does provide you are better ways of
>> doing
>> drivers in particular WDF which has a lot of applicability to USB.
>> Depending on your devices characteristics you can develop the driver as a
>> UMDF driver, even if you need a kernel mode driver KMDF is a much better
>> platform than WDM which was all that was available with the XP DDK.
>>
>> Get "Developing Drivers with the Windows Driver Foundation"
>> http://www.amazon.com/Developing-Dri...6067398&sr=1-2
>> and start from there.
>>
>>
>> --
>> Don Burn (MVP, Windows DKD)
>> Windows Filesystem and Driver Consulting
>> Website: http://www.windrvr.com
>> Blog: http://msmvps.com/blogs/WinDrvr
>>
>>
>> "alistair cordon" <alistair > wrote in
>> message news:17EE0D01-6BB7-4D27-ACF0-...
>> > Dear all,
>> >
>> > I hope this is the right forum to post this question.
>> >
>> > I'm doing a uni project to connect a device to PC through USB.
>> > I understand that I need a WDK since I use WinXP (& DDK has been
>> > superseded
>> > by WDK)
>> >
>> > This is my first time doing this.
>> > All the books I read still refer to DDK.
>> >
>> > My question is:
>> > is there a big difference between WDK & DDK for WinXP?
>> >
>> > if YES then
>> > where can I download WinXP DDK?
>> >
>> > Thank you.
>> >
>> >
>> > __________ Information from ESET NOD32 Antivirus, version of virus
>> > signature database 4527 (20091020) __________
>> >
>> > The message was checked by ESET NOD32 Antivirus.
>> >
>> > http://www.eset.com
>> >
>> >
>> >

>>
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
>> signature database 4527 (20091020) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>>
>> .
>>

>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4528 (20091021) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>




__________ Information from ESET NOD32 Antivirus, version of virus signature database 4529 (20091021) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




 
Reply With Quote
 
Don Burn
Guest
Posts: n/a

 
      10-21-2009

"__ay" <> wrote in message
news:0027121B-59D1-4324-9453-...
> Compared to the DDK , I personally think there are some changes in WDK .
> and the code i uesd to compile by the DDK 2k3 before was not successfully
> compiled by the wdk. Even though the compilation is done , the driver
> cannot
> hardly work as I expexct
>


What type of driver and what were you doing? I have migrated over 40
drivers to WDK as part of beta testing with no problems. Were you testing
these on the same system as the "working version" had been tested on?


--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply




__________ Information from ESET NOD32 Antivirus, version of virus signature database 4529 (20091021) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




 
Reply With Quote
 
alistair cordon
Guest
Posts: n/a

 
      10-21-2009
Okay then,
I will proceed with treating WDK like DDK.
I have the WDF book already and will read it.

Does writing a driver for USB need an understanding of certain programming
language or is basic C/C++ enough?




"Don Burn" wrote:

> Yes you can use the same. But as I stated you should look at WDF. The book
> covers KMDF the kernel stuff and UMDF the user stuff.
>
>
> --
> Don Burn (MVP, Windows DKD)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
>
> "alistair cordon" <> wrote in
> message news:40C5F060-6D8C-4D85-BFEC-...
> > So WDK can be used like DDK right? I can still use those books and develop
> > the driver with WDK?
> >
> > I'm very-very new to this and XP DDK books are all I have.
> > I'll check your WDF book. But does it also have explanations on UMDF &
> > other
> > stuff? (winUSB or something like that?)
> >
> > Thanks
> >
> > "Don Burn" wrote:
> >
> >> There are big differences, but they are things you want. First you can
> >> develop drivers the same way as was done with the XP DDK so you should
> >> not
> >> worry about this. What the WDK does provide you are better ways of
> >> doing
> >> drivers in particular WDF which has a lot of applicability to USB.
> >> Depending on your devices characteristics you can develop the driver as a
> >> UMDF driver, even if you need a kernel mode driver KMDF is a much better
> >> platform than WDM which was all that was available with the XP DDK.
> >>
> >> Get "Developing Drivers with the Windows Driver Foundation"
> >> http://www.amazon.com/Developing-Dri...6067398&sr=1-2
> >> and start from there.
> >>
> >>
> >> --
> >> Don Burn (MVP, Windows DKD)
> >> Windows Filesystem and Driver Consulting
> >> Website: http://www.windrvr.com
> >> Blog: http://msmvps.com/blogs/WinDrvr
> >>
> >>
> >> "alistair cordon" <alistair > wrote in
> >> message news:17EE0D01-6BB7-4D27-ACF0-...
> >> > Dear all,
> >> >
> >> > I hope this is the right forum to post this question.
> >> >
> >> > I'm doing a uni project to connect a device to PC through USB.
> >> > I understand that I need a WDK since I use WinXP (& DDK has been
> >> > superseded
> >> > by WDK)
> >> >
> >> > This is my first time doing this.
> >> > All the books I read still refer to DDK.
> >> >
> >> > My question is:
> >> > is there a big difference between WDK & DDK for WinXP?
> >> >
> >> > if YES then
> >> > where can I download WinXP DDK?
> >> >
> >> > Thank you.
> >> >
> >> >
> >> > __________ Information from ESET NOD32 Antivirus, version of virus
> >> > signature database 4527 (20091020) __________
> >> >
> >> > The message was checked by ESET NOD32 Antivirus.
> >> >
> >> > http://www.eset.com
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> __________ Information from ESET NOD32 Antivirus, version of virus
> >> signature database 4527 (20091020) __________
> >>
> >> The message was checked by ESET NOD32 Antivirus.
> >>
> >> http://www.eset.com
> >>
> >>
> >>
> >>
> >> .
> >>

> >
> > __________ Information from ESET NOD32 Antivirus, version of virus
> > signature database 4528 (20091021) __________
> >
> > The message was checked by ESET NOD32 Antivirus.
> >
> > http://www.eset.com
> >
> >
> >

>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 4529 (20091021) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
> .
>

 
Reply With Quote
 
Don Burn
Guest
Posts: n/a

 
      10-21-2009
Basic C/C++ is enough. UMDF is based on COM but is limited enough that most
people have no problem picking up the basics.


--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply



"alistair cordon" <> wrote in
message news:030B6F9D-22C0-415F-8756-...
> Okay then,
> I will proceed with treating WDK like DDK.
> I have the WDF book already and will read it.
>
> Does writing a driver for USB need an understanding of certain programming
> language or is basic C/C++ enough?
>
>
>
>
> "Don Burn" wrote:
>
>> Yes you can use the same. But as I stated you should look at WDF. The
>> book
>> covers KMDF the kernel stuff and UMDF the user stuff.
>>
>>
>> --
>> Don Burn (MVP, Windows DKD)
>> Windows Filesystem and Driver Consulting
>> Website: http://www.windrvr.com
>> Blog: http://msmvps.com/blogs/WinDrvr
>> Remove StopSpam to reply
>>
>>
>> "alistair cordon" <> wrote in
>> message news:40C5F060-6D8C-4D85-BFEC-...
>> > So WDK can be used like DDK right? I can still use those books and
>> > develop
>> > the driver with WDK?
>> >
>> > I'm very-very new to this and XP DDK books are all I have.
>> > I'll check your WDF book. But does it also have explanations on UMDF &
>> > other
>> > stuff? (winUSB or something like that?)
>> >
>> > Thanks
>> >
>> > "Don Burn" wrote:
>> >
>> >> There are big differences, but they are things you want. First you
>> >> can
>> >> develop drivers the same way as was done with the XP DDK so you should
>> >> not
>> >> worry about this. What the WDK does provide you are better ways of
>> >> doing
>> >> drivers in particular WDF which has a lot of applicability to USB.
>> >> Depending on your devices characteristics you can develop the driver
>> >> as a
>> >> UMDF driver, even if you need a kernel mode driver KMDF is a much
>> >> better
>> >> platform than WDM which was all that was available with the XP DDK.
>> >>
>> >> Get "Developing Drivers with the Windows Driver Foundation"
>> >> http://www.amazon.com/Developing-Dri...6067398&sr=1-2
>> >> and start from there.
>> >>
>> >>
>> >> --
>> >> Don Burn (MVP, Windows DKD)
>> >> Windows Filesystem and Driver Consulting
>> >> Website: http://www.windrvr.com
>> >> Blog: http://msmvps.com/blogs/WinDrvr
>> >>
>> >>
>> >> "alistair cordon" <alistair > wrote in
>> >> message news:17EE0D01-6BB7-4D27-ACF0-...
>> >> > Dear all,
>> >> >
>> >> > I hope this is the right forum to post this question.
>> >> >
>> >> > I'm doing a uni project to connect a device to PC through USB.
>> >> > I understand that I need a WDK since I use WinXP (& DDK has been
>> >> > superseded
>> >> > by WDK)
>> >> >
>> >> > This is my first time doing this.
>> >> > All the books I read still refer to DDK.
>> >> >
>> >> > My question is:
>> >> > is there a big difference between WDK & DDK for WinXP?
>> >> >
>> >> > if YES then
>> >> > where can I download WinXP DDK?
>> >> >
>> >> > Thank you.
>> >> >
>> >> >
>> >> > __________ Information from ESET NOD32 Antivirus, version of virus
>> >> > signature database 4527 (20091020) __________
>> >> >
>> >> > The message was checked by ESET NOD32 Antivirus.
>> >> >
>> >> > http://www.eset.com
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> __________ Information from ESET NOD32 Antivirus, version of virus
>> >> signature database 4527 (20091020) __________
>> >>
>> >> The message was checked by ESET NOD32 Antivirus.
>> >>
>> >> http://www.eset.com
>> >>
>> >>
>> >>
>> >>
>> >> .
>> >>
>> >
>> > __________ Information from ESET NOD32 Antivirus, version of virus
>> > signature database 4528 (20091021) __________
>> >
>> > The message was checked by ESET NOD32 Antivirus.
>> >
>> > http://www.eset.com
>> >
>> >
>> >

>>
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
>> signature database 4529 (20091021) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>>
>> .
>>

>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4530 (20091021) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>




__________ Information from ESET NOD32 Antivirus, version of virus signature database 4530 (20091021) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59