hathach 
							
						 
					 
					
						
						
							
						
						fffe8b547d 
					 
					
						
						
							
							- ehci: free error TD for recovery  
						
						
						
						
					 
					
						2013-04-10 02:40:09 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						2d7fbb5153 
					 
					
						
						
							
							change keyboard_app.c & mouse_app.c from polling API to interrupt-based (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-10 02:34:40 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e14aa4197d 
					 
					
						
						
							
							change osal_queue_send(osal_queue_handle_t const queue_hdl, uint32_t data) signature to osal_queue_send(osal_queue_handle_t const queue_hdl, const void * data)  
						
						... 
						
						
						
						- support any size queue message (instead of fixed uint32_t) 
						
						
					 
					
						2013-04-10 01:18:32 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						a6cf4f228e 
					 
					
						
						
							
							add tusbh_hid_mouse_isr & tusbh_hid_keyboard_isr callback with xfer_complete & error event  
						
						
						
						
					 
					
						2013-04-09 03:13:27 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c036efff1d 
					 
					
						
						
							
							adding code to allow configure MIC2555 to pull down D+/D- (still need bit bangding I2C on PB_0 PB_1)  
						
						... 
						
						
						
						add back port reset after get 8 bytes of device descriptor 
						
						
					 
					
						2013-04-09 02:13:18 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ef850984da 
					 
					
						
						
							
							move MCU define to tusb_option.h, fix the ATTR with USB RAM  
						
						... 
						
						
						
						hack: add delay before the very first xfer when enumerating (finalize later
after reading USB 2.0 specs) 
						
						
					 
					
						2013-04-08 03:45:31 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						27f860db9f 
					 
					
						
						
							
							rename hidh_keyboard_info_t to hidh_interface_info_t  
						
						... 
						
						
						
						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-07 05:09:18 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						24ade0458e 
					 
					
						
						
							
							fix compiling error for tests project  
						
						... 
						
						
						
						start to add support for host hid mouse 
						
						
					 
					
						2013-04-07 03:53:53 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						1776bb53f6 
					 
					
						
						
							
							add hal init for USB1 and trying to get USB1 working  
						
						... 
						
						
						
						add hack delay 100 ms after a port reset (huge) for correct speed detection 
						
						
					 
					
						2013-04-07 03:40:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						68dddefe7b 
					 
					
						
						
							
							add control xfer for ehci controller fake: ehci_controller_control_xfer_proceed  
						
						... 
						
						
						
						refractor test code 
						
						
					 
					
						2013-04-05 14:00:37 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						fcb8e295ec 
					 
					
						
						
							
							clean up, update tests for hcd_port_reset after 8 byte descriptor & set configure before open class driver  
						
						
						
						
					 
					
						2013-03-29 23:37:59 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e658e67ebe 
					 
					
						
						
							
							fix the damn bug within 10 line of code in keyboard_app.c  
						
						
						
						
					 
					
						2013-03-29 00:20:27 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						7b5d9edc5a 
					 
					
						
						
							
							add test for pipe_interrupt_xfer  
						
						... 
						
						
						
						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-27 11:51:44 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						b0ff7a7e23 
					 
					
						
						
							
							add code & test for hidh_isr (set status for keyboard)  
						
						
						
						
					 
					
						2013-03-26 17:04:55 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ac905a8d09 
					 
					
						
						
							
							rename pipe_status_t to tusb_interface_status_t  
						
						... 
						
						
						
						add tusbh_hid_keyboard_status & test code 
						
						
					 
					
						2013-03-26 16:39:25 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0b08dc7724 
					 
					
						
						
							
							fix  bug with enum task skipping decriptor  
						
						
						
						
					 
					
						2013-03-26 14:18:14 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						205a21ff04 
					 
					
						
						
							
							add code for hidh close  
						
						... 
						
						
						
						refractor the full configure descriptor parsing in enum task 
						
						
					 
					
						2013-03-26 13:45:14 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						3c767e9f44 
					 
					
						
						
							
							add field to endpoint maxpacketsize (mult)  
						
						... 
						
						
						
						refractor hidh_open_subtask & hidh_keyboard_open
add ATTR_PACKED_STRUCT(x)
- TODO remove ugly pre_pack & post pack 
						
						
					 
					
						2013-03-26 13:07:42 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						03d045ecde 
					 
					
						
						
							
							- put ATTR_UNUSED to hardfault handler variables to discard compiler warning  
						
						... 
						
						
						
						- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t* 
						
						
					 
					
						2013-03-26 12:14:04 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						54acee1fc8 
					 
					
						
						
							
							start merge hidh_keyboard back to hidh  
						
						
						
						
					 
					
						2013-03-26 11:41:41 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						a7e8a2ba9a 
					 
					
						
						
							
							pass all the current tests  
						
						
						
						
					 
					
						2013-03-26 02:06:30 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						086a8e4a2d 
					 
					
						
						
							
							add flag_supported_class to usbh_devices  
						
						... 
						
						
						
						remove all ATTR_WEAK in init,open,isr,close driver functions of USBH-CLASS API
- prefer testing 
						
						
					 
					
						2013-03-26 02:02:54 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						d0a73f4b0d 
					 
					
						
						
							
							add several helper function  
						
						... 
						
						
						
						add test & code for hidh_keyboard_open_subtask
- skip parsing HID descriptor for keyboard 
						
						
					 
					
						2013-03-25 17:39:22 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c026a9f2e0 
					 
					
						
						
							
							remove obsolete TUSB_CFG_HOST_HID_KEYBOARD_ENDPOINT_SIZE  
						
						... 
						
						
						
						temporarily ignore test for hid_host.c due to ceedling linking issue with weak symbol
implement hidh_open_subtask driver to subclass open
rename hidh_keyboard_install to hidh_keyboard_open_subtask 
						
						
					 
					
						2013-03-25 16:02:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						56cd8be75e 
					 
					
						
						
							
							change website from tinyusb.net to tinyusb.org  
						
						
						
						
					 
					
						2013-03-25 11:46:30 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						20a22d956d 
					 
					
						
						
							
							changing the hcd_pipe_close behavior  
						
						... 
						
						
						
						- bulk/int/iso pipe can only be closed as part of unmount/safe remove process
add test for interrupt_close 
						
						
					 
					
						2013-03-25 11:04:37 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						b15694bc5f 
					 
					
						
						
							
							fix potential bug when insert new queue head to list  
						
						
						
						
					 
					
						2013-03-24 22:24:27 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						62f5ec8a0f 
					 
					
						
						
							
							period_frame_list0 is not existed if period list is not required  
						
						
						
						
					 
					
						2013-03-24 21:53:41 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c7c993d6cc 
					 
					
						
						
							
							refractor hidh keyboard  
						
						... 
						
						
						
						changing class hidh behavior 
						
						
					 
					
						2013-03-24 21:40:49 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						a1b17be681 
					 
					
						
						
							
							add class flags  
						
						... 
						
						
						
						change keyboard_info_pool to keyboard_data 
						
						
					 
					
						2013-03-24 17:29:07 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						92c137243d 
					 
					
						
						
							
							refractor  
						
						... 
						
						
						
						- rename usbh_device_info_pool to usbh_devices
- create a struct for control pipe in usbh_device_info_t 
						
						
					 
					
						2013-03-24 16:44:59 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ea04815bbc 
					 
					
						
						
							
							rename sem_hdl in usbh_device_info_t control_sem_hdl  
						
						
						
						
					 
					
						2013-03-24 16:22:58 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						55ce5cc4a2 
					 
					
						
						
							
							add TUSB_DEVICE_STATE_INVALID_PARAMETER to tusb_device_state_t  
						
						
						
						
					 
					
						2013-03-24 16:05:50 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						439a3134b9 
					 
					
						
						
							
							refractor  
						
						... 
						
						
						
						- rename tusbh_device_status_get to tusbh_device_get_state
- replace tusbh_device_status_t by tusb_device_state_t 
						
						
					 
					
						2013-03-24 16:02:45 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ce63980386 
					 
					
						
						
							
							clean up:  
						
						... 
						
						
						
						- refractor tusb_handle_device_t device_hdl to uint8_t dev_addr
add keyboard_app.c/h 
						
						
					 
					
						2013-03-24 15:50:49 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e6630af5a4 
					 
					
						
						
							
							clean up  
						
						
						
						
					 
					
						2013-03-23 23:43:25 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0c5e0ef0f3 
					 
					
						
						
							
							- add control_pipe_status for usbh_device_info_t to reflect the status transfer of control pipe  
						
						... 
						
						
						
						- fix bug with hcd_port_reset
  + remove regs->portsc_bit.port_enable in the wait loop as device unplugged can cause this to always fails
- correct the timeout for hcd_controll_stop/reset 16 uframes ~ 2 ms
- potentially fix bugs device unplugged when new address is not assigned 
						
						
					 
					
						2013-03-23 18:36:43 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						44e09cc397 
					 
					
						
						
							
							enhance some tests  
						
						... 
						
						
						
						add test for usbh_isr error invoke
fix bug if device unplugged before is set to new address
- clean up & close control addr0 in usbh_device_unplugged_isr 
						
						
					 
					
						2013-03-23 17:31:51 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						4adfc6a6d8 
					 
					
						
						
							
							change signature usbh_isr to add tusb_bus_event_t parameter  
						
						... 
						
						
						
						change singature of call_isr as well 
						
						
					 
					
						2013-03-23 15:00:56 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e6b8166a58 
					 
					
						
						
							
							house keeping  
						
						
						
						
					 
					
						2013-03-23 14:27:32 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e14864759d 
					 
					
						
						
							
							refractor  
						
						... 
						
						
						
						- rename TUSB_DEVICE_STATE_READY to TUSB_DEVICE_STATE_CONFIGURED
- move device_state to core/tusb_types.h
- remove usbh_device_hcd_data_cleaned_up_cb, hcd now set the state directly 
						
						
					 
					
						2013-03-23 12:13:02 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						d7ba86c85e 
					 
					
						
						
							
							refractor  
						
						... 
						
						
						
						- rename usbh_device_info_t.status to state
- rename enum TUSB_DEVICE_STATUS_* to TUSB_DEVICE_STATE_* 
						
						
					 
					
						2013-03-23 11:34:51 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0c6d406ddf 
					 
					
						
						
							
							- house keeping  
						
						... 
						
						
						
						- add controller id for hal_interrupt_enable/disable 
						
						
					 
					
						2013-03-23 10:56:41 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ae9b9ead7a 
					 
					
						
						
							
							continue clean up ehci  
						
						
						
						
					 
					
						2013-03-23 10:23:37 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						58b252b3f1 
					 
					
						
						
							
							clean up ehci  
						
						
						
						
					 
					
						2013-03-23 10:14:47 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						8beb749761 
					 
					
						
						
							
							clean up  
						
						
						
						
					 
					
						2013-03-23 09:57:08 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						660440d69c 
					 
					
						
						
							
							refractor extract to function qtd_remove_1st_from_qhd  
						
						
						
						
					 
					
						2013-03-23 02:56:17 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						eddaa8394b 
					 
					
						
						
							
							fix issue with Interrupt Async Advance  
						
						... 
						
						
						
						- only acknowledge interrupt that we check 
						
						
					 
					
						2013-03-23 02:51:41 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						53a4164b39 
					 
					
						
						
							
							use DO PING for highspeed out bulk  
						
						
						
						
					 
					
						2013-03-22 21:50:07 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						397d62db10 
					 
					
						
						
							
							fix bug: adjust all bulk queue head from ehci_data.device  
						
						
						
						
					 
					
						2013-03-22 21:21:00 +07:00