openpilot1/panda/board
huifan 6fc9260045 HFOP 2024-11-05 00:02:00 +08:00
..
boards Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
debug Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
drivers Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
jungle Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
obj Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
safety HFOP 2024-11-05 00:02:00 +08:00
stm32f4 Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
stm32h7 Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
README.md Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
SConscript Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
__init__.py Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
bootstub.c Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
bootstub_declarations.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
can_comms.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
can_definitions.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
comms_definitions.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
config.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
crc.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
critical.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
dfu_util_f4.sh Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
dfu_util_h7.sh Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
early_init.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
fake_stm.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
faults.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
flash.py Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
flasher.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
health.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
libc.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
main.c HFOP 2024-11-05 00:02:00 +08:00
main_comms.h HFOP 2024-11-05 00:02:00 +08:00
main_declarations.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
power_saving.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
provision.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
recover.py Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
safety.h HFOP 2024-11-05 00:02:00 +08:00
safety_declarations.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00
utils.h Revert "Compile FrogPilot" 2024-11-04 21:54:14 +08:00

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.