mirror of https://github.com/commaai/panda.git
3066f93d8a
* use closer to EPS limits * raise to upper bound of spread from injection plot * we've seen ~0.009 at 7 m/s, so allow that * fix test * rounding errors cause the 2 to round to the same value * adjust for latest opendbc change * we should actually match what safety is doing! fix lack of test coverage near first brake point fix * and fix test |
||
---|---|---|
.. | ||
boards | ||
debug | ||
drivers | ||
jungle | ||
obj | ||
safety | ||
stm32f4 | ||
stm32h7 | ||
README.md | ||
SConscript | ||
__init__.py | ||
bootstub.c | ||
bootstub_declarations.h | ||
can.h | ||
can_comms.h | ||
can_declarations.h | ||
comms_definitions.h | ||
config.h | ||
crc.h | ||
critical.h | ||
critical_declarations.h | ||
dfu_util_f4.sh | ||
dfu_util_h7.sh | ||
early_init.h | ||
fake_stm.h | ||
faults.h | ||
faults_declarations.h | ||
flash.py | ||
flasher.h | ||
gdb.sh | ||
health.h | ||
libc.h | ||
main.c | ||
main_comms.h | ||
main_declarations.h | ||
main_definitions.h | ||
power_saving.h | ||
power_saving_declarations.h | ||
provision.h | ||
recover.py | ||
safety.h | ||
safety_declarations.h | ||
utils.h |
README.md
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
.