diff --git a/TODO b/TODO index 93700d31cc..3cc22da884 100644 --- a/TODO +++ b/TODO @@ -1135,11 +1135,20 @@ o USB (drivers/usbdev, drivers/usbhost) removed. If I skip the 'cat /dev/ttyACM0', then the crash does not occur when the cable is removed. + UPDATE: A similar crash occurs on the SAMA5Dx OCHI driver. + Both the LPC17 and the SAMA5Dx are OHCI drivers. + Most of these problems are unique to the Olimex LPC1766STK DCD; some are probably design problems in the CDC/ACM host driver. The bottom line is that the host CDC/ACM driver is - immature and you should probably not use it unless you want - to invest some effort. + still immature and you could experience issues in some + configurations if you use it. + + That all being said, I know of know no issues with the current + CDC/ACM driver if the interrupt IN endpoint is not used, i.e., + in "reduced" mode. The only loss of functionality is output + flow control. + Status: Open Priority: Medium-Low unless you really need host CDC/ACM support. diff --git a/arch/arm/src/sama5/sam_ohci.c b/arch/arm/src/sama5/sam_ohci.c index 2c4d5beb17..e594c22d20 100644 --- a/arch/arm/src/sama5/sam_ohci.c +++ b/arch/arm/src/sama5/sam_ohci.c @@ -2167,7 +2167,7 @@ static void sam_wdh_bottomhalf(void) { /* Set the (fake) CBP to the end of the buffer + 1 */ - tmp = xfrinfo->buflen; + tmp = eplist->buflen; } else { diff --git a/drivers/usbhost/Kconfig b/drivers/usbhost/Kconfig index c51bb76b58..a04251ceed 100644 --- a/drivers/usbhost/Kconfig +++ b/drivers/usbhost/Kconfig @@ -154,6 +154,7 @@ endchoice # CDC/ACM Protocol config USBHOST_CDCACM_NTDELAY int "CDC/ACM notification polling interval (MSec)" default 400 + depends on USBHOST_CDCACM_COMPLIANT ---help--- On higher end host controllers (OHCI and EHCI), the asynchronous, interrupt IN transfers will pend until data is available from the