hathach
2502be94f7
suppres compiler warning transfer of control bypasses initialization
2014-03-13 23:52:26 +07:00
hathach
ad72db5aea
change IAR TUSB_CFG_ATTR_USBRAM to _Pragma("location=\".ahb_sram1\"") instead of @ .ahb_sram1 so that we can place it before the variable for a cleaner code
...
change pipe xfer API buffer from void* to uint8_t*
change FIFO_DEF to have a separated buffer to be compatible with IAR\
refractor IAR data alignment pragma
2014-03-10 13:13:13 +07:00
hathach
dcc58a7afc
refractor app_os_prio.h
2014-03-06 11:37:37 +07:00
hathach
b5ce076d8d
increase msc host app task stack size to 512 so that copy command can be executed
2014-03-02 18:11:30 +07:00
hathach
5f8f046eaa
refractor remove tusbh_msc_is_failed
...
increase usbh enum task from 150 to 200 due to stack overflow when mounting msc device
added task for msc host freeRTOS with stack = 300 (still cannot execute copy command)
2014-02-28 18:42:33 +07:00
hathach
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
NOTEs: somehow unable to get endpoint IN interrupt with ioc
2013-11-01 12:11:26 +07:00
hathach
15c80a9580
clean up
2013-10-16 12:35:55 +07:00
hathach
1263dbb122
enhacne msc demo, update IAR project file
2013-10-02 13:32:39 +07:00
hathach
18b3179bc6
refractor msc host app examples
2013-10-01 16:11:34 +07:00
hathach
640b0ec546
- move disconnection handle to enum task --> move tusbh_xxx_unmount is invoked in non-isr context
2013-10-01 13:53:54 +07:00
hathach
3cc169f2fd
able to mount one device on the hub
2013-09-30 15:16:23 +07:00
hathach
bfa96ae9da
fix an "extra" semaphore wait in msc host
2013-09-27 23:23:45 +07:00
hathach
eb1a101667
house keeping
2013-09-27 22:38:23 +07:00
hathach
0268e0b787
added clear screen command
2013-09-26 15:04:02 +07:00
hathach
9d60db0f9f
add scsi write10 & test unit ready
...
done copy command
implement get_fattime using __DATE__ and number of calls
2013-09-26 14:37:40 +07:00
hathach
89898acd5d
almost complete cli for msc
2013-09-25 19:52:05 +07:00
hathach
1fee50b9fe
add tusbh_msc_status
...
reanme PRINTF_TARGET_DEBUG_CONSOLE to PRINTF_TARGET_SEMIHOST
add read10 implementation
able to read fat root sector
2013-09-25 16:20:38 +07:00
hathach
cf65f859be
working on fatfs integration
...
fix retarget input for lpcxpresso
2013-09-25 11:23:53 +07:00
hathach
c4fef827b1
refractor, add wheel for mouse demo
2013-09-23 01:12:59 +07:00
hathach
a8a10e8650
added read capacity 10 with hacking code
2013-09-22 23:54:44 +07:00
hathach
cc91a73cdc
fix pingstate for highspeed bulk out transfer
...
temp implementation of msc host --> can issue inquiry command
2013-09-22 18:44:55 +07:00
hathach
f8f398a681
start to add msc host, fix dangerous problem with unstable device when plugged --> 200 ms delay. 50ms delay after each port reset
2013-09-20 23:53:48 +07:00