K8055 - VM110 board - Problem with PC interface using VB6

I have just bought a VM110 assembled board, which I wish to interface to my PC using VB6 code.

I am running VB6 under Win98SE. Velleman advertise that 98SE is supported.

The Velleman demo VB program loads and starts to run OK. The board is recognised, power led comes on and output 8 led flashes - all as the instructions say should happen.

All 5 digital inputs work (using the test switches on the pec) and both of the analogue inputs work (using the test potentiometers on the pec). However none of the outputs works. I get no led response to any demand for a digital output and no analogue outputs at DAC1 or 2.

I have tried loading the Velleman 8055 demo program from the CD as an .exe, but get exactly the same result.

Can anyone please suggest what I may be doing incorrectly?

camoore

Wales, UK

You can try to diagnose the system with the USBView.EXE program.
The result of the K8055 USB connection data should look like this:

Here is a link to download the USB View program: box.net/shared/mc3pt7bt1n

Please check that you have the files Hidclass.sys, Hidparse.sys and Hidusb.sys in the Windows\System32\drivers folder.

Thank you,

I have confirmed that in Windows\System32\Drivers I have hidclass/sys, hidparse/sys and hidusb/sys.

The general registration of the vm110 onto the system does not seem to be an issue, since the system recognises and accepts it and since all the INPUTS from it appear to work OK. The problem is that none of the outputs seems to work.

An additional clue might be in the fact that neither of the counter resets has any effect.

camoore

Wales, UK

It seems that there is missing the other endpoint anyhow.
If you check with the USBView, do you see similar values as in the screenshot for the both endpoints in the sections “Endpoint Descriptor” in the list.

There on the installation disk is a folder “Utility”.
There are zipped package containing the USB driver files for Windows98. You may check if the version of this files is newer than the files you have. If newer, then you may try using these files.

This is the result from the test using usb view. It looks to be just as you said it should.

Device Descriptor:
bcdUSB: 0x0110
bDeviceClass: 0x00
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x08 (8)
idVendor: 0x10CF
idProduct: 0x5500
bcdDevice: 0x0000
iManufacturer: 0x01
iProduct: 0x02
iSerialNumber: 0x00
bNumConfigurations: 0x01

ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed: Low
Device Address: 0x02
Open Pipes: 2

Endpoint Descriptor:
bEndpointAddress: 0x81
Transfer Type: Interrupt
wMaxPacketSize: 0x0008 (8)
bInterval: 0x0A

Endpoint Descriptor:
bEndpointAddress: 0x01
Transfer Type: Interrupt
wMaxPacketSize: 0x0008 (8)
bInterval: 0x0A

Next I will take a look at the drivers as you suggest, and will post back to this thread the result.

Many thanks for your assistance,

camoore

Wales, UK

Further to the above post, I have searched my Velleman CD and can not find any folder in it named “Utility”.

Might it be possible for you to list the names and latest issues of these driver files so that I can check against what my system contains? Where would the files be, and what would be their extension(s)?

In that the vm110 works partially I must have got drivers from somewhere, probably when I ran the Velleman installation program. Could it be that these recent driver versions are TOO NEW for Win98SE and that I would be better off finding older drivers??

camoore

Wales, UK

According to the USB View everything looks OK.
I found the .SYS files from the Kitsoft 3 disk.
At the moment I have no access to these files. I’ll return to this issue latest on Monday morning.
I’ll also check the version of these files in my Windows 98SE test PC.

  1. I tested the vm110 on a friend’s XP machine and it seemed to work fine - inputs and outputs.

  2. His files were hidclass.sys, hidparse.sys and hidusb.sys all of issue date 13/04/2008.

  3. So I copied those .sys files from his machine and tried them on my 98se machine. Nothing worked! It no longer would connect to the vm110.

  4. By a process of elimination I have (I think) found that the problem lies with hidusb.sys. If I retain the other two .sys drivers (13/04/2008) but revert to my original hidusb.sys (which is of issue date 11/05/98) then once again the vm110 IS recognised and connected to, but I am back to the original problem that inputs from the vm110 are received but apparently no notice is taken of efforts to send commands to it.

  5. I have no idea whether these drivers are used by anything else and hence whether other USB devices may malfunction with the later issue hidclass and hidparse. That is still to be seen.

I hope that this information may assist your looking into my problem. Thank you.

camoore

Wales, UK

Now I checked the version info of the files in the working Windows 98SE and on the Kitsoft 3 disk:
hidclass.sys
hidparse.sys
hidusb.sys
The version of all these files is: 4.10.2222

My vm110 did not come with a Kitsoft 3 CD. It is a mini CD called “Velleman Projects” of ref. VPCD4.

That 4.10.2222 issue you quote sounds to me like an issue status of win98SE as opposed to individual files.

Where can I download these three files from please? I can not find a route in your website. Since you have found the files on your 98SE reference machine, can you provide me with a link or e-mail them to me (you will have my e-mail through registration with this forum)?

I realise that 98SE is an “old” OS, but there are good reasons for wishing to retain it. It would be interesting to know what happens on your 98SE machine if you temporarily replace those files, especially HIDUSB.sys with a later version.

Thank you for the support,

camoore

Wales, UK

Here is a link to download the files I copied from the CD: box.net/shared/htir5y5ljo
The version is checked following way:
Right-click the file name, choose Properties, click the Version tab.

The Windows 98SE I’m using as a reference system is a clean factory install. No files are changed.

Success! When I installed the drivers per your download above, all of version 23/04/99 my vm110 has started to work correctly under Win98SE.

I suspect that the critical driver version was hidusb.sys version 23/04/99

May I suggest the following :

  1. That you make available on your website the drivers needed for this product for each of the common OS. (it may be that this would apply to your other products also).

  2. That you amend the content of the mini CD distributed with the vm110 / K8055 to ensure thaqt it contains these essential standards of drivers. The cd of version VPCD4 which I received with my vm110 did not include drivers or the “utility” folder.

  3. That you consider suitable amendment to the manual(s) making it clear exactly which drivers are needed for each of the common OS.

Vel255, I thank you very much for your rapid and helpful assistance. I think that vm110 / K8055 is a great product, which thanks to your help here I can now go on to use and apply in quantity.

Excellent post-sales service thank you. Please ask if you would like any further information from me and/or testing of other driver versions.

Regards,

camoore

Wales, UK

This is really good news!
Thank you for the suggestions to improve the product / documents.
Normally HID devices, such as K8055/VM110, need no driver to install. The HID driver is included to the Windows.
It seems now anyhow that all the versions of the driver files are not compatible with this K8055/VM110 device.

It may be interesting to know the version number of the three .sys files you had originally in your PC…

Thanks for your patience!

The original driver files I had were :

Hidclass.sys 23/04/99

Hidparse.sys 23/04/99

Hidusb.sys 11/05/98

This combination DID NOT WORK.

It was found that in order to get the vm110 to start to work under win98se that I had to use Hidusb.sys 23/04/99 as you kindly provided for me. None of these files was to be found on the VPCD4 mini CD which came with the vm110 as recently supplied to me.

It appears that the correct functioning of your vm110 is dependant upon the correct set of driver files for the OS. in use. To that end I respectfully suggest that you investigate the similar issue for the later OS. - 2000/XP/Vista/7.

If you would like a copy of Hidusb.sys 11/05/98 please let me know, and provide a means to send it to you. I do not see a way to attach files to these forum posts. but maybe I have failed to understand the Forum protocol.

I remain very grateful for your assistance.

camoore

Wales, UK

Thank you for this information and feedback.
Yes, I’d like to get a copy of the Hidusb.sys 11/05/98.
Here is the e-mail address you can use to send it: (email address removed)

The strange thing is why this file is so old: Hidusb.sys 11/05/98
The other files you had were:
Hidclass.sys 23/04/99
Hidparse.sys 23/04/99

Thanks again for your patience to solve this problem.