Ray
Mon Jan 12 13:01:28 CST 2004
In as much as the HCT is somewhat testing the device as well as the
driver, my personal opinion is that the firmware *should* be in the
scope of the CAT file. Doing otherwise is outside the spirit, if not the
letter, of the WHQL requirements, I would think...
Anyway, you need to be careful about how you do this, too, because
driver rollback can make a hash of any driver that copies necessary
files outside of the INF file if you aren't careful. Make sure to test
the rollback scenario in as many different ways as you can.
Walter Oney wrote:
> Yariv wrote:
>
>>My driver need to write the hardware firmware files every time it starts.
>>The files are a bit big ~100K uncompressed and ~60K compressed.
>>Where should my INF file store these files?
>>
>>We prefer not to couple the firmware files with the driver since the driver
>>might manage different versions of the firmware.
>
>
> Another possible solution is to store the firmware image as a REG_BINARY
> value in the device parameters key. I would provide a driver IOCTL that
> would take a buffer containing the whole firmware image and copy it to
> the registry (and also download it to the device). You can provide a
> co-installer that will initialize the firmware from a file that would
> *not* be copied by the INF and would therefore be outside the scope of
> the CAT file. Your coinstaller could also provide a property page for
> upgrading the firmware.
>
> Keeping the firmware outside the scope of the CAT file has the
> overwhelming advantage of letting you upgrade the firmware without
> needing to re-WHQL the driver package. The only question is whether 100K
> is too much to put in the registry, and someone else can speak to that.
>
> --
> Walter Oney, Consulting and Training
> Basic and Advanced Driver Programming Seminars
> Check out our schedule at
http://www.oneysoft.com
--
../ray\..