i want to send and receive data over usb cdc, the example for stm32f4 implemented in olimex board, and in usb-otg2 and in discovery board the usb board is connected to otg1(USBD1)
the only different i saw in other opensource project was in
Code: Select all
static const SerialUSBConfig serusbcfg = {
&USBD1,
USBD2_DATA_REQUEST_EP,
USBD2_DATA_AVAILABLE_EP,
USBD2_INTERRUPT_REQUEST_EP
};i chnged USBD2 to USBD1 , but it's not recognized by my system(win7).
i already installed stm32 usb cdc drivers .
is there any other configuration to make this work for stm32f4discovery(usb-otg1)??
----
thanks in advance
MA