Robert Fisk
c3738a8657
Create .bin file in post-build project setting
6 years ago
Robert Fisk
91126cef4f
Fixed eclipse project settings & debug configurations
...
Conflicts:
Downstream/.cproject
Downstream/Downstream Debug.launch
Downstream/Downstream Release.launch
Upstream/.settings/language.settings.xml
Upstream/Upstream Debug.launch
Upstream/Upstream Release.launch
7 years ago
Robert Fisk
e362c953be
Fix project build settings
7 years ago
Robert Fisk
bdcb77cabb
Initial implementation of mouse bot detection
...
Conflicts:
Downstream/.cproject
Upstream/.cproject
Upstream/.settings/language.settings.xml
7 years ago
Robert Fisk
3de7a190f8
Change Upstream release build optimisation to -O3
8 years ago
Robert Fisk
b96c539088
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 :)
8 years ago
Robert Fisk
ae8284e800
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
f3109d9d43
Mouse Upstream code half-done.
9 years ago
Robert Fisk
46d31ebc1e
Enable parallel builds
9 years ago
Robert Fisk
58308c4a89
Added Mozilla Public License information to file headers.
...
Mozilla Public License v2.0 is compatible with the various licenses used
by ST and ARM.
9 years ago
Robert Fisk
b9cc31d036
Crazy hardware issues, about to revert Upstream SPI from DMA to
...
interrupt transfers
9 years ago
Robert Fisk
f24714cd8c
Revisit Upstream project to:
...
- Implement Upstream state machine, with Downstream-dependent device
emulation
- Add fault LED flashing
- Improve fault handling and freakouts
- Misc bug fixes
9 years ago
Robert Fisk
b9b6123642
Commit of Downstream before diving into USB MSC class driver
...
modifications.
Also correct project settings to compile for Cortex M4 architecture.
9 years ago
Robert Fisk
b271e038a3
More refactoring in Upstream project
9 years ago
Robert Fisk
4350666330
Refactor a bunch of stuff in Upstream project to avoid endless confusion
...
with Downstream project.
Also fixed a couple of things in upstream_spi.c and
upstream_interface_msc.c but due to file rename the diff is not
obvious...
9 years ago
Robert Fisk
18e2218280
Fixed Eclipse's Debug and Release configurations
9 years ago
Robert Fisk
69d1490faa
Upstream debugged and working again, emulating a 128MB storage device.
...
Implemented mock downstream_interface_msc.c for debugging purposes.
Multiple bugfixes and tweaks to:
- downstream_interface_msc.c
- downstream_spi.c
- usbd_core.c
- usbd_msc.c
- usbd_msc_scsi.c
- stm32f4xx_hal_pcd.c
9 years ago
Robert Fisk
aa72df1bbf
Minor tweaks to downstream interface
9 years ago
Robert Fisk
d3da69eb07
Draft implementation of downstream SPI interface. Significant mods
...
required to USB MSC class, mainly in usbd_msc_scsi.c. Currently
untested!
9 years ago
Robert Fisk
6d7d86b2f5
Initial commit!
...
Upstream (device) firmware builds, emulates a small USB block device
filled with zeroes.
10 years ago