Commit Graph
11262 Commits
Author SHA1 Message Date
Gregory Nutt 9df6bd0543 USB host CDC/ACM driver requires CONFIG_SERIAL_REMOVABLE 2015-05-11 15:10:41 -06:00
Gregory Nutt 980763be6f Update TODO 2015-05-11 12:48:34 -06:00
Gregory Nutt 2f8d7f3a03 CDC/ACM host: Cancelling activity on bulk endpoint fixes a crash when device removed 2015-05-11 12:47:37 -06:00
Gregory Nutt 3467c30d73 EHCI HCDs: Check for transfer in progress before attempting cancellation 2015-05-11 12:12:19 -06:00
Gregory Nutt cf1ab6baec The USB host cancellation now applies to all transfers and so it no longer conditional 2015-05-11 12:04:03 -06:00
Gregory Nutt 8ed11a374d EHCI HCDs will now support cancellation of syncrhonous transfers 2015-05-11 11:43:31 -06:00
Gregory Nutt a2ad652509 STM32 and EFM32 host will now support cancellation of synchronous methods 2015-05-11 11:15:28 -06:00
Gregory Nutt 7a3fafb67f OHCI HCDs will not support cancellation of syncrhonous transfers 2015-05-11 10:36:17 -06:00
Gregory Nutt 33f5015f21 Correct an error recently introduced in the STM32 and EFM32 USB host controller drivers.
The test for data partially transferred is incorrectec: chan->xfrd != xfrlen
Should be chan->xfrd > 0

From Ronly XLN.
2015-05-11 09:04:25 -06:00
Gregory Nutt 89c0e3faa0 Update ChangeLog 2015-05-11 07:23:18 -06:00
Gregory Nutt 1f3ee83134 Increase the size of the number of bytes sent from uint16_t to uint32_t in order to avoid TCP errors with long sessions. For exmple:
int hello_main(int argc, char *argv[])
{
   uint32_t i;
   for(i = 0; i < 65536; i++)
    {
      printf("Hello, World!!\n");
    }

  printf("press any key!!\n");
  if (getchar()=='t')
    return 0;
  else
    return 1;
}

When ran in a Telnet session, the "press any key" is not displayed because the tcp session closed unexpectedly with:

tcp_input: ERROR: conn->sndseq xx, conn->unacked xx"

This is fixed by increasing the width of conn->sent to 32-bits to prevent overflow.

From Rony XLN
2015-05-11 07:14:25 -06:00
Gregory Nutt c7a02488c6 Fix a cut'n'paste error in the last commit 2015-05-10 10:23:23 -06:00
Gregory Nutt e6ebdba913 OHCI: Fix length calculation in all OHCI drivers: CBP==0 means that the entire buffer was transferred, not that a null packet was tranaferred 2015-05-10 10:01:22 -06:00
Gregory Nutt 6c88d20e1a Update TODO 2015-05-10 08:26:26 -06:00
Gregory Nutt 46e5d0a419 Add options to support all three host CDC/ACM protocols: Compliant, Reduced, and Bulk-Only 2015-05-10 08:16:58 -06:00
Gregory Nutt bd437bfb03 Update ChangeLog 2015-05-09 16:23:19 -06:00
Gregory Nutt c516a11321 Refresh configuration 2015-05-09 09:04:09 -06:00
Gregory Nutt 85647eecc9 Add EXTI line definitions for the STM32L family. 2015-05-09 09:03:14 -06:00
Gregory Nutt 4715a2e697 Update TODO list 2015-05-09 08:23:11 -06:00
Gregory Nutt 063be9f7f3 Update ChangeLog 2015-05-09 06:07:53 -06:00
Gregory Nutt 5defecbef5 STM32 F3: Add DBGMCU register definitions for the F3 family. From Greg Meiste. 2015-05-09 06:05:17 -06:00
Gregory Nutt 318649bbba Update ChangeLog 2015-05-08 18:09:48 -06:00
Gregory Nutt be0e926730 Calypso Compal-E86: Updates for execution out of FLASH. From Craig Comstock 2015-05-08 18:08:38 -06:00
Gregory Nutt 956d8e717d Fix some Olimex LPC1766STK build issues that have crept in due to changes in Kconfig file 2015-05-08 14:43:30 -06:00
Gregory Nutt d35926ea4a Fix typo introduced by commit a00f14a60a8ec54fbcf63e44d00f7101ec7cb5a3 2015-05-08 14:19:18 -06:00
Gregory Nutt 009d470ded Update ChangeLog 2015-05-08 14:14:05 -06:00
Gregory Nutt 5a5d044bc5 Adds support for STM32F302K8 and STM32F302K6. From Ben Dyer via PX4/David Sidrane. 2015-05-08 14:10:55 -06:00
Gregory Nutt 6519dc475d Use sched_kfree() instead of kmm_free() 2015-05-08 12:03:45 -06:00
Gregory Nutt c35bb693a9 USB host CDC/ACM fixes. Still kind of buggy 2015-05-08 10:58:41 -06:00
Gregory Nutt 513344a084 Fix some missing quotes in a Kconfig file 2015-05-08 08:32:50 -06:00
Gregory Nutt 8f0fb36f11 In go_os_start that sets the IDLE thread stack coloration, mov does not set condition codes which are tested by the following beq. Need to use movs instead. Noted by David Sidrane 2015-05-07 20:36:08 -06:00
Gregory Nutt 8f9c9352ae Update ChangeLog 2015-05-07 17:17:55 -06:00
Gregory Nutt bb618832eb teensy-lc: remap UART0 to the standard pins. From Michael Hope. 2015-05-07 17:17:54 -06:00
Gregory Nutt 4bde37eabc kl: enable the clocks to UART1 and UART2. The previous version would cause a hard fault on startup due to the modules not being clocked. Also drop the GPIO configuration as it's done during kl_start(). From Michael Hope. 2015-05-07 17:17:54 -06:00
Gregory Nutt c120a61b80 kl: fix PWM debugging. TPM1 and TPM2 have two channels instead of six and will hard fault if you try to read the missing channels. From Michael Hope. 2015-05-07 17:17:53 -06:00
Gregory Nutt aa79449bbe SAMV71-XULT: Eliminate a bogus warning 2015-05-07 17:16:57 -06:00
Gregory Nutt 947fd7a5af USB host CDC/ACM: Improve RX responsiveness 2015-05-07 11:27:51 -06:00
Gregory Nutt 214aeeff57 USB host CDC/ACM: Add a bulk-only mode mostly for test, fix two bad assertions. Correct some loop termination logic in RX data receipt 2015-05-07 11:16:03 -06:00
Gregory Nutt 53bb938f23 Misc improvements to the CDC/ACM host driver, mostly related to parsing the configuration descriptor. Still does not work. 2015-05-07 10:02:51 -06:00
Gregory Nutt f9575d8ef9 Rename compal_e86 linker script to highram.ld 2015-05-07 07:48:33 -06:00
Gregory Nutt 2e6657fbf6 Upddate ChangeLog 2015-05-07 07:10:13 -06:00
Gregory Nutt 2ec584c3b4 Adds board support for the Teensy LC board. Support is based off the Freedom KL25Z board. LED, PWM, and UART0 have been tested. The SPI pins are mapped correctly but have not yet been tested. From Michael Hope as SourceForge patch 51. 2015-05-07 07:06:50 -06:00
Gregory Nutt 35952e47ea Add support for the KL25Z64. The KL25Z64 is a lower memory variant of the KL25Z128 and is used on the Teensy LC. From Michael as SourceForge patch 50. 2015-05-07 06:47:17 -06:00
Gregory Nutt 96698619a0 LPC17 USB host: Fix some compile errors when bulk endpoints + USB debug enabled. Refresh a configuration 2015-05-06 16:15:12 -06:00
Gregory Nutt 48be132e5d Fix a few typos in comments 2015-05-06 15:26:07 -06:00
Gregory Nutt ca4b66774a Update ChangeLog 2015-05-06 14:14:15 -06:00
Gregory Nutt 691d7c9819 Rename usbhost_storageinit() to usbhost_msc_initialize(). Add calls to usbhost_cdcacm_initialize() is CONFIG_USBHOST_CDCACM is selected. 2015-05-06 14:11:29 -06:00
Gregory Nutt 651c79327c Update ChangeLog 2015-05-06 12:50:50 -06:00
Gregory Nutt 737fd7dcec drivers/usbhost: Add initial implementatino of a host-side CDC/ACM driver. Completely untested on initial commit (2015-05-06). 2015-05-06 12:49:00 -06:00
Gregory Nutt 025ac993b3 SAMA5 OHCI: Remove a DEBUGASSERT that was firing if a a spurious interrupt was received 2015-05-06 07:44:37 -06:00