bbad577d43 
								
							
								 
							
						 
						
							
							
								
								Implement read/write indication on the fault LEDs  
							
							... 
							
							
 
							
							Conflicts:
	Downstream/Inc/build_config.h
	Downstream/Src/downstream_msc.c
	Downstream/Src/led.c
	Upstream/Inc/build_config.h
	Upstream/Src/led.c 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								0b75f7d1c6 
								
							
								 
							
						 
						
							
							
								
								(add forgotten files)  
							
							... 
							
							
 
							
							Conflicts:
	Upstream/Src/upstream_statemachine.c 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1147d2ebf9 
								
							
								 
							
						 
						
							
							
								
								Implemented Stop/Eject command passthrough  
							
							... 
							
							
 
							
							Conflicts:
	Downstream/.cproject
	Downstream/Inc/downstream_interface_def.h
	Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Src/usbh_msc.c
	Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Src/usbh_msc_scsi.c
	Downstream/Src/downstream_msc.c
	Upstream/Inc/upstream_interface_def.h
	Upstream/Inc/upstream_msc.h
	Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.c
	Upstream/Src/upstream_msc.c 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1b0b99ebbd 
								
							
								 
							
						 
						
							
							
								
								Sanity-check Upstream MSC parameters received from Downstream  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								086158525b 
								
							
								 
							
						 
						
							
							
								
								Ignore mass storage commands after receiving SCSI stop/eject  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								88d4cd6ca3 
								
							
								 
							
						 
						
							
							
								
								Allow longer constant-speed motion before blocking  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e780948ff2 
								
							
								 
							
						 
						
							
							
								
								Tweak bot detect parameter  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e4fe983da5 
								
							
								 
							
						 
						
							
							
								
								Jump detection now measures entire length of movement, not just the  
							
							... 
							
							
 
							
							proportion above the jump velocity threshold.
Also tweaked constant acceleration parameters. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								418bba1706 
								
							
								 
							
						 
						
							
							
								
								Constant acceleration detector now blocks mouse movement well before  
							
							... 
							
							
 
							
							causing a full lockout 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f1bb58e8c2 
								
							
								 
							
						 
						
							
							
								
								Maintain constant acceleration counter for several seconds, on the  
							
							... 
							
							
 
							
							assumption that a mouse bot would wait until the human stops using the
mouse before starting to do anything bad. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8403c9ee93 
								
							
								 
							
						 
						
							
							
								
								Restore jiggle detection.  
							
							... 
							
							
 
							
							This is no longer taken care of by the constant acceleration detector,
so we need to do it explicitly 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d6f66e67bd 
								
							
								 
							
						 
						
							
							
								
								Reset mouse velocity history on each movement  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3d91aa2115 
								
							
								 
							
						 
						
							
							
								
								Implement random-movement credit in the constant acceleration detector.  
							
							... 
							
							
 
							
							This makes it more forgiving of constant acceleration mid-movement, if
the beginning of the movement looks random. Handy for mice that for some
reason generate bot-like constant velocities. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7e4af61910 
								
							
								 
							
						 
						
							
							
								
								Tweak keyboard lockout threshold  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7638e39f67 
								
							
								 
							
						 
						
							
							
								
								Mouse botdetect config comments  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0c3c3a033c 
								
							
								 
							
						 
						
							
							
								
								Remove jiggle detector as the constant-acceleration detector already  
							
							... 
							
							
 
							
							does the same job. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								84bd03b539 
								
							
								 
							
						 
						
							
							
								
								Implemented jiggle detection  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8c6d54d110 
								
							
								 
							
						 
						
							
							
								
								Tweaks to mouse jump detection  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b052645faa 
								
							
								 
							
						 
						
							
							
								
								Mouse jump detection implmented  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								324f115476 
								
							
								 
							
						 
						
							
							
								
								Implement mouse acceleration pulse timing. Doesn't work on realistic  
							
							... 
							
							
 
							
							inputs. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0baf8ea52b 
								
							
								 
							
						 
						
							
							
								
								Extend 'fast' key histogram out to 300ms  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2deea5a646 
								
							
								 
							
						 
						
							
							
								
								Added error band comparison to velocity matching  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f7b7ce84e7 
								
							
								 
							
						 
						
							
							
								
								Initial implementation of mouse bot detection  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								302bca3690 
								
							
								 
							
						 
						
							
							
								
								Re-implement keyboard bot detection based on timing histograms, rather  
							
							... 
							
							
 
							
							than maximum typing speed. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								441caf6768 
								
							
								 
							
						 
						
							
							
								
								Tweaks to HID keyboard bot detection  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fa00fd95dd 
								
							
								 
							
						 
						
							
							
								
								HID BotDetect functionality debugged and working:  
							
							... 
							
							
 
							
							- Implement advanced LED flash support
 - Tweak HAL_SPI_TransmitReceive to tolerate a longer SysTick interrupt
 - Tune KEYBOARD_BOTDETECT parameters
 - L-shift and R-shift are now high-speed alphanumeric keys 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								02f6842723 
								
							
								 
							
						 
						
							
							
								
								HID keyboard bot detection mostly implemented. Needs more advanced LED  
							
							... 
							
							
 
							
							flash code, and testing. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fc7d0b67d7 
								
							
								 
							
						 
						
							
							
								
								Enable all config options by default  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								cf1d5da8e8 
								
							
								 
							
						 
						
							
							
								
								Build options complete & tested:  
							
							... 
							
							
 
							
							- Implement SCSI WP flag in mode parameter header
 - Refactor #ifdef names
 - #ifdef out more HID code 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3a94c2c863 
								
							
								 
							
						 
						
							
							
								
								Implemented optional build for mass storage, keyboard, and mouse  
							
							... 
							
							
 
							
							(Upstream). Also implemented read-only mass storage mode.
Todo:
 - Test. Everything!!!
 - Report write protect flag in SCSI "mode parameter header" (whatever
that is) 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								46ecbd410d 
								
							
								 
							
						 
						
							
							
								
								After an epic battle, suspend/resume/wakeup is now supported.  
							
							... 
							
							
 
							
							It turns out that suspend support on the STM32 USB core is buggy as
heck. Host mode cannot resume after suspend, and device mode cannot
receive resume or send wakeup signalling.
I managed to fake resume support by keeping Downstream and our connected
device running at full power, and simulating a wakeup event to the host
by disconnecting/reconnecting Upstream from the host. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								bc2bf01cbe 
								
							
								 
							
						 
						
							
							
								
								Keyboard support implemented, but not tested  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								9b2b8972a4 
								
							
								 
							
						 
						
							
							
								
								Incomplete and untested implementation of keyboard support  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								637f67fc14 
								
							
								 
							
						 
						
							
							
								
								Implement dynamic crystal frequency selection based on board revision.  
							
							... 
							
							
 
							
							Also fixed minor issue in hardware revision-detection function. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								6c96824da8 
								
							
								 
							
						 
						
							
							
								
								Implement multi-PID support so that Windows will recognise each device  
							
							... 
							
							
 
							
							class as a separate device. 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								0d2d4d6341 
								
							
								 
							
						 
						
							
							
								
								Implement flash write lockout by spamming the unlock register, then  
							
							... 
							
							
 
							
							checking that the correct unlock sequence fails. 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								1262c5337a 
								
							
								 
							
						 
						
							
							
								
								All tabs to spaces  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								08c8c7a6d6 
								
							
								 
							
						 
						
							
							
								
								Code tidyup - remove unused SPI Tx-only and Rx-only routines  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d48815d8d9 
								
							
								 
							
						 
						
							
							
								
								IT. WORKS. !!!!!!!  
							
							
 
							
						 
						
							10 years ago