openpilot1/panda/board
huifan a726872b4c hfop 2024-11-03 22:58:37 +08:00
..
boards Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
debug Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
drivers Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
jungle Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
obj Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
safety hfop 2024-11-03 22:58:37 +08:00
stm32f4 Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
stm32h7 Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
README.md Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
SConscript Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
__init__.py Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
bootstub.c Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
bootstub_declarations.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
can_comms.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
can_definitions.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
comms_definitions.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
config.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
crc.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
critical.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
dfu_util_f4.sh Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
dfu_util_h7.sh Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
early_init.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
fake_stm.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
faults.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
flash.py Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
flasher.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
health.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
libc.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
main.c hfop 2024-11-03 22:58:37 +08:00
main_comms.h hfop 2024-11-03 22:58:37 +08:00
main_declarations.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
power_saving.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
provision.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
recover.py Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
safety.h hfop 2024-11-03 22:58:37 +08:00
safety_declarations.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +08:00
utils.h Revert "Compile FrogPilot" 2024-11-03 20:50:52 +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.