AnsweredAssumed Answered

USB_HostEhciTaskFunction hangs in USB_HostEhciPortChange

Question asked by Jeffery Thompson on Mar 19, 2020
Latest reply on Apr 7, 2020 by Sabina Bruce

I'm using the MCUXpresso SDK USB version 2.2.1 with MCUXpresso SDK 2.6.2. Disconnect a device sometimes causes the host task (USB_HostEhciTaskFunction) to hang in USB_HostEhciPortChange. The break condition is never satisfied so the code spins in the while(1) loop. My application code is based on the USB_host_cdc example and the CONTROLLER_ID I'm using is kUSB_ControllerEhci0.