I was able to run your CDC example. Since my device has 7 interfaces, the amount of memory allocated for the host control driver (HCD_MEMORY_SIZE) was too small. After I increased that amount, the example executes the enumeration completely. Now the problem that I have is the same across all the examples. After the enumeration, when I try sending a command to the device using the function USBHCDCWriteData(), from the CDC example, the commands are sent to the address 0,endpoint 0. It seems like the driver of my class is not been loaded, but that's the part I can figure out. I think I'm doing everything that the USB User's guide calls to do.
↧