mirror of https://github.com/commaai/panda.git
57e280ad29
* partial body safety tests * cmt * test this flasher msg * move * address check on can flashing msg * no other test tests this, valid when we rx one * this is more reflective on the current behavior * better test * clean up * stash * clean up * revert * Update board/safety/safety_body.h * fix misra |
||
---|---|---|
.. | ||
boards | ||
debug | ||
drivers | ||
jungle | ||
obj | ||
pedal | ||
safety | ||
stm32fx | ||
stm32h7 | ||
README.md | ||
SConscript | ||
__init__.py | ||
bootstub.c | ||
bootstub_declarations.h | ||
can_comms.h | ||
can_definitions.h | ||
comms_definitions.h | ||
config.h | ||
crc.h | ||
critical.h | ||
dfu_util_f4.sh | ||
dfu_util_h7.sh | ||
early_init.h | ||
fake_stm.h | ||
faults.h | ||
flash.py | ||
flasher.h | ||
health.h | ||
libc.h | ||
main.c | ||
main_comms.h | ||
main_declarations.h | ||
power_saving.h | ||
provision.h | ||
recover.py | ||
safety.h | ||
safety_declarations.h | ||
utils.h |
README.md
Programming
Panda
./flash.py # flash application
./recover.py # flash bootstub
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
.