summaryrefslogtreecommitdiff
path: root/tinyusb/host/ehci
AgeCommit message (Collapse)Author
2013-09-24allow a limited model to deal with stalled pipe/transactionhathach
added stall clear & able to mount the stupid toshiba thumb drive add HCD pipe API - bool hcd_pipe_is_busy(pipe_handle_t pipe_hdl); - bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl); - uint8_t hcd_pipe_get_endpoint_addr(pipe_handle_t pipe_hdl); - tusb_error_t hcd_pipe_clear_stall(pipe_handle_t pipe_hdl); remove tusbh_device_mount_failed_cb (not neccessary for user)
2013-09-24add some tests support for msc hosthathach
refractor msch buffer for getting inital scsi like inquiry, read capacity adding support for resovling stall on control pipe
2013-09-23refractor hcd API to allow queue xfer without actually transferring datahathach
2013-09-22added read capacity 10 with hacking codehathach
2013-09-22fix pingstate for highspeed bulk out transferhathach
temp implementation of msc host --> can issue inquiry command
2013-09-21house keeping, clean up warningshathach
2013-09-21house keepinghathach
2013-09-20start to add msc host, fix dangerous problem with unstable device when ↵hathach
plugged --> 200 ms delay. 50ms delay after each port reset
2013-09-19starting to add support for IAR workbenchhathach
2013-09-13integrate & able to run cmsis-rtx with current code basehathach
2013-07-06refractor qhd_xfer_error_isr (omit xfer_type para)hathach
add accumulated total xferred byte for an endpoint until transfer with IOC set - control xfer will have length of data phase in usbh_xfer_isr callback
2013-07-06refractor ehci.c adding qhd_get_xfer_typehathach
2013-07-05change usbh_control_xfer_subtask to use flat API instead of passing ↵hathach
tusb_control_request_t struct
2013-07-04no big deal, only rename tusb_std_request_t to tusb_control_request_thathach
2013-07-02update usbh_xfer_isr to take actual byte transferred and correct testshathach
2013-07-02add way to calculate the actual byte transferred with ehcihathach
add come callback for cdch add code for cdc serial demo
2013-07-02add tusbh_cdc_serial_is_mounted APIhathach
test for cdch close driver
2013-07-02extract qhd_xfer_error_isrhathach
add support for period list in xfer_error_isr pass period TUSB_EVENT_XFER_ERROR & TUSB_EVENT_XFER_STALLED tests
2013-07-02refractor extract list_nexthathach
add support for TUSB_EVENT_XFER_STALL add test for error/stall in periodic list
2013-07-01refractor codehathach
2013-07-01add cdc host driver close cdch_closehathach
refractor - add helper function in ehci qhd_next & qtd_next - extract function qhd_create_pipe_handle rename tusb_transfer_type_t to tusb_xfer_type_t add some handling for stall
2013-07-01change control xfer check in usbh_xfer_isrhathach
rename - async_list_process_isr to async_list_xfer_complete_isr - period_list_process_isr to period_list_xfer_complete_isr extract function void qhd_xfer_complete_isr(ehci_qhd_t * p_qhd, tusb_transfer_type_t xfer_type)
2013-07-01rename usbh_isr to usbh_xfer_isrhathach
2013-06-23add custom bulk out testhathach
2013-06-22fix bug with custom class that terminate xfer after the first QTDhathach
2013-06-21add api for hcd: hcd_pipe_is_idlehathach
add api for usbh: tusbh_device_get_mounted_class_flag implement api for custom class - is mounted - read
2013-06-21[host lpc43xx] adding support for host custom classhathach
refractor usbh class driver indexing opt out periodic list code in EHCI (need to refractor/group later) [device lpc176x] rename dcd_endpoint_configure to dcd_pipe_open add usbd_pipe_open to manage pipe
2013-05-09test clean uphathach
2013-05-06add log2_of and use this function in get_period_headhathach
2013-05-06change format of file header & license spacinghathach
2013-04-28clean up mainhathach
2013-04-25implement hcd_port_speed_gethathach
move port reset & speed detection from isr context to usbh enumeration task - decrease time in isr significantly from 50 ms to 580us fix bug with osal_task_delay for freeRTOS buil
2013-04-22fix compiler error for USB1 to none in ehci.chathach
rename and moving bsp ea4357
2013-04-22change config to use USB0 onlyhathach
fix some compiler warnings
2013-04-21complete the support for correct polling of 1ms 2ms 4ms 8mshathach
2013-04-21separate fake ehci's run async & period listhathach
refractor list_find_previous_item & list_remove_qhd to act on ehci_link_t* instead of ehci_qhd_t* fully support 1ms, 2ms, 4ms, 8ms for period list (each list has a dummy queue head) - change period list structure limit the maximum polling interval to 256 ms add max_loop static MAX number of iteration for list_find_previous_item add test for close 256ms polling interrupt
2013-04-21rename nxp_sof_received to nxp_int_sofhathach
implementing freeRTOS integration change get_period_frame_list from using lst_idx to hostid (fix bug) adding polling interval supported for interrupt: 1ms, 2ms, 4ms, 8ms - add interval_ms to get_period_head function - add bInterval to qhd_init - add support for sub-frame (less than 8 micro frames) interval - add bunch of test for interrupt different intervals
2013-04-10- ehci: free error TD for recoveryhathach
2013-04-10change keyboard_app.c & mouse_app.c from polling API to interrupt-based ↵hathach
(callback isr) and using OSAL for task-base demo - fix ehci error with XFER_COMPLETE callback to usbh_isr, TD need to be freed & unlink before invoking callback - fix bug in usbh.c set device state to CONFIGURED right after SET_CONFIGURE control xfer
2013-04-09adding code to allow configure MIC2555 to pull down D+/D- (still need bit ↵hathach
bangding I2C on PB_0 PB_1) add back port reset after get 8 bytes of device descriptor
2013-04-07rename hidh_keyboard_info_t to hidh_interface_info_thathach
rename tusb_bus_event_t to tusb_event_t add test_mouse_init and more stuff for hidh mouse move delay after port reset to only for speed detection prioritize port change interrupt over xfer interrupt - in case of unplugged, current connect change & xfer error both set - xfer error only break to debugger if not because of unplugged fix bug: set dev addr0 state to UNPLUG after close its control pipe in enumeration process
2013-04-07fix compiling error for tests projecthathach
start to add support for host hid mouse
2013-04-07add hal init for USB1 and trying to get USB1 workinghathach
add hack delay 100 ms after a port reset (huge) for correct speed detection
2013-04-05add control xfer for ehci controller fake: ehci_controller_control_xfer_proceedhathach
refractor test code
2013-03-29clean up, update tests for hcd_port_reset after 8 byte descriptor & set ↵hathach
configure before open class driver
2013-03-27add test for pipe_interrupt_xferhathach
implement keyboard app code - forcefully place keyboard_report in RAM section 3 change used bit in qtd from reserved in buffer[1] to alternate link add code for fake ehci controller runs on period interrupt change signature of tusbh_hid_keyboard_get_report - tusb_keyboard_report_t* to uint8_t* implement period (interrupt) complete isr processing
2013-03-26add field to endpoint maxpacketsize (mult)hathach
refractor hidh_open_subtask & hidh_keyboard_open add ATTR_PACKED_STRUCT(x) - TODO remove ugly pre_pack & post pack
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-25changing the hcd_pipe_close behaviorhathach
- bulk/int/iso pipe can only be closed as part of unmount/safe remove process add test for interrupt_close
2013-03-24fix potential bug when insert new queue head to listhathach