Commit Graph

  • 4d14e2ac50 add structure & define for ohci hathach 2013-12-11 14:31:27 +07:00
  • b35d2c8f43 add lpc17xx build config for host demo hathach 2013-12-11 12:13:22 +07:00
  • 8bd6440547 fix error in dcd_lpc175x_6x (still has problem with control transfer) fix build error for host start to add keil support for device opt out pca9532.c when ea4357 is not the selected board hathach 2013-12-11 11:31:09 +07:00
  • b35acbdcb2 add some doxygen hathach 2013-12-10 10:57:59 +07:00
  • a40d20387d complete dcd 17xx control xfer with soft DMA keyboard LED set report run ok with lpc17xx there is problem with cdc set line encoding hathach 2013-12-09 16:11:10 +07:00
  • b08ecda657 house keeping, lpc43xx works okie hathach 2013-12-09 11:57:09 +07:00
  • 2af9ecbed5 refractor dcd lpc43xx control xfer (with int on complete) hathach 2013-12-09 11:49:34 +07:00
  • 055285c559 minor refractor hathach 2013-12-09 11:28:11 +07:00
  • e320659f8a add keyboard led mask make usbd control request to subtask add get/set report via control pipe to hidd enforce soft DMA to control pipe for lpc11u (lpc17xx not yet) temp add led_blinking_set_interval to change led blinking interval refractor dcd_pipe_control_xfer to have interrupt on complete option add get/set report support of moused_app and keyboardd_app, keyboard LED will make LED blink faster hathach 2013-12-09 11:15:13 +07:00
  • 1ad78f104e refractor hid device driver hathach 2013-12-02 14:17:51 +07:00
  • 2c8b8ea529 add board lpclink2, able to run device stack without any problems hathach 2013-12-02 00:40:10 +07:00
  • 4b78578266 fix potential wrong endpoint handle for stalling unsupported scsi command hathach 2013-12-01 22:34:59 +07:00
  • 24e92f79e7 adjust packet per TD for lpc13u is 1023, 11u is 64 hathach 2013-12-01 16:11:41 +07:00
  • a9a5146108 correct stall & clear stall behavior for non-control pipe fix data_residue when read10, write10 return 0 (no need for BE conversion) hathach 2013-12-01 15:48:49 +07:00
  • edb4226f23 change class_ixr to class_cb use IAD whenever enable CDC to make sure windows driver can detect change keyboard, mouse send report to int_on_complete = true hathach 2013-12-01 13:53:36 +07:00
  • d2f91af6b3 add some document for msc_device API hathach 2013-12-01 12:18:26 +07:00
  • e0db04e6b4 tested with lpc13u hathach 2013-12-01 00:34:18 +07:00
  • 864935fbe8 code clean up hathach 2013-11-30 22:38:15 +07:00
  • 6e30a068d2 completely change the dcd for lpc11u & lpc13u to overcome the fact that lpc11u dma cannot transfer more than 64 bytes each buffer. This implement an soft DMA for lpc11u & lpc13u (previously 1023 max) queued transfer hathach 2013-11-30 22:29:37 +07:00
  • af87e231c5 house keeping hathach 2013-11-26 14:17:58 +07:00
  • 47d8af7111 complete msc demo with lpc13uxx with readonly flash hathach 2013-11-26 13:58:13 +07:00
  • 8f70a6a886 change endian conversion to native to be & be to native completely deferred xfer isr event to usbd task complete read10, write10 sequence for large data transfer hathach 2013-11-26 13:15:40 +07:00
  • 51def3f7ed refractor usbd task move control request data into task event adding tusbd_msc_read10_cb, tusbd_msc_write10_cb (not fully supported) hathach 2013-11-25 16:42:04 +07:00
  • a5ba283557 change MCU to TUSB_CFG_MCU hathach 2013-11-25 12:48:27 +07:00
  • 41ffcaf4a5 temp fix for dcd 43xx suspend detection (disconnection does not generate interrupt) hathach 2013-11-22 16:10:05 +07:00
  • 83f1d660ce clean up add some doxygen work finalize device disconnection & suspend - suspend & resume & remote wake up is not supported yet hathach 2013-11-22 15:16:24 +07:00
  • d1ef89a154 fixed lpc11u/13u VBUS (P0_3) with pulldown resistor for USB_VBUS_DEBOUNCED is correct added disconnect callback for lpc11u/13u hathach 2013-11-21 15:24:02 +07:00
  • c303154b7a add class mounted callback for hid mouse/keyboard & refractor mouse/keyboard app hathach 2013-11-21 13:54:29 +07:00
  • c461c72ac2 clean up hathach 2013-11-21 13:20:46 +07:00
  • 6887e5e642 refractor usbd-dcd callback, add bus event isr hathach 2013-11-21 12:47:55 +07:00
  • d94efa60d6 fixed dcd lpc17xx queue transfer & IOC handling able to run MSC demo hathach 2013-11-20 15:34:49 +07:00
  • 850fcf03f0 refractor descriptor hathach 2013-11-20 12:52:07 +07:00
  • dbfad50d43 house keeping hathach 2013-11-20 12:21:29 +07:00
  • d284ecaccb add sw int_on_complete support for dcd lpc17xx hathach 2013-11-20 12:03:04 +07:00
  • 2dafeee585 complete dcd for lpc175x_6x cdc device demo can work but there is hardfault with dma descriptor with fast typing hathach 2013-11-19 16:41:30 +07:00
  • 94854f805a get lpc17xx running through enumeration (with control data < 64) hathach 2013-11-18 17:29:12 +07:00
  • b104d21e71 fix dcd_pipe_control_xfer for dcd43xx refractor tusb_descriptors.h hathach 2013-11-16 22:16:03 +07:00
  • 672057de5a IAD support hathach 2013-11-15 17:20:40 +07:00
  • 6e463caec0 add semaphore for control xfer for > 64 support for some mcu such as lpc11u/lpc17xx hathach 2013-11-15 16:47:26 +07:00
  • d4a260c090 refractor usbd's get descriptor hathach 2013-11-15 15:05:23 +07:00
  • 699edf9485 separate data & status from dcd_pipe_control_xfer hathach 2013-11-15 14:15:05 +07:00
  • 05c439e45a refractor usbd, first step to make get configuration as sub task hathach 2013-11-15 13:26:12 +07:00
  • fc68439b74 add usbd_task to handle event task eg setup received hathach 2013-11-15 12:30:22 +07:00
  • ba49d26e19 fix build error with device 43xx refractor mscd ramdisk demo hathach 2013-11-15 00:01:07 +07:00
  • 6e8440afe5 complete double buffering for queueing xfer for lpc11u/13u requried by msc device hathach 2013-11-14 14:12:07 +07:00
  • 7d84139bd4 fix potential issue with stall endpoints NOTE: cannot able to STALL control OUT endpoints --> unsupported with data out request may got to an issue. clean up configure, add max string descriptor configure as windows sometimes ask for string @ index 238 !!! hathach 2013-11-13 14:00:39 +07:00
  • 92d9c36dbc able to build and run cdc device demo on lpc11uxx hathach 2013-11-13 12:40:11 +07:00
  • d8f32a79fc technically, mouse + keyboard device demo also work on lpc13uxx hathach 2013-11-11 14:02:55 +07:00
  • 9a81cbcd59 remove xfer_type in endpoint_handle_t cdc device demo runs on lpc13uxx hathach 2013-11-11 13:52:31 +07:00
  • f00a4b448d adding support for lpc13uxx hathach 2013-11-11 12:48:21 +07:00
  • 9cb99d3716 house keeping hathach 2013-11-08 19:37:26 +07:00
  • 7ff0dbb64c add tusbd_cdc_is_busy enhance cdc serial device demo refractor fifo.c hathach 2013-11-08 14:46:48 +07:00
  • 15d3a418bd add windows driver for cdc add simple echo cdc serial demo add cdc device send/receive API refractor descriptor refractor cdc.h add usbd driver function - init - bus_reset hathach 2013-11-08 12:03:32 +07:00
  • 3945869cc2 refractor tusb_descriptor, adding support for cdc descriptor hathach 2013-11-07 12:28:10 +07:00
  • 8c9def8618 clean up tusb_descriptors hathach 2013-11-07 11:51:39 +07:00
  • f1d47702e8 refractor mouse dev app hathach 2013-11-06 20:06:28 +07:00
  • 9171d106bc added hid device hidd_isr callback refractor keyboard dev demo app hathach 2013-11-06 19:55:48 +07:00
  • 60d444b452 fix a bug with USB1, but still cannot get interrupt occurred on USB1 hathach 2013-11-06 14:53:18 +07:00
  • 58b41a05db refractor for device able to work on usb1 of lpc43xx. But could not get it work on EA4357 hathach 2013-11-06 14:20:45 +07:00
  • b2b53e61fb refractor dcd_controller_reset & hcd_controller_reset to hal_controller_reset hathach 2013-11-06 12:15:11 +07:00
  • 024858a605 complete msc device demo with 8KB ram disk hathach 2013-11-05 14:55:58 +07:00
  • 83d9ececfb msc add support - SCSI_CMD_MODE_SELECT_6 - SCSI_CMD_MODE_SENSE_6 - SCSI_CMD_PREVENT_ALLOW_MEDIUM_REMOVAL hathach 2013-11-05 13:02:15 +07:00
  • d02ef07337 added support for - sense data scsi_sense_fixed_data_t - read format capacity scsi_read_format_capacity_data_t hathach 2013-11-01 22:00:39 +07:00
  • f2ae5b541f add dcd pipe clear stall - tusb_error_t dcd_pipe_clear_stall(uint8_t coreid, uint8_t edpt_addr) but does not take endpoint_handle_t as input complete msc device driver add usbd clear stall endpoint hathach 2013-11-01 14:44:14 +07:00
  • f797c4e02a rename device project hathach 2013-11-01 12:17:54 +07:00
  • 077b6defe9 rename device project hathach 2013-11-01 12:13:31 +07:00
  • 3a54ad4c0d implement msc device class usbd auto stall control for not supported return from class control request usbd implement xfer isr callback mechanism DCD - implement dcd multiple qtd support - dcd dcd_pipe_stall - implement dcd_pipe_queue_xfer - xfer_complete_isr - flush control endpoint if received new setup while previous transfer is not complete change msc_cmd_block_wrapper_t flags field to dir force full speed for easy testing hathach 2013-11-01 12:11:26 +07:00
  • c760c69d51 clean up hathach 2013-10-30 14:16:45 +07:00
  • 3a37dd66cc refractor hid device add check dcd_pipe_open if endpoint is already used refractor usbd : parse and auto open class driver hathach 2013-10-30 14:13:06 +07:00
  • b8a7ea6d46 add dcd control pipe stall protocol hathach 2013-10-30 12:52:25 +07:00
  • d67a7b7959 fix dcd_data declared with TUSB_CFG_ATTR_USBRAM fix lpc43xx UM: non-control unused endpoint type should be set to different than control in ENDPTCTRL add hid mouse device fix mouse descriptor with vertical wheel support hathach 2013-10-30 12:20:00 +07:00
  • d9ce879df8 able to enumerate mouse + keyboard (missing timing at set configured though) hathach 2013-10-29 17:16:41 +07:00
  • cb0a02f8c9 change device driver init to open (when configured) fix HID_REQUEST_CONTROL_SET_REPORT handle hathach 2013-10-29 16:29:48 +07:00
  • 5ab195a73d temporarily implementation of dcd_pipe_is_busy hathach 2013-10-29 15:09:16 +07:00
  • db986b3107 able to fully enumerated with keyboard hathach 2013-10-29 14:19:56 +07:00
  • 357813f171 implementing sw device stack hathach 2013-10-29 11:27:25 +07:00
  • d925026089 make device keyboard buildable & runnable with ea4357 hathach 2013-10-27 21:33:06 +07:00
  • a98bae0d19 enhance serial host app hathach 2013-10-27 20:56:41 +07:00
  • 1d28b2bd10 refractor cdc serial host app. fix RTOS cdc_serial_app_task executing forever hathach 2013-10-27 20:44:06 +07:00
  • 064d0cf5a9 document cdc hathach 2013-10-27 19:59:06 +07:00
  • 318a058d3c static assert to check OSAL_QUEUE_DEF's queue_depth parameter < 256 enable HOST_HCD_XFER_INTERRUPT by default (previously only enabled with HID), as it is widely used implement tusbh_cdc_is_busy add compilation switch in usbh enumeration for hub rewrite CDC serial application to address usb-serial race condition hathach 2013-10-27 19:34:36 +07:00
  • 0d9e1163df fix osal_none timeout, instant return with OSAL_TIMEOUT_NOTIMEOUT hathach 2013-10-27 16:48:09 +07:00
  • eb39d88360 rndis document hathach 2013-10-27 15:42:31 +07:00
  • f941f88549 rndis document hathach 2013-10-27 15:15:28 +07:00
  • 76e993c45c rndis document hathach 2013-10-26 20:25:14 +07:00
  • df8d56f485 more document hathach 2013-10-26 20:14:12 +07:00
  • dae4fdc04f cdc document hathach 2013-10-26 20:12:39 +07:00
  • acd69a7692 document msc hathach 2013-10-26 19:14:06 +07:00
  • 621cdc7013 doxygen document for msc hathach 2013-10-26 14:12:45 +07:00
  • d1d2bbdf5d update doxygen hathach 2013-10-26 12:42:27 +07:00
  • 0d00742cf0 more doxygen work rename tusb_mouse_report_t (keyboard) to hid_mouse_report_t (keyboard) hathach 2013-10-25 17:28:31 +07:00
  • 7bf5cbc3fc move descriptor to common folder hathach 2013-10-25 13:46:38 +07:00
  • 5f23653c69 more doxygen work hathach 2013-10-25 13:45:57 +07:00
  • 695fc5cc0a merge doxygen configure hathach 2013-10-24 21:58:38 +07:00
  • 6c629a18fc partially document CDC & RNDIS hathach 2013-10-24 17:26:06 +07:00
  • b1142ff065 document hub hathach 2013-10-24 17:00:04 +07:00
  • 5f584384eb document msc host hathach 2013-10-24 16:47:18 +07:00
  • d8d00ca768 refractor HID document hathach 2013-10-24 15:48:57 +07:00
  • b71ffe3d5a change TUSB_CFG_CONTROLLER0/1_MODE to TUSB_CFG_CONTROLLER_0/1_MODE for clearance adding configuration docs for tinyusb_config.h document HID mouse & keyboard API hathach 2013-10-24 15:32:54 +07:00
  • 2076e57d70 working on doxygen hathach 2013-10-22 11:09:39 +07:00