summaryrefslogtreecommitdiff
path: root/tinyusb/class/msc_device.c
AgeCommit message (Collapse)Author
2013-12-13able to get connect status change interrupt occuredhathach
2013-12-09add keyboard led maskhathach
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
2013-12-01fix potential wrong endpoint handle for stalling unsupported scsi commandhathach
2013-12-01correct stall & clear stall behavior for non-control pipehathach
fix data_residue when read10, write10 return 0 (no need for BE conversion)
2013-11-30completely change the dcd for lpc11u & lpc13u to overcome the fact that ↵hathach
lpc11u dma cannot transfer more than 64 bytes each buffer. This implement an soft DMA for lpc11u & lpc13u (previously 1023 max) queued transfer
2013-11-26house keepinghathach
2013-11-26change endian conversion to native to be & be to nativehathach
completely deferred xfer isr event to usbd task complete read10, write10 sequence for large data transfer
2013-11-25refractor usbd taskhathach
move control request data into task event adding tusbd_msc_read10_cb, tusbd_msc_write10_cb (not fully supported)
2013-11-21refractor usbd-dcd callback, add bus event isrhathach
2013-11-15fix build error with device 43xxhathach
refractor mscd ramdisk demo
2013-11-14complete double buffering for queueing xfer for lpc11u/13u requried by msc ↵hathach
device
2013-11-13able to build and run cdc device demo on lpc11uxxhathach
2013-11-05msc add supporthathach
- SCSI_CMD_MODE_SELECT_6 - SCSI_CMD_MODE_SENSE_6 - SCSI_CMD_PREVENT_ALLOW_MEDIUM_REMOVAL fix msc device bug with no data unsupported command complete msc device demo with ram disk of 8KB
2013-11-01added support forhathach
- sense data scsi_sense_fixed_data_t - read format capacity scsi_read_format_capacity_data_t change msc device callback to support actual response fix dcd_pipe_clear_stall also reset toggle
2013-11-01add dcd pipe clear stallhathach
- 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
2013-11-01implement msc device classhathach
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 NOTEs: somehow unable to get endpoint IN interrupt with ioc