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  
				
					
						
							
							
								 
						
							
							
								c1b2c191c4 
								
							
								 
							
						 
						
							
							
								
								Improved Downstream error handling:  
							
							... 
							
							
 
							
							- More sensible handling of error cases on SPI interface
- Improved Freakout macros
- Implemented automatic fault LED blinking 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0e1fed6047 
								
							
								 
							
						 
						
							
							
								
								Full implementation of Downstream MSC interface, including significant  
							
							... 
							
							
 
							
							modifications to USB host MSC.
Also, minor tweaks to Upstream. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								b9b6123642 
								
							
								 
							
						 
						
							
							
								
								Commit of Downstream before diving into USB MSC class driver  
							
							... 
							
							
 
							
							modifications.
Also correct project settings to compile for Cortex M4 architecture. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								674cb621a7 
								
							
								 
							
						 
						
							
							
								
								Initial implementation of Downstream SPI interface and state machine.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								b271e038a3 
								
							
								 
							
						 
						
							
							
								
								More refactoring in Upstream project  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								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... 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								7b4e4b3c14 
								
							
								 
							
						 
						
							
							
								
								Continued polishing work on Downstream project.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								503d79de56 
								
							
								 
							
						 
						
							
							
								
								Streamlining Downstream project  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								55c8a21aad 
								
							
								 
							
						 
						
							
							
								
								Initial commit of Downstream template project.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								8f41552214 
								
							
								 
							
						 
						
							
							
								
								Updated STM32 library from v1.4.0 to v1.7.0  
							
							... 
							
							
 
							
							Significant changes to:
 - stm32f4xx_hal_spi.c
 - stm32f4xx_hal_gpio.c
 - stm32f4xx_ll_usb.c
 - usbd_core.c
 - usbd_ctrlreq.c 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								18e2218280 
								
							
								 
							
						 
						
							
							
								
								Fixed Eclipse's Debug and Release configurations  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								aa72df1bbf 
								
							
								 
							
						 
						
							
							
								
								Minor tweaks to downstream interface  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d3da69eb07 
								
							
								 
							
						 
						
							
							
								
								Draft implementation of downstream SPI interface. Significant mods  
							
							... 
							
							
 
							
							required to USB MSC class, mainly in usbd_msc_scsi.c. Currently
untested! 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5acf8bbb88 
								
							
								 
							
						 
						
							
							
								
								Add OpenOCD config file for Olimex STM32-H405 development board.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								6d7d86b2f5 
								
							
								 
							
						 
						
							
							
								
								Initial commit!  
							
							... 
							
							
 
							
							Upstream (device) firmware builds, emulates a small USB block device
filled with zeroes. 
							
						 
						
							11 years ago