I am trying to use a cy8ckit-002 miniprog on a cy8ckit-059 kitprog to create a usb device. I find that when I don't use the miniprog but debug through usb I can establish a usb connection, but when I connect the kitprog to the miniprog I cannot establish a connection.
Does anyone have any idea why this might happen?
This is a timing issue. When a USB host detects a connection, the host sends some commands to the device. The device has only a few milliseconds to reply. If the device does not reply fast enough, the connection fails.
When you use the miniprog, your program can not reply to the commands quíckly enough.
Have a look at CY8CKIT-059 usb device enumeration problem