lpcware

USB_irqHandler doesn't respond

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by sipel_tp on Mon Oct 28 05:26:41 MST 2013
I'm working on a project based on "MassStorageHost" of LPCOpen. The first time I plug the pendrive into the USB port the program jumps to "EVENT_USB_Host_DeviceAttached", Up to now everything is ok. When I unplug the pendrive the program never runs "EVENT_USB_Host_DeviceUnattached". If I try to plug it again it never jumps again to "EVENT_USB_Host_DeviceAttached". I'm interested in using this events in order to know when a device is attached to the USB port. Is there another way to know this? How can i fix this problem?

Outcomes