b08c70fe02 
								
							
								 
							
						 
						
							
							
								
								Fixed bug in Upstream MSC. I have no idea why it worked before...  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9918cfcb19 
								
							
								 
							
						 
						
							
							
								
								Mouse WORKS!11111 ...but only in boot mode, so no scroll wheel :(  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								b7298c5f65 
								
							
								 
							
						 
						
							
							
								
								Restructure & bugfix Upstream HID. Still some issue with Downstream...  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4d9e26b6ef 
								
							
								 
							
						 
						
							
							
								
								Upstream HID bugfixes.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								cda254c8bb 
								
							
								 
							
						 
						
							
							
								
								Downstream HID SPI interface done, untested.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								56e8b99ae5 
								
							
								 
							
						 
						
							
							
								
								Downstream mouse support working!  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e8a445a071 
								
							
								 
							
						 
						
							
							
								
								Work on Downstream HID support. Also a bunch of random tweaks.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4c40373a32 
								
							
								 
							
						 
						
							
							
								
								Upstream HID mouse support probably done, not tested yet.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								c3c4d47145 
								
							
								 
							
						 
						
							
							
								
								Mouse Upstream code half-done.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								1db6ab1272 
								
							
								 
							
						 
						
							
							
								
								Tweak OpenOCD readme again...  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								40bf652845 
								
							
								 
							
						 
						
							
							
								
								Tweak OpenOCD readme.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4615f2c740 
								
							
								 
							
						 
						
							
							
								
								Tweak product strings again  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								6886ccd2d4 
								
							
								 
							
						 
						
							
							
								
								Tweak device descriptor strings  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								59ae1cb45c 
								
							
								 
							
						 
						
							
							
								
								Revert "Initial commit of ST Cube HID drivers"  
							
							... 
							
							
 
							
							This reverts commit 08068c25d4 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								08068c25d4 
								
							
								 
							
						 
						
							
							
								
								Initial commit of ST Cube HID drivers  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								8df2be05af 
								
							
								 
							
						 
						
							
							
								
								Update Readme to point to the wiki  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								b9c1b23e4b 
								
							
								 
							
						 
						
							
							
								
								Supported device classes that fail sanity checks are now reported with a  
							
							... 
							
							
 
							
							slow 'unsupported device' flash, rather than a fast 'freakout' flash. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0d2d4d6341 
								
							
								 
							
						 
						
							
							
								
								Implement flash write lockout by spamming the unlock register, then  
							
							... 
							
							
 
							
							checking that the correct unlock sequence fails. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9d966d4e89 
								
							
								 
							
						 
						
							
							
								
								Tidy up misc files and settings  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e94aea019e 
								
							
								 
							
						 
						
							
							
								
								Moved OpenOCD config to its own folder  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e308d3350b 
								
							
								 
							
						 
						
							
							
								
								USG v1.0 beta WORKS!!!!!11  
							
							... 
							
							
 
							
							So apparently the STM32F401's SPI DMA is even more buggy than the 405's.
Worked around an intermittent stall/timeout by busy-waiting Upstream's
packet length transmission and reception, instead of DMA-ing it like the
packet body. Ugh... 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								25ff531917 
								
							
								 
							
						 
						
							
							
								
								Tweaks to 1.0 firmware. Not completely working yet :(  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e29ef84861 
								
							
								 
							
						 
						
							
							
								
								Modify firmware for v1.0 hardware with STM32F401RC micro:  
							
							... 
							
							
 
							
							- Processor-specific header
 - Startup file
 - Linker script
 - Project settings
 - Debugger config script
 - Debugger project settings
 - Board revision detection routines 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								41605ab0d5 
								
							
								 
							
						 
						
							
							
								
								Added BOM with Digikey part numbers, and a cool part-combinater-o-tron  
							
							... 
							
							
 
							
							macro.
Also zipped the gerbers. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								64b823980b 
								
							
								 
							
						 
						
							
							
								
								Hardware v1.0 beta complete, ready for fabrication  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9256c7e27d 
								
							
								 
							
						 
						
							
							
								
								Initial commit of v1.0 hardware. Schematic done, layout in progress.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								1262c5337a 
								
							
								 
							
						 
						
							
							
								
								All tabs to spaces  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								08e6846cc5 
								
							
								 
							
						 
						
							
							
								
								Add missing option to clock configuration  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								21de622469 
								
							
								 
							
						 
						
							
							
								
								Added hardware check on bootup: fault LED will light if Upstream  
							
							... 
							
							
 
							
							firmware is placed on Downstream hardware or vice versa. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2983da24b2 
								
							
								 
							
						 
						
							
							
								
								Changed Upstream and Downstream SPI transfers back to DMA. DMA works  
							
							... 
							
							
 
							
							correctly now, either because SPI is in 16-bit mode, or because I found
all the other bugs!
Doubled SPI baudrate to 10.5Mbps. Transfer speed now limited (again) by
Downstream's lack of FIFO buffering in the USB host controller.
Also disabled DMA transaction half-complete interrupt in
stm32f4xx_hal_dma.c, as it wasn't doing anything useful. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								cd663a0651 
								
							
								 
							
						 
						
							
							
								
								Two bugfixes for Upstream's SPI packet handling:  
							
							... 
							
							
 
							
							- Use asynchronous free packet callback for Upstream_MSC_BeginRead
- Upstream_MSC_BeginWrite freed packet too early 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d643fbdf87 
								
							
								 
							
						 
						
							
							
								
								Previous commit missed an unsupported-device-flash-LED check.  
							
							... 
							
							
 
							
							NOTE: Downstream's full-speed host controller is flakey when connecting
to low-speed devices. One mouse enumerates on only 50% of connection
events, while another mouse enumerates on 90% of connections. Grrr. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								226e163adf 
								
							
								 
							
						 
						
							
							
								
								Improve Downstream error handling:  
							
							... 
							
							
 
							
							- Slow flash fault LED when unsupported device connected
- Disconnect downstream USB host on error 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3eb95c683c 
								
							
								 
							
						 
						
							
							
								
								Add images for wiki.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5e85aa069d 
								
							
								 
							
						 
						
							
							
								
								Remove generated files from Upstream/Debug/ folder  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								431a527e24 
								
							
								 
							
						 
						
							
							
								
								Tidy up commented DMA init code  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								dda307dbe5 
								
							
								 
							
						 
						
							
							
								
								Readme!  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2e3293e84f 
								
							
								 
							
						 
						
							
							
								
								Increase SPI interface speed 4x, to 5.25Mbps. Required modifications to  
							
							... 
							
							
 
							
							SPI peripheral library. At this speed SPI requires ~60% CPU time at -Og
optimisation level. This could be further improved by trimming down the
SPI interrupt. But...
Speed is now limited by Downstream's single-packet-per-URB restriction,
to about 460kB/s. USB Middleware does not implement TX FIFO empty
interrupt, so a bit of work is required here. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5cd9ddbd98 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'MassiveDebug'  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								08c8c7a6d6 
								
							
								 
							
						 
						
							
							
								
								Code tidyup - remove unused SPI Tx-only and Rx-only routines  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d48815d8d9 
								
							
								 
							
						 
						
							
							
								
								IT. WORKS. !!!!!!!  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								ce03845623 
								
							
								 
							
						 
						
							
							
								
								Completed moving Upstream to interrupt-based SPI.  
							
							... 
							
							
 
							
							Although I am not entirely convinced this is necessary, as the SPI data
stall issue only appeared with optimisation off (-O0). Perhaps re-visit
this if Upstream needs more free CPU time later... 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								b9cc31d036 
								
							
								 
							
						 
						
							
							
								
								Crazy hardware issues, about to revert Upstream SPI from DMA to  
							
							... 
							
							
 
							
							interrupt transfers 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								48a6c2e2a4 
								
							
								 
							
						 
						
							
							
								
								Bugfixes for Downstream, including one in the USB host stack!  
							
							... 
							
							
 
							
							Downstream now enumerates and accepts attached USB storage devices. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								750c2f3a21 
								
							
								 
							
						 
						
							
							
								
								- Implement notification of Downstream USB device removal, and  
							
							... 
							
							
 
							
							corresponding Upstream disconnection
- Improve Upstream handling of TxOk signal from Downstream
- Misc tweaks 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								fc522bae0a 
								
							
								 
							
						 
						
							
							
								
								Added priority elevation to Downstream USB host processing code that  
							
							... 
							
							
 
							
							interacts with SPI.
It elevates to USB_OTG priority to avoid preemption by SPI, DMA, or USB
interrupts thus avoiding synchronisation issues between USB host stack
and SPI interface.
Also minor improvements to Downstream error handling. 
							
						 
						
							10 years ago