Commit Graph

117 Commits

Author SHA1 Message Date
hathach
25ea8f9c9e update configuration parser 2021-09-14 21:02:38 +07:00
hathach
f47e5402fa add msc workaround for cxd56 2021-09-07 13:30:51 +07:00
hathach
fa030075c2 Revert "Fix for MSC during stage STATUS"
This reverts commit 2e23f3dd72.
2021-09-06 19:26:28 +07:00
Kamil Tomaszewski
2e23f3dd72 Fix for MSC during stage STATUS 2021-09-03 18:13:45 +02:00
hathach
15fa2f447b add back edpt check before cbw, since bot reset can occurred any time 2021-09-01 16:53:12 +07:00
hathach
90dc9bc289 revert previous changes, edpt stall also clear any pending (not complete) transfer 2021-09-01 12:42:45 +07:00
hathach
ab0c3e8dd0 fix rp2040 chapter 9 TD 9.6 test 2021-08-31 17:41:08 +07:00
hathach
fdf1ff545f responding with status per-spec in test case 4 2021-08-29 15:44:27 +07:00
hathach
4e3ed8159e passed all USBCV bot complaince test 2021-08-29 13:34:47 +07:00
hathach
ee18cc42f2 msc handle more test, passed Command Self Test compliant 2021-08-29 12:06:10 +07:00
hathach
be98cd56c7 update msc to be more robuse
add more log, pass more complaint test
2021-08-29 00:29:29 +07:00
hathach
53ea1e1324 fix msc test case 8 and 10 2021-08-27 23:52:59 +07:00
hathach
c6b9f8a530 fix msc case 3 complaint test 2021-08-27 23:33:11 +07:00
hathach
e01239ccc9 more msc refactoring 2021-08-27 20:05:56 +07:00
hathach
2667ce6981 fix BOT case 2 test compliant 2021-08-27 17:50:02 +07:00
hathach
893dceb198 refactor msc device 2021-08-27 17:30:02 +07:00
hathach
032770682e minor clean up 2021-08-27 13:18:51 +07:00
hathach
9394de6ae7 update msc driver to pass MSC BOT error recovery compliant test 2021-08-27 12:38:41 +07:00
hathach
137dff620b add option to silent a driver log 2021-07-13 20:41:28 +07:00
hathach
6e2cf2a3ee clean up log 2021-06-02 00:10:35 +07:00
hathach
9736e54734 include clean up 2021-05-27 17:40:39 +07:00
hathach
c26875e70d add TUP_MCU_STRICT_ALIGN macro that manually pick bytes for lpc55 port1 that is m4 but cannot unaligned acces on usb ram 2021-04-26 17:42:49 +07:00
HiFiPhile
b3c0d417ef Fix error if "Required Prototype" is selected.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2020-12-20 23:10:34 +01:00
hathach
f5e13d5898 msc only invoke scsi complete callback after status transaction is complete 2020-11-24 23:42:30 +07:00
hathach
3c31d08051 merge class driver control_request & control_complete to control_xfer_cb()
migrated msc_device
2020-11-19 21:01:33 +07:00
hathach
01b9b77d3b allow application driver to overwrite built-in one
- position application driver before built-in
- remove dcd.h from public include.
2020-08-07 14:47:32 +07:00
hathach
9bf2b33366 correct isr context for nrf DCD_EVENT_UNPLUGGED
also rename debug lookup to prevent conflict
2020-08-01 12:02:59 +07:00
hathach
5ca748a68e rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-07-16 15:34:16 +07:00
Mengsk
57b553e023 Fix IAR warnings.
Pa039 : use of address of unaligned structure member.
Pe188: enumerated type mixed with another type.
2020-06-17 10:08:33 +02:00
hathach
fb214f7cf7 rename to drv_len to be consistent 2020-05-28 13:57:49 +07:00
hathach
10cd3f24bf initial transfer failed in open() shouldn't cause the driver open to fail. 2020-05-28 13:48:02 +07:00
hathach
89a3d1f6d1 update hid open() 2020-05-28 11:19:12 +07:00
hathach
7a15d2e0d2 improve msc 2020-05-28 00:56:33 +07:00
hathach
e340404968 changing usbd driver open() return type, add max_len
only done with cdc and msc, push this interim for feedback first
2020-05-27 19:01:59 +07:00
hathach
10e035241f house keeping 2020-04-22 23:04:21 +07:00
hathach
e713b534fa test ok with cdc and msc 2020-04-15 10:30:34 +07:00
Nathan Conrad
7f6316dbe1 Use CRLF on UART. 2020-03-14 14:26:14 -04:00
Nathan Conrad
25c1bea782 Normalize line endings 2020-01-15 14:47:43 -05:00
hathach
605129eb66 invoke scsi complete callback before queue for csw status
there is racing issue with samd + qspi flash testing with arduino
otherwise.
2019-12-24 21:24:43 +07:00
hathach
bbada1d3e6 adding lookup table for debugging
add msc scsi command list
2019-12-23 18:54:06 +07:00
hathach
421221baa5 making more progress, but failed with WRITE10
incorrect queue 448 bytes instead of 512
2019-12-21 23:51:57 +07:00
hathach
050fa2fd39 able to response to scsi inquiry, but failed to response to test unit ready 2019-12-21 19:33:41 +07:00
hathach
fe1eadf177 fix #229 2019-11-27 12:34:30 +07:00
hathach
fc86a308f6 clean up 2019-11-05 11:45:02 +07:00
hathach
79fbc0b23c wait for scsi status complete before queueing for next scsi command
fix #207
2019-11-01 18:43:18 +07:00
hathach
d0d87d98f6 add assert to prevent div by zero 2019-11-01 18:03:43 +07:00
hathach
aeea6754af rename lpc_usbd to lpc_ip3511 2019-09-01 16:44:40 +07:00
hathach
d2b60b6755 webusb work great with linux 2019-07-26 11:36:30 +07:00
hathach
56b656c768 Merge branch 'master' into develop 2019-07-24 17:08:19 +07:00
hathach
1ee9ef4f2b change tud_msc_start_stop_cb() to return void -> bool 2019-07-24 16:19:12 +07:00