Robbe Derks
694aae9c26
Faster log retrieval ( #1484 )
...
improve get_logs
2023-06-30 17:26:39 +02:00
Igor Biletskyy
a35e9a1edb
CAN health: add IRQ call and core reset counters ( #1453 )
...
* initial
* old method
* comment
2023-06-28 14:40:00 -07:00
Igor Biletksyy
8a8bcb865e
H7: clear irqs on reset
2023-06-28 12:39:47 -07:00
Igor Biletksyy
04f0c4261c
Revert "HITL tests: reset jungle on init ( #1473 )"
...
This reverts commit 1c574f8a99 .
2023-06-28 12:34:18 -07:00
Igor Biletskyy
73798d7dce
Disable CAN irqs when transceivers are disabled in power save mode ( #1485 )
...
init test
MISRA 15.7
2023-06-28 12:33:17 -07:00
Adeeb Shihadeh
945a379af9
tmp disable that
2023-06-27 16:10:10 -07:00
Igor Biletksyy
3a06eeec3c
bxCAN: check overrun flag on error irq
2023-06-27 16:03:43 -07:00
Igor Biletksyy
6309bb8a6a
Normal to have REC and TEC counters > 0, but less than threshould
2023-06-26 14:16:34 -07:00
Shane Smiskol
7babe4cf6f
query_fw_versions.py: fix undefined variable
2023-06-24 05:21:08 -07:00
Shane Smiskol
82cbc449b3
query_fw_versions: print rare and useful exception
2023-06-23 20:37:54 -07:00
Shane Smiskol
7af22677f7
CanClient: check invalid sub-addresses ( #1483 )
...
* check/catch invalid sub-addresses
* clean up
* break to next addr on first receipt of bad subaddr
2023-06-23 16:33:12 -07:00
Justin Newberry
b2cf197679
Subaru: Signals Cleanup ( #1470 )
...
cleanup
2023-06-23 21:00:59 +01:00
Shane Smiskol
7ec16c5edd
query_fw_versions: sub-address support ( #1482 )
...
* first draft
* cleaner and supports scanning all subaddrs for all addrs
* clean up
* full
* rm
* and now print
* revert
* consistency
* add comment
* add subaddr to tqdm description
* without a stupid `a = 1; if a == 1...` check, comment is best workaround
2023-06-22 20:15:42 -07:00
Igor Biletskyy
5889e3784f
H7: fix FDCAN_IR register check ( #1480 )
...
* init
* typo
* misra
* leftover
2023-06-21 18:56:10 -07:00
Adeeb Shihadeh
01887e03ba
HITL: temp disable tres dfu tests
2023-06-21 15:18:42 -07:00
Shane Smiskol
bcd8c57a70
uds: fix TypeError for invalid subfunctions ( #1474 )
...
fix TypeError
2023-06-20 23:17:57 -07:00
Adeeb Shihadeh
1c574f8a99
HITL tests: reset jungle on init ( #1473 )
...
Co-authored-by: Comma Device <device@comma.ai >
2023-06-20 19:34:05 -07:00
Igor Biletskyy
9d56e80390
Change can_health request method ( #1472 )
...
* init
* fix typo
* remove tx lost as fake and add rx lsot
2023-06-20 12:29:20 -07:00
Igor Biletskyy
0f4e8f79f5
add IRQ rate helper function ( #1471 )
...
init
2023-06-20 11:47:43 -07:00
Adeeb Shihadeh
58b80f3b77
H7: adjust SPI IRQ call rate ( #1469 )
...
* H7: adjust SPI IRQ call rate
* u
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-06-19 20:44:02 -07:00
Adeeb Shihadeh
6eb3a7324f
tres: enable fan overshoot test ( #1465 )
...
* tres: enable fan overshoot test
* rm
2023-06-16 21:56:11 -07:00
Adeeb Shihadeh
fdd898bd08
H7: split SPI/DMA faults ( #1466 )
2023-06-16 21:54:28 -07:00
Cameron Clough
55ef91d9ab
Ford: don't check vehicle roll quality flag ( #1461 )
2023-06-17 01:11:21 +01:00
Adeeb Shihadeh
c6283759e6
increase fan test timeout, can take a while to recover
2023-06-16 14:06:32 -07:00
Adeeb Shihadeh
fc994f5cf9
HITL: check FW version before every test ( #1463 )
2023-06-16 13:59:07 -07:00
Robbe Derks
054344de6b
Flash bounds checking outside of bootstub ( #1459 )
...
* add bounds checking on flash operations outside of bootstub
* fix test
2023-06-14 15:28:49 +02:00
Robbe Derks
116485443d
UART overwrite mode ( #1457 )
...
* overwrite mode
* typo
2023-06-14 13:33:47 +02:00
Igor Biletskyy
3a7a0e0bae
H7: fix lockup on disconnected bus ( #1431 )
...
* fix h7 lockup
* love MISRA!
* EW and EP isn't actual errors
* cleaner
* typo
* oops
* increase error limit before reset
2023-06-13 14:34:15 -07:00
Robbe Derks
0cc91a7f7b
Logging ( #1445 )
...
* try 1
* some fixes
* fix some misra
* first poc working
* more things
* more misra fixes
* fix misra
* add rate limiting
* fix misra
* add some unit tests through libpanda
* add more tests and fix some stuff
* fix misra again
* add startup log hitl test
* list
* don't fail on wrong timestamps
* improvements
* fix tests
* expected logs test?
* not sure why this passed
* oh, it doesn't reset
* only show last few
* guess at expected logs
* needs this
* ugh
* reduce compiler warnings
* adjust expected logs
* this is correct
* is it really 1?
* min max
* reduce spam in SPI test
* some cleanup
2023-06-13 17:00:56 +02:00
Adeeb Shihadeh
adc0c12f7b
HITL tests: enable flashing tests on tres
2023-06-11 19:56:09 -07:00
Adeeb Shihadeh
4850b13797
python: move wait into connect() ( #1456 )
...
* python: move wait into connect()
* cleanup
* set that
* add that back
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-06-11 19:06:46 -07:00
Robbe Derks
b563405904
Fix multiple resets due to not getting an ACK on reset ( #1450 )
...
* add send_once
* cleaner
* add debug log
* also in the USB one
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-06-09 16:25:49 +02:00
Adeeb Shihadeh
237f5bd6e4
fix debug console spam during IRQ call rate fault ( #1448 )
...
* fix debug console spam during IRQ call rate fault
* flip
* fix build
2023-06-08 11:31:50 -07:00
Adeeb Shihadeh
f2f596b342
more robust HITL test prep ( #1449 )
2023-06-08 11:17:35 -07:00
Adeeb Shihadeh
1a9a94c519
python: add helper to wait until panda comes up ( #1447 )
...
Co-authored-by: Comma Device <device@comma.ai >
2023-06-07 19:43:43 -07:00
Adeeb Shihadeh
bf2c007103
H7: fix CAN RX delay ( #1446 )
2023-06-06 18:48:19 -07:00
Adeeb Shihadeh
a4ed5bb943
adjust timeouts ( #1444 )
2023-06-04 21:17:44 -07:00
vanillagorillaa
aa03163a92
Nissan: use generated DBCs ( #1438 )
...
* update nissan dbcs
* update opendbc ref
* Update Dockerfile
* Update Dockerfile
* fix
* try again
* need that too
* cp
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-06-04 16:06:46 -07:00
Adeeb Shihadeh
a29ee424bc
python: remove duplicate enter_bootloader ( #1442 )
2023-06-04 14:54:40 -07:00
Adeeb Shihadeh
92ed48ae5c
HITL tests: add timeouts ( #1352 )
...
* set timeout
* closest
* more timeout
* fan test is slow
* retry
* break
* bump
2023-06-04 01:00:17 -07:00
Adeeb Shihadeh
17ca4171df
H7 SPI: disable IRQs only when necessary ( #1437 )
...
less irq disable
Co-authored-by: Comma Device <device@comma.ai >
2023-06-03 15:53:16 -07:00
Adeeb Shihadeh
e1e9bd048d
benchmarking script
2023-06-03 15:22:47 -07:00
Robbe Derks
5847d7dbc0
Tesla safety: fix wrong message rate ( #1277 )
...
* half the freq, double the rate
* fix test
* fix names
2023-06-01 23:10:36 +02:00
Bruce Wayne
00c2689487
dfu: fix small writes
2023-05-24 16:23:37 -07:00
Adeeb Shihadeh
2da9b8d173
python: wait on any DFU panda ( #1435 )
2023-05-23 20:50:09 -07:00
Adeeb Shihadeh
2a5058d858
export FW_PATH
2023-05-22 00:01:54 -07:00
Adeeb Shihadeh
4dd2735e38
cleanup fw filename conventions ( #1434 )
...
* cleanup fn
* import os
* fix path
2023-05-21 21:19:19 -07:00
Adeeb Shihadeh
a8f851870d
ci: bump up safety test timeout
2023-05-21 20:31:01 -07:00
Adeeb Shihadeh
ab18f5aa99
update release cert path
2023-05-21 20:30:13 -07:00
Adeeb Shihadeh
4d7abcc2e6
PandaDFU: don't reset in program_bootstub ( #1433 )
2023-05-21 20:05:21 -07:00