mirror of https://github.com/commaai/panda.git
aab03bc4b6
* Enable CAN3 printer (#1991) again
(cherry picked from commit
|
||
---|---|---|
.. | ||
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
.