Files
panda-meb/board
Lukas ebdc376ade Safety for Tesla Model 3 / Model Y (#2036)
* wip model3

* master

* tesla model 3 / y

* prevent tesla to reverse

* remove can 1 from safety

* use DI_vehicleSpeed

* - add APS_eacMonitor to TX
- use DI_state as a standstill signal

* block eacMonitor

* fix tesla safety tests

* fix tesla safety tests

* add generic_rx_check for eacMonitor

* fix tests

* consistent ordering of common user brake test setup

* Tesla: Panda safety update (#2075)

* - match "vehicle_moving" with opendbc
- allow to cancel

* remove comment

* update _vehicle_moving_msg

* remove redundant condition

* whoops

* update ref

* spacing!

* long behind ALLOW_DEBUG

* consistent styling

* ?

* misra and clean up

* divide instead

* double (())

* more stylistic

* this is more clear

* always check aeb

* this test catches it

* it should test angle steering in both modes?

* we weren't testing long at all, and ALSO PYTEST SILENTLY SKIPS CLASSES WITH MISSING ABSTRACT METHODS WTF

* finalize safety tests

* update opendbc to master

* ltl

* revert this

* rm conftest

* loop this

---------

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2025-02-18 12:42:38 -08:00
..
2024-11-13 16:09:13 +01:00
2025-01-29 16:01:12 +00:00
2024-09-19 21:15:08 -07:00
2024-09-24 11:59:17 -07:00
2024-12-16 13:31:26 -08:00
2024-09-19 21:15:08 -07:00
2024-09-20 15:51:27 -07:00
2023-09-30 12:49:46 -07:00
2024-11-13 16:09:13 +01:00
2024-09-19 21:15:08 -07:00
2024-09-24 16:37:23 -07:00
2024-03-21 13:56:36 -07:00
2024-06-26 16:59:08 -07:00
2024-11-21 11:07:57 -08:00
2024-09-19 21:15:08 -07:00
2024-09-19 21:15:08 -07:00
2024-09-19 21:15:08 -07:00
2023-12-10 11:14:53 -08:00
2024-11-22 19:33:04 -08:00
2024-08-02 11:26:16 -07:00
2024-05-30 22:13:47 -07:00

Programming

./flash.py        # flash application
./recover.py      # flash bootstub

Debugging

To print out the serial console from the STM32, run tests/debug_console.py

Troubleshooting

If your panda will not flash and green LED is on, use recover.py. If panda is blinking fast with green LED, use flash.py.

Otherwise if LED is off and panda can't be seen with lsusb command, use panda paw to go into DFU mode.

If your device has an internal panda and none of the above works, try running ../tests/reflash_internal_panda.py.