Adeeb Shihadeh
d99cb35ebd
pandad: improve startup time ( #28137 )
...
* pandad: improve startup time
* add test
* reset with gpio
* adjust threshold
* fix
* no panda
* fix
* check unknown
* increase for boardd
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4fe1b638f8
2 years ago
Robbe Derks
a3295aecd3
Continuous harness detection ( #28129 )
...
* log sbu voltages
* bump submodules
old-commit-hash: 6412340431
2 years ago
Willem Melching
b7311320aa
panda_comms.h add missing <string> include ( #28117 )
...
old-commit-hash: bd8a56cf30
2 years ago
Adeeb Shihadeh
a6f06fc98c
pandad: support GPIO recovery when in bootstub ( #28090 )
...
pandad: recover when in bootstub
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8a6312ef14
2 years ago
Adeeb Shihadeh
002683afab
boardd: reconnect when comms not healthy ( #28075 )
...
* boardd: reconnect when comms not healthy
* update comments
* fix
old-commit-hash: eb5ad17f8e
2 years ago
Adeeb Shihadeh
65df3f01d1
boardd: more logging ( #28051 )
...
old-commit-hash: a93f74a846
2 years ago
Adeeb Shihadeh
4e75b69f3a
boardd: log fan stall count ( #27984 )
...
* boardd: log fan stall count
* bump panda
* bump panda
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bda33a942f
2 years ago
Dean Lee
d7c7f67a18
boardd: fix scons warning "Two different environments were specified" ( #27949 )
...
old-commit-hash: 0534016b7b
2 years ago
Willem Melching
484eed0acf
cabana: support direct streaming from panda over USB ( #27936 )
...
* refactor livestream into devicestream
* add panda stream
* unused
* whitespace
* move logging to base class
* add cmdline args
* Update selfdrive/boardd/boardd.cc
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a981f5531
2 years ago
Adeeb Shihadeh
59abbc069e
set_time: remove extra print
...
old-commit-hash: af90b08acd
2 years ago
Adeeb Shihadeh
29eb4d3a35
pandad: wait for internal panda to come up ( #27705 )
...
* pandad: wait for internal panda to come up
* test
* more checks
old-commit-hash: f832a71038
2 years ago
Adeeb Shihadeh
faf3860d5a
set_time: use python library ( #27827 )
...
* set_time: use python library
* unused import
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d551a4c18e
2 years ago
Adeeb Shihadeh
1b2cb4e7a5
boardd: bump spi to 50MHz
...
old-commit-hash: 71819b2282
2 years ago
Adeeb Shihadeh
2673de7dfd
boardd: log SPI checksum errors ( #27818 )
...
* boardd: log SPI checksum errors
* bump panda
old-commit-hash: c8c458f0e7
2 years ago
Adeeb Shihadeh
ed72cae737
tizi tests in jenkins ( #27810 )
...
* add
* mv there for now
* mv
* single panda
* move into parallel
* longer timeout for dfu
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ff89184823
2 years ago
Adeeb Shihadeh
641c3e7654
add panda watchdog fault ( #27808 )
...
old-commit-hash: ad16b44528
2 years ago
Adeeb Shihadeh
fb52e81161
boardd: log voltage and current from panda ( #27789 )
...
* boardd: log voltage and current from panda
* bump cereal
old-commit-hash: d16ee6ecc8
2 years ago
Adeeb Shihadeh
809a79121b
tizi: add panda siren fault ( #27738 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3df2e55bee
2 years ago
Igor Biletskyy
7dfb32883a
boardd: fix uninitialized can_header ( #27685 )
...
old-commit-hash: d9487ab901
2 years ago
Shane Smiskol
06c07ff0fc
FPv2: don't multiplex second panda ( #27663 )
...
* fix this way
* or can fix this way
* simplify
* fix
old-commit-hash: a0e225e4af
2 years ago
Shane Smiskol
cdcf06e9e2
boardd: ability to switch between ELM safety params ( #27656 )
...
* indecisive
* rename to generic FW query
* remove code and update comment
* we need this to start off, unless we set multiplexing immediately
* draft
* draft 2
* try that
* can't do this either, boardd might read Enabled after removing, but before setting new Request param
* this should work
* use one less param
* fix params
* match behavior (set all pandas to safety param of 1, disabling multiplexing for fingerprinting
* clean up (some tests may temp break)
* fix param name and sort
* time it
* yes it does matter
* add to hyundai's bus 5 query
* remove hyundai for now
* this should work
* clean up
* clean up
* flip argument around, clean up
* fix test_startup
* some clean up
* rm line
* comment makes more sense
* required typing
* clean up common type
* comments
* Update selfdrive/car/car_helpers.py
* line
* whoops, need to set before vin!
* fix debug
* annoying
* more debugging
* bug fix (needs both keys always)
* debuGG
debuGG
* Revert "debuGG"
This reverts commit 55b2f429324c0b92d5cfb2cabf8b20db1e166248.
* Revert "more debugging"
This reverts commit 02934c3403ad5270f03093508b704c151d1ccb2a.
* Revert "annoying"
This reverts commit 8b4e5e09989f9a0217e3ec1c0ba68735929b7366.
* clean that up
* bumpback
* bumpback
* every second write param
* flip
* stuff
* move up?
* fix timing out in CI
* rm
old-commit-hash: 42449b482d
2 years ago
Adeeb Shihadeh
9f378b4857
bump panda ( #27510 )
...
* bump panda
* fix mypy
* bump panda
old-commit-hash: 5326c14b43
2 years ago
Adeeb Shihadeh
5d2d0c4b26
pandad unit tests ( #27516 )
...
* pandad unit tests
* only one
* in bootstub
* run in jenkins
* phone only
old-commit-hash: f7c15c1708
2 years ago
Shane Smiskol
cc456ad691
Honda Bosch: gather available ECUs from camera ( #27180 )
...
* add flag
* actually use in fw_versions.py
* simpler
* not here
* Comment
* better name
* add param and block
* keys
keys
* block
* with a value
with a value
* add query for bosch PT bus
* different name
* fix
* .
* fix test
fix test
* add cloulogs
* mark as logging
old-commit-hash: c4b84783a0
2 years ago
Adeeb Shihadeh
3163033279
boardd: retry on bad SPI RX data len ( #27314 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 341eb2e0fd
2 years ago
Adeeb Shihadeh
52c56ba162
boardd: update loopback test with new param
...
old-commit-hash: e07865fe4d
2 years ago
Adeeb Shihadeh
f0425412c1
boardd: enable fingerprinting with both multiplexed modes ( #27159 )
...
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0eeb69a5d0
2 years ago
Willem Melching
1ff9f69a57
panda.cc: fix possible heap overflow on wrong checksum ( #27151 )
...
* panda.cc: fix possible heap overflow on wrong checksum
* off by one
old-commit-hash: f17bca00ba
2 years ago
martinl
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
2 years ago
Adeeb Shihadeh
7848166abf
cleanup panda mcu definitions ( #27104 )
...
* cleanup panda mcu definitions
* cleanup panda mcu definitions
* bump
* panda master
old-commit-hash: 1d9b4c2248
2 years ago
Adeeb Shihadeh
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
2 years ago
Comma Device
fdfc06fc59
lower spi log level
...
old-commit-hash: e710dc1b7e
2 years ago
Adeeb Shihadeh
bbee5e6367
boardd: include SPI panda in list ( #27018 )
...
* boardd: include SPI panda in list
* hexlify
* fix hexlify
* cleanup
* little more
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b8ec32103a
2 years ago
ZwX1616
7a8ec7a0a0
boardd: retune LED curve for new autoexposure ( #26991 )
...
* use il only
* works on both
Co-authored-by: Comma Dev1ce <device@comma.ai>
old-commit-hash: e5931ed762
2 years ago
Adeeb Shihadeh
b798a92225
boardd: lock spi device ( #26937 )
...
* lock spi
* bump panda
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 11da83d2b5
2 years ago
Robbe Derks
f2cab9a00c
No more magic for the can chunks ( #26861 )
...
* remove magic and add checksum
* add comms reset
* bump submodule
old-commit-hash: 3136985b95
2 years ago
Adeeb Shihadeh
dda7913a33
boardd: misc spi fixes ( #26670 )
...
old-commit-hash: 9cc06e9ea6
3 years ago
Robbe Derks
d00e7ee24b
Simple CAN chunks ( #25373 )
...
* simple chunks
* more sizeofs
* fix unit tests
* bump panda
* bump panda
* don't fail for too little data
* bump panda
* bump panda
* bump panda
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fee6f2efac
3 years ago
Adeeb Shihadeh
a6f2f2d751
boardd: cleanup defs from panda ( #26628 )
...
* more stuff
* bump pnada
old-commit-hash: c3e3047080
3 years ago
Adeeb Shihadeh
1d152c074c
boardd: end peripheral panda discrimination
...
old-commit-hash: e9dcabcef7
3 years ago
Adeeb Shihadeh
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
Adeeb Shihadeh
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
Adeeb Shihadeh
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
Adeeb Shihadeh
5c123f01b4
boardd: prep for SPI + factor out USB ( #26356 )
...
* merge origin/spi-panda
* just prep
* boardd: factor out USB comms
* fix those
* add to release files
* little more
old-commit-hash: 06be96cae2
3 years ago
Adeeb Shihadeh
a9e3d43246
boardd: remove canfd whitelist
...
old-commit-hash: 9a8c7f2453
3 years ago
Shane Smiskol
2c335e4abf
boardd: don't multiplex OBD port on external pandas ( #26062 )
...
don't multiplex on ext pandas
old-commit-hash: bf5f9adcc8
3 years ago
Greg Hogan
1d4e4197e2
add CAN-FD non-ISO mode support ( #25947 )
...
CAN FD non-ISO support
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d5ef6f82e6
3 years ago
Adeeb Shihadeh
e631966207
add fault for invalid safety RX checks ( #25949 )
...
* add fault for invalid safety RX checks
* just a bool
* bump panda
old-commit-hash: 3068c48224
3 years ago
Dean Lee
f4c83e8d78
boardd: remove global variable pigeon_active ( #25926 )
...
old-commit-hash: badecfd060
3 years ago
Adeeb Shihadeh
a48ef1f640
set safety param for knockouts
...
old-commit-hash: 760d4e668e
3 years ago