Robert Fisk
c68151698b
Bugfixes for keyboard support: works!!!
8 years ago
Robert Fisk
bc2bf01cbe
Keyboard support implemented, but not tested
8 years ago
Robert Fisk
9b2b8972a4
Incomplete and untested implementation of keyboard support
8 years ago
Robert Fisk
5c18898611
Bugfix to allow reconnecting HID devices
8 years ago
Robert Fisk
8aec6a6ca3
Fix for occasional problem when attaching mouse after powerup.
...
It turned out we were getting a "device disconnected" interrupt while
waiting for the port to enable following reset. Simply ignoring the
disconnect interrupt allows everything to work! WTF...
8 years ago
Robert Fisk
975f2d00af
Fix dynamic crystal frequency detection based on board revision
8 years ago
Robert Fisk
85f965eaa0
Fix for occasional timeout on writes...
...
...Downstream was not always changing state correctly after closely
spaced interrupts.
Also improve flash-write-lockout function to avoid dependency on
optimisation level.
8 years ago
Robert Fisk
6b67970f6b
Tweak USB middleware to avoid compiler warning
8 years ago
Robert Fisk
637f67fc14
Implement dynamic crystal frequency selection based on board revision.
...
Also fixed minor issue in hardware revision-detection function.
8 years ago
Robert Fisk
8c30d81521
Tweak USB descriptor string
8 years ago
Robert Fisk
4234dabd27
Use debugger's SRST to simultaneously reset both micros.
8 years ago
Robert Fisk
a152cb6037
Ignore Mass Storage subclass, and try to talk with transparent SCSI
...
anyway. This may or may not be helpful!
9 years ago
Robert Fisk
05f71ca098
Implemented FIFO support in Downstream host, significant speed increase!
...
Each USB transaction passed to the driver now consists of multiple
64-byte packets. 8 packets when receiving, 4 packets when transmitting.
The STM32 silicon bugs out when more than 4 packets are scheduled to
write at a time :(
Reads 1.0MB/sec, writes 967kB/sec, not CPU limited :)
9 years ago
robertfisk
45fc86699a
Update README.md
9 years ago
Robert Fisk
f9b7416df0
Sleep instead of busy-wait, approx 50% power reduction!
9 years ago
Robert Fisk
5d393a0100
HID class: handle host restart gracefully
9 years ago
Robert Fisk
6d52d3b8fc
Merge branch 'HID_parse_error_check' into USG_1.0
9 years ago
Robert Fisk
bca451bf05
Improve HID parser error checking
9 years ago
Robert Fisk
b4326d8ffa
Improve handling of >8bit input values
9 years ago
Robert Fisk
6c96824da8
Implement multi-PID support so that Windows will recognise each device
...
class as a separate device.
9 years ago
Robert Fisk
a64b89175e
Improved HID report parser compatibility
9 years ago
Robert Fisk
650d10f22c
Support disconnect/reconnect of attached HID device
9 years ago
Robert Fisk
18e811b4ee
HID report parser now handles collections.
9 years ago
Robert Fisk
c78f5b1150
HID parser and wheel support works!
9 years ago
Robert Fisk
fd14db8ccb
Implemented HID report parser. Untested!
9 years ago
Robert Fisk
6f944a33db
Fixed click-drag issue.
...
TODO: find out why 8-byte device interrupt endpoints totally fail.
WTF???
9 years ago
Robert Fisk
a5f4e52e02
More work on enumerating cheap POS mice, arrrrgh.
...
Added timeout checks and retry functionality to control transaction
state machine. But some times the device just won't talk, so we flash
the fault LED slowly to give the user some clue about what happened.
9 years ago
Robert Fisk
474b95e475
Remove unused HID header
9 years ago
Robert Fisk
b80b99d9ec
Fixed enumeration issues with low-speed devices:
...
- Unexpected second port-connected interrupt on cold boot with low-speed
device connected.
- Retry on failure to get device descriptor. (We still fail after three
attempts, but that is better than failing after the first one!)
Also changed eclipse project to use external builder.
9 years ago
Robert Fisk
2ae9850438
Add HID files that went missing in merge
9 years ago
Robert Fisk
cde20e2fce
Merge branch 'HID_devel' into USG_1.0
9 years ago
Robert Fisk
b08c70fe02
Fixed bug in Upstream MSC. I have no idea why it worked before...
9 years ago
Robert Fisk
9918cfcb19
Mouse WORKS!11111 ...but only in boot mode, so no scroll wheel :(
9 years ago
Robert Fisk
b7298c5f65
Restructure & bugfix Upstream HID. Still some issue with Downstream...
9 years ago
Robert Fisk
4d9e26b6ef
Upstream HID bugfixes.
9 years ago
Robert Fisk
cda254c8bb
Downstream HID SPI interface done, untested.
9 years ago
Robert Fisk
56e8b99ae5
Downstream mouse support working!
9 years ago
Robert Fisk
e8a445a071
Work on Downstream HID support. Also a bunch of random tweaks.
9 years ago
Robert Fisk
4c40373a32
Upstream HID mouse support probably done, not tested yet.
9 years ago
Robert Fisk
c3c4d47145
Mouse Upstream code half-done.
9 years ago
Robert Fisk
a366a425fd
Messing with debug configurations again.
...
Our custom OpenOCD scripts are now linked directly into the Eclipse
debug configurations. No need to manually copy the files into OpenOCD's
script directory.
9 years ago
robertfisk
1db6ab1272
Tweak OpenOCD readme again...
9 years ago
robertfisk
40bf652845
Tweak OpenOCD readme.
9 years ago
Robert Fisk
4615f2c740
Tweak product strings again
9 years ago
Robert Fisk
6886ccd2d4
Tweak device descriptor strings
9 years ago
Robert Fisk
59ae1cb45c
Revert "Initial commit of ST Cube HID drivers"
...
This reverts commit 08068c25d4
.
9 years ago
Robert Fisk
08068c25d4
Initial commit of ST Cube HID drivers
9 years ago
robertfisk
8df2be05af
Update Readme to point to the wiki
9 years ago
Robert Fisk
90e236561d
Increase Downstream's host command timeout to 5 seconds. It turns out
...
some flash drives can take up to 2 seconds to write a single block.
9 years ago
Robert Fisk
b9c1b23e4b
Supported device classes that fail sanity checks are now reported with a
...
slow 'unsupported device' flash, rather than a fast 'freakout' flash.
9 years ago