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
hathach2013-12-11 11:31:09 +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
hathach2013-12-09 16:11:10 +07:00
b08ecda657
house keeping, lpc43xx works okie
hathach2013-12-09 11:57:09 +07:00
2af9ecbed5
refractor dcd lpc43xx control xfer (with int on complete)
hathach2013-12-09 11:49:34 +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
hathach2013-12-09 11:15:13 +07:00
24e92f79e7
adjust packet per TD for lpc13u is 1023, 11u is 64
hathach2013-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)
hathach2013-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
hathach2013-12-01 13:53:36 +07:00
d2f91af6b3
add some document for msc_device API
hathach2013-12-01 12:18:26 +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
hathach2013-11-30 22:29:37 +07:00
47d8af7111
complete msc demo with lpc13uxx with readonly flash
hathach2013-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
hathach2013-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)
hathach2013-11-25 16:42:04 +07:00
a5ba283557
change MCU to TUSB_CFG_MCU
hathach2013-11-25 12:48:27 +07:00
41ffcaf4a5
temp fix for dcd 43xx suspend detection (disconnection does not generate interrupt)
hathach2013-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
hathach2013-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
hathach2013-11-21 15:24:02 +07:00
c303154b7a
add class mounted callback for hid mouse/keyboard & refractor mouse/keyboard app
hathach2013-11-21 13:54:29 +07:00
d284ecaccb
add sw int_on_complete support for dcd lpc17xx
hathach2013-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
hathach2013-11-19 16:41:30 +07:00
94854f805a
get lpc17xx running through enumeration (with control data < 64)
hathach2013-11-18 17:29:12 +07:00
b104d21e71
fix dcd_pipe_control_xfer for dcd43xx refractor tusb_descriptors.h
hathach2013-11-16 22:16:03 +07:00
6e8440afe5
complete double buffering for queueing xfer for lpc11u/13u requried by msc device
hathach2013-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 !!!
hathach2013-11-13 14:00:39 +07:00
92d9c36dbc
able to build and run cdc device demo on lpc11uxx
hathach2013-11-13 12:40:11 +07:00
d8f32a79fc
technically, mouse + keyboard device demo also work on lpc13uxx
hathach2013-11-11 14:02:55 +07:00
9a81cbcd59
remove xfer_type in endpoint_handle_t cdc device demo runs on lpc13uxx
hathach2013-11-11 13:52:31 +07:00
f00a4b448d
adding support for lpc13uxx
hathach2013-11-11 12:48:21 +07:00
d02ef07337
added support for - sense data scsi_sense_fixed_data_t - read format capacity scsi_read_format_capacity_data_t
hathach2013-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
hathach2013-11-01 14:44:14 +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
hathach2013-11-01 12:11:26 +07:00
3a37dd66cc
refractor hid device add check dcd_pipe_open if endpoint is already used refractor usbd : parse and auto open class driver
hathach2013-10-30 14:13:06 +07:00
b8a7ea6d46
add dcd control pipe stall protocol
hathach2013-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
hathach2013-10-30 12:20:00 +07:00
d9ce879df8
able to enumerate mouse + keyboard (missing timing at set configured though)
hathach2013-10-29 17:16:41 +07:00
cb0a02f8c9
change device driver init to open (when configured) fix HID_REQUEST_CONTROL_SET_REPORT handle
hathach2013-10-29 16:29:48 +07:00
5ab195a73d
temporarily implementation of dcd_pipe_is_busy
hathach2013-10-29 15:09:16 +07:00
db986b3107
able to fully enumerated with keyboard
hathach2013-10-29 14:19:56 +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
hathach2013-10-27 19:34:36 +07:00