be0626f7e3 
								
									
								
							
								 
							
						 
						
							
							
								
								improved safe_ioctl ( #35908 )  
							
							... 
							
							
 
							
							* improved safe_ioctl
* readability
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* use correct ioctl command
* ameliorated api
* use try/catch to prevent spi_fd leak
* Update common/util.h
* use correct ioctl command
* error log message is more readable
---------
Co-authored-by: Test User <test@example.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							3 months ago  
				
					
						
							
							
								 
						
							
							
								38318db4c6 
								
							
								 
							
						 
						
							
							
								
								pandad: lower log level for low level error  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								8939e3a30b 
								
									
								
							
								 
							
						 
						
							
							
								
								pandad: fix return value in spi_transfer ( #34082 )  
							
							... 
							
							
 
							
							zero 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								50dd024081 
								
							
								 
							
						 
						
							
							
								
								pandad/SPI: ensure slave is in a consistent state ( #32645 )  
							
							... 
							
							
 
							
							* maxout
* get ready for the next one
* really get ready
* much better
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f8cb04e4a8 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								bc76ae701b 
								
							
								 
							
						 
						
							
							
								
								fix linter  
							
							... 
							
							
 
							
							old-commit-hash: 260e18f0ae 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d2948c3fcd 
								
							
								 
							
						 
						
							
							
								
								pandad: add more context to spi logs ( #32639 )  
							
							... 
							
							
 
							
							* pandad: add more context to spi logs
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e828a7bdcf 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								2c6829ed67 
								
							
								 
							
						 
						
							
							
								
								boardd is pandad ( #32628 )  
							
							... 
							
							
 
							
							* boardd is pandad
* rename tests
old-commit-hash: 34e329649d 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5e2cc23cec 
								
							
								 
							
						 
						
							
							
								
								boardd: SPI corruption test ( #32404 )  
							
							... 
							
							
 
							
							* simple test
* little more
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: dcfb206a38 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								0d9aad726e 
								
							
								 
							
						 
						
							
							
								
								boardd: fix SPI return code on some transfer failures ( #32401 )  
							
							... 
							
							
 
							
							old-commit-hash: 4af50cee63 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								f18c7e9b9d 
								
							
								 
							
						 
						
							
							
								
								boardd: add debug flag for injecting SPI errors ( #32346 )  
							
							... 
							
							
 
							
							* pull out ll first
* errors
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2d838f95da 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								004a097c95 
								
							
								 
							
						 
						
							
							
								
								cpplint: add `readability/braces` filter ( #29554 )  
							
							... 
							
							
 
							
							old-commit-hash: 363740a497 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								32a6898820 
								
							
								 
							
						 
						
							
							
								
								boardd: reduce jitter around nacks ( #29123 )  
							
							... 
							
							
 
							
							* reduce jitter
* Update selfdrive/boardd/spi.cc
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4cb8da91d7 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								ac33a1208e 
								
							
								 
							
						 
						
							
							
								
								boardd: use full buffer size  
							
							... 
							
							
 
							
							old-commit-hash: d2fa746b12 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b8de120d86 
								
							
								 
							
						 
						
							
							
								
								boardd: read spi resp len with ack ( #28966 )  
							
							... 
							
							
 
							
							old-commit-hash: 3390f1e1df 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								d9f9d3caae 
								
							
								 
							
						 
						
							
							
								
								boardd spi: prevent busy wait when TX buffers full ( #28599 )  
							
							... 
							
							
 
							
							old-commit-hash: 4c6f7b5c84 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								7d3047fb9a 
								
							
								 
							
						 
						
							
							
								
								Revert "boardd: smaller spi chunk size ( #28360 )"  
							
							... 
							
							
 
							
							This reverts commit 77ff5bd39780dd1a665399cd6df599042ab1469c.
old-commit-hash: 87364b6a81 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								5ff24ee5bb 
								
							
								 
							
						 
						
							
							
								
								boardd: smaller spi chunk size ( #28360 )  
							
							... 
							
							
 
							
							Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 702e4120e6 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								53c8f9b782 
								
							
								 
							
						 
						
							
							
								
								boardd: less spam msgs on PC ( #28353 )  
							
							... 
							
							
 
							
							old-commit-hash: c67759c7f0 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								716ffecb14 
								
							
								 
							
						 
						
							
							
								
								boardd: set min spi timeout  
							
							... 
							
							
 
							
							old-commit-hash: ea1e0a16dd 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								8459bf03ed 
								
							
								 
							
						 
						
							
							
								
								boardd: lower timeout for getting serial  
							
							... 
							
							
 
							
							old-commit-hash: 18559f4135 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								29efcea415 
								
							
								 
							
						 
						
							
							
								
								spi: handle timeout more like usb ( #28249 )  
							
							... 
							
							
 
							
							old-commit-hash: 038d2264aa 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								6dc5e28ef9 
								
							
								 
							
						 
						
							
							
								
								boardd: handle nack on tx buffer full ( #28241 )  
							
							... 
							
							
 
							
							* boardd: handle nack on tx buffer full
* print pandaStates
* rx buffer too small
* connect timeout
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e4a37620ee 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9d2c73eacb 
								
							
								 
							
						 
						
							
							
								
								boardd: match panda python lib ack bytes ( #28225 )  
							
							... 
							
							
 
							
							old-commit-hash: 885e1edf96 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1b2cb4e7a5 
								
							
								 
							
						 
						
							
							
								
								boardd: bump spi to 50MHz  
							
							... 
							
							
 
							
							old-commit-hash: 71819b2282 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3163033279 
								
							
								 
							
						 
						
							
							
								
								boardd: retry on bad SPI RX data len ( #27314 )  
							
							... 
							
							
 
							
							Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 341eb2e0fd 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0970d900a2 
								
							
								 
							
						 
						
							
							
								
								MacOS: build fixes ( #27143 )  
							
							... 
							
							
 
							
							* MacOS: exclude common/gpio.cc
* MacOS: no spi for boardd
* MacOS: loggerd: no v4l_encoder.cc
* MacOS: update libdbc path for cabana
old-commit-hash: fdc4a7f84c 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								bf804f25bf 
								
							
								 
							
						 
						
							
							
								
								boardd: connect to SPI panda by UID ( #27035 )  
							
							... 
							
							
 
							
							* move list
* connect by serial
* cleanup hw serial
* little more
* rm excessive print
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 66ff2de0a2 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fdfc06fc59 
								
							
								 
							
						 
						
							
							
								
								lower spi log level  
							
							... 
							
							
 
							
							old-commit-hash: e710dc1b7e 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b798a92225 
								
							
								 
							
						 
						
							
							
								
								boardd: lock spi device ( #26937 )  
							
							... 
							
							
 
							
							* lock spi
* bump panda
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 11da83d2b5 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								dda7913a33 
								
							
								 
							
						 
						
							
							
								
								boardd: misc spi fixes ( #26670 )  
							
							... 
							
							
 
							
							old-commit-hash: 9cc06e9ea6 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8e88116dba 
								
							
								 
							
						 
						
							
							
								
								boardd: SPI bulk read + write ( #26462 )  
							
							... 
							
							
 
							
							* bulk read
* write
* write
* fix write
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 714ab491b0 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								cec416ac66 
								
							
								 
							
						 
						
							
							
								
								boardd: verify SPI checksum ( #26454 )  
							
							... 
							
							
 
							
							* verify checksum
* import from panda
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f5bf3cd21b 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								461206de1c 
								
							
								 
							
						 
						
							
							
								
								boardd: SPI support ( #26374 )  
							
							... 
							
							
 
							
							* spi handle
* put usb back
* handle eintr
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ba9a5107b 
							
						 
						
							3 years ago