Dean Lee
69d7394e5c
boardd: check fw version when connecting ( #28823 )
...
* Check fw version when connecting
* apply reviews
* mv to boardd
* don't keep looping
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b9cffac29c
2 years ago
Igor Biletskyy
d1b891c419
CAN health packet v5 ( #28534 )
...
initial
old-commit-hash: 6a64d9fd55
2 years ago
Adeeb Shihadeh
d9f9d3caae
boardd spi: prevent busy wait when TX buffers full ( #28599 )
...
old-commit-hash: 4c6f7b5c84
2 years ago
Adeeb Shihadeh
c945ddf8ef
pandad: update time from RTC ( #28466 )
...
* pandad: update time from RTC
* Update pandad.py
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4a0b5dacbb
2 years ago
Adeeb Shihadeh
4ab84b5dc1
thermald: common min date ( #28457 )
...
* thermald: common min date
* add to release files
old-commit-hash: d96361970b
2 years ago
Adeeb Shihadeh
380be7b25c
boardd: log system and RTC time before sync ( #28461 )
...
old-commit-hash: 6bf1f81859
2 years ago
Adeeb Shihadeh
c9125c6a25
pandad: test release -> devel bootstub reflash ( #28330 )
...
* test
* release bootstubs
* rm that
* fixup
* skip earlier
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 28980cf4c6
2 years ago
Adeeb Shihadeh
7d3047fb9a
Revert "boardd: smaller spi chunk size ( #28360 )"
...
This reverts commit 77ff5bd39780dd1a665399cd6df599042ab1469c.
old-commit-hash: 87364b6a81
2 years ago
Robbe Derks
edc8384d6f
fix typos
...
old-commit-hash: ede75c9e9b
2 years ago
Adeeb Shihadeh
5ff24ee5bb
boardd: smaller spi chunk size ( #28360 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 702e4120e6
2 years ago
Adeeb Shihadeh
53c8f9b782
boardd: less spam msgs on PC ( #28353 )
...
old-commit-hash: c67759c7f0
2 years ago
Comma Device
8a91f7cd30
boardd: only look for new usb pandas
...
old-commit-hash: 78df554217
2 years ago
Adeeb Shihadeh
716ffecb14
boardd: set min spi timeout
...
old-commit-hash: ea1e0a16dd
2 years ago
Comma Device
8459bf03ed
boardd: lower timeout for getting serial
...
old-commit-hash: 18559f4135
2 years ago
eFini
f702f7e478
pandad: app_path -> app_fn ( #28253 )
...
* Fix pandad.py
Should be `app_fn` instead of `app_path`?
* fw path
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b2e32a7ef8
2 years ago
Adeeb Shihadeh
29efcea415
spi: handle timeout more like usb ( #28249 )
...
old-commit-hash: 038d2264aa
2 years ago
Adeeb Shihadeh
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
Adeeb Shihadeh
9ed5feca61
boardd: longer loopback test ( #28239 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2014b10ec3
2 years ago
Adeeb Shihadeh
9d2c73eacb
boardd: match panda python lib ack bytes ( #28225 )
...
old-commit-hash: 885e1edf96
2 years ago
Shane Smiskol
3627c5c7f6
boardd: log when sendcan is dropped ( #28224 )
...
* log when we drop sendcan
* log both
* i don't want to touch that
* llu
* noo
old-commit-hash: c722120a88
2 years ago
Adeeb Shihadeh
4b78de735c
fix loopback test safety setting ( #28184 )
...
* fix loopback safety setting
* pandad: catch and log all exceptions
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 437fcc6582
2 years ago
Shane Smiskol
a14463cbe3
onroad transition: clear params and start safety setter thread ( #28151 )
...
* rename from ignition to onroad/offroad
* forgot one
* clear in manager
* don't clear in boardd anymore
fix
* params isn't used here
* add comment
* Revert "add comment"
This reverts commit 54fb666050
.
* write params in manager
* first part is self explanatory
* remove these from thermald now
* start safety setter thread with IsOnroad
* drivesss
* more
* less
* come back
* makes sense here
old-commit-hash: b8fa7f58ea
2 years ago
Shane Smiskol
33a15d6e94
update boardd blocking comment
...
old-commit-hash: d738f66711
2 years ago
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 55b2f42932
.
* Revert "more debugging"
This reverts commit 02934c3403
.
* Revert "annoying"
This reverts commit 8b4e5e0998
.
* 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