Hi Isaac,
I tried your recommendation as follows:
Populated R522 and R523.
Configured PB9 as output and drive it low at the initialization to enable the USB power.
PB9 is input to monitor over current.
Unfortunately it is not working and still the host still does not attach the device.
I believe my jumpers setting are correct :
J21,J16 on SER2 shunted.
J24 SER2 un-shunted.
J26,J23 ON TWR_K64 SHUNTED (not sure about this one since SER2 is used)
J25 TWR-K64 No ID selection USB Host / Device
K64 VREG IN Selector shunts 2_3 (twr-k64)
Do I really need the VBUS to supply power to the device? As I said my K20 is running as a device and powered by an external source.
You also recommended to use a HOST-MSD, I will do that however the CDC_HOST demo in KDS and CDC_DEVISE code in USB STACK are not a match?
One would think that the host should support the device in this case!!!!
Please let me know If anything jumps out at you.
Many Thanks,
Koorosh Hajiani