Author |
Message |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Wed Sep 12, 2007 7:48 am Subject: composite device: enum failed |
Found here : http://forum.microchip.com/tm.aspx?m=189607
Let me know if you found out why it must be first
I can send an archive with my code if you want to have a look.
Nicolas |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Wed Sep 12, 2007 3:09 am Subject: composite device: enum failed |
This kind of compound device is working using Microchip USB framework, but
-Make sure the descriptor CDC readout is first (as number of EPs)
that is incompatible with CCS USB library:
//NOTE: DO T ... |
Topic: Enabling Debug in usb |
NicolasC
Replies: 0
Views: 2740
|
Forum: General CCS C Discussion Posted: Fri Sep 07, 2007 2:07 am Subject: Enabling Debug in usb |
If I enable debug_usb using RS232 and fprintf, then enum fails, even with 115200 baubs.
The debug display on terminal the seems to be correct.
How can have the debug and a correct enumeration ?
N ... |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Thu Sep 06, 2007 6:22 am Subject: composite device: enum failed |
I installed the hotfix. Things changed a bit: I'm prompted twice for driver for the 2 last interfaces ("Comm Interface Class" and "data class interface")
and 2 comport are added : ... |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Tue Sep 04, 2007 2:57 am Subject: composite device: enum failed |
Hil all
Couldn't find anything to solve my problem but my descriptor seems to be ok. If so the trouble then must come from the modifications I made in CCS demo file in order to compile CDC and HID in ... |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Mon Aug 27, 2007 5:55 am Subject: composite device: enum failed |
Thanks Guest
It seems to be what I need I 'll have a close look
PS: a letter was drop in the above post
http://www.cygnal.org/ubb/Forum9/HTML/001050.html |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Sat Aug 25, 2007 8:17 am Subject: composite device: enum failed |
Hi
Here's the descriptor with all the errors (I founded) fixed.
The modified cdc_NTXP.inf file is accepted on enumeration but I have then the follwing error : The device can't start (error 10)
The ... |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Fri Aug 17, 2007 4:18 pm Subject: composite device: enum failed |
I found a mistake I did when I update the inf file:
[CCS]
%CCS_CDC%=Reader, USB\VID_0461&PID_0055\MI_03was wrong
[CCS]
%CCS_CDC%=Reader, USB\VID_0461&PID_0055&MI_03lo ... |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Fri Aug 17, 2007 11:23 am Subject: composite device: enum failed |
Have you changed the PID or the VID? If so, yes.
Thanks for your answer because this now drives me crasy.
Yes I updated the PID and VIP.
I found in "Device Installation: Windows DDK" ... |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Thu Aug 16, 2007 3:28 pm Subject: composite device: enum failed |
It seems to related to the inf file:
'Can't find any information related to your hardaware ' (tanslated in english by me)
As CDC is now in a compound device, do I have to modify the inf file ? |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Tue Aug 14, 2007 1:04 am Subject: composite device: enum failed |
I corrected a few errors in the above code and now the emuneration succeed.
I have now HID+KBD+CDC
//NOTE: DO TO A LIMITATION OF THE CCS CODE, ALL HID INTERFACES MUST START AT 0 AND BE SEQUENTIAL
... |
Topic: composite device: enum failed |
NicolasC
Replies: 16
Views: 14094
|
Forum: General CCS C Discussion Posted: Sat Aug 11, 2007 2:15 pm Subject: composite device: enum failed |
Hil all
I'm trying to make a CDC+HID+KBD device but enumeration fails:
After the configuration descriptor is sent, the comm stops :
1 in down n/a 0.001 GET_DESCRIPTOR_FROM_DEVICE
1 in up n ... |
Topic: USB bootloader |
NicolasC
Replies: 6
Views: 7661
|
Forum: General CCS C Discussion Posted: Fri Apr 20, 2007 5:39 am Subject: USB bootloader |
Hello
This is what I have in my main .c file for a PIC18F2550
#include "bootloader.h"
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV1,VREGEN,NOPBADEN,WRTB
boo ... |
Topic: composite USB device |
NicolasC
Replies: 1
Views: 3702
|
Forum: General CCS C Discussion Posted: Thu Mar 15, 2007 8:18 am Subject: composite USB device |
UP
Is it something doable ? |
Topic: minimal part usb 18f4550 |
NicolasC
Replies: 1
Views: 3926
|
Forum: General CCS C Discussion Posted: Sun Mar 04, 2007 3:21 pm Subject: minimal part usb 18f4550 |
Use ex_usb_serial example. Put your code :
if (usb_cdc_kbhit()) {
c=usb_cdc_getc();
...here...
... if ( c == 'O')....
...to turn led ... |
|