|
|
View previous topic :: View next topic |
Author |
Message |
Jack4550 Guest
|
PIC4550 USB issue |
Posted: Wed Oct 05, 2005 4:04 pm |
|
|
Hello,
I have spent several days try connect PIC4550 to PC using USB port. Somebody said they could use CCS sample codes such as USB mouse, keyboard, etc. I compiled the demo code "ex_usb_kbmouse2.c " sucessfully, and download the hex file into CCS prototyping board (Rev 7). After I attached USB to PC(windows 2000), PC can detect a USB device attached, and then shows below message:
Unknown Device
Windows found a driver that is a closer match for this device than your current driver. To install the driver Windows found, click Next.
c:\winnt\inf\usb.inf
After click next, another message displays:
An error occurrend during the installation of the device.
The installation failed because a function driver was not specified for this device instance.
At the mean time, I opened hyper terminal. There is a message received:
CCS HID Mouse/Keyboard Multiple HID Report Demo
PCH: v3.227
USB connected, waiting for enumaration...
What wrong with my code? The setting of oscillator, USB descriptor or Windows driver?
Thanks a lot!
|
|
|
drolleman Guest
|
|
Posted: Wed Oct 05, 2005 7:54 pm |
|
|
you need the exact inf in order to make it work, download UVCView from microsoft. compare the pid/vid between the inf and your device. if you plan to create usb with the 18fusb this is a great tool. |
|
|
J1M
Joined: 15 Feb 2005 Posts: 21
|
|
Posted: Thu Oct 06, 2005 3:32 am |
|
|
You should install microchip driver
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2124¶m=en022629
Ive modded it to add an icon into device manager window, here you are explanation and one image about it
Wenas os dejo por aquí el Driver modificado para el PicUSB.
La modificación consiste en añadir en el Administrador de Dispositivos del Panel de Control una clase (ya no aparecerá dentro de Otros Dispositivos...) con un Icono Personalizado (se acabó lo del simbolo de exclamación feo :p))
http://perso.wanadoo.es/j1m/varios/driverdll.zip
Dentro del .zip encontrareis dos archivos:
- driver.zip : El driver en sí, no lo he probado con Windows98 solo con el XP, si alguien tiene aún ese sistema operativo que me diga como va la cosa...
- classinstaller.zip : Encontrareis el Código Fuente para crear la DLL necesaria para añadir el icono personalizado al Administrador de Dispositivos. De esta forma podreis cambiar el Icono (q mirad mirad q bonico me ha kedao ^^ jejeje), la clase que exporta, etc. Para poder compilarla necesitais las DDK (Development Driver Kit) de Windows XP ó 2k3, yo he utilizado esta: windows_server_2003_sp1_ddk.iso :5}
Os dejo una imagen de lo q os debería aparecer en el Administrador de Dispositivos si todo se ha instalado bien.
Y bueno para cualquier duda por aquí andamos.
regards! |
|
|
Jack4550 Guest
|
|
Posted: Thu Oct 06, 2005 10:39 am |
|
|
Thanks for your kind help. I have downloaded both UVCView and CDC firmware. I will try them. |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|