This callback is not executing when the USB cable is disconnected, instead fires on reconnection.
Same if I disable the port in Device Manager.
#define UDI_CDC_DISABLE_EXT(port) my_callback_cdc_disable()
From the ASF website:
"When the USB device is unplugged or is reset by the USB host, the USB interface is disabled and the UDI_CDC_DISABLE_EXT() callback function is called. Thus, the data transfer must be stopped on CDC interface."
Is there something I am doing wrong?
I am using EVK1100 hardware running AT32UC3A0512
PC is running windows 8
I have tried upgrading to ASF 3.21.0 , still not working