panda/board
Adeeb Shihadeh 2fbf0c5ff8 fix indendation 2024-11-21 11:07:57 -08:00
..
boards cuatro sound (#1861) 2024-11-13 16:09:13 +01:00
debug update bash scripts to #!/usr/bin/env bash (#1987) 2024-08-26 17:25:15 -07:00
drivers Control over FD flag of CAN messages (#2085) 2024-11-21 11:04:09 -08:00
jungle Make can_print.py work on a all busses (#2070) 2024-11-06 17:09:42 +01:00
obj
safety Ford: higher curvature rate limits at low speed (#2065) 2024-10-25 23:27:33 -07:00
stm32f4 cuatro sound (#1861) 2024-11-13 16:09:13 +01:00
stm32h7 H7 sound: fix noise with empty stream (#2083) 2024-11-18 14:50:17 -08:00
README.md Docs update (#1769) 2023-12-10 11:14:53 -08:00
SConscript Detect H723 in firmware (#1988) 2024-08-02 11:26:16 -07:00
__init__.py
bootstub.c (almost) enable cppcheck unusedFunction (#1875) 2024-02-17 14:16:15 -08:00
bootstub_declarations.h enable misra-c2012-11.8 (#1916) 2024-03-24 12:38:25 -07:00
can.h Fix openpilot build (#2039) 2024-09-24 11:59:17 -07:00
can_comms.h misra8.4: board/*.h (#2026) 2024-09-19 21:15:08 -07:00
can_declarations.h Control over FD flag of CAN messages (#2085) 2024-11-21 11:04:09 -08:00
comms_definitions.h enable misra-constParameterPointer (#1826) 2024-01-20 21:50:42 -08:00
config.h remove unused deepsleep stuff (#1914) 2024-03-22 14:48:49 -07:00
crc.h enable misra-constParameterPointer (#1826) 2024-01-20 21:50:42 -08:00
critical.h misra8.4: board/*.h (#2026) 2024-09-19 21:15:08 -07:00
critical_declarations.h misra8.4: board/*.h (#2026) 2024-09-19 21:15:08 -07:00
dfu_util_f4.sh
dfu_util_h7.sh
early_init.h misra8.7 (#2033) 2024-09-20 15:51:27 -07:00
fake_stm.h Remove flash logging (#1674) 2023-09-30 12:49:46 -07:00
faults.h misra8.4: board/*.h (#2026) 2024-09-19 21:15:08 -07:00
faults_declarations.h cuatro sound (#1861) 2024-11-13 16:09:13 +01:00
flash.py Add multiple pandas selector (#2015) 2024-09-24 16:37:23 -07:00
flasher.h misra2.5: safety modes + stm32* (#2032) 2024-09-20 15:14:44 -07:00
gdb.sh update bash scripts to #!/usr/bin/env bash (#1987) 2024-08-26 17:25:15 -07:00
health.h remove rest of gmlan (#1908) 2024-03-21 13:56:36 -07:00
libc.h add assert_fatal function (#1976) 2024-06-26 16:59:08 -07:00
main.c Lower siren duration to 3s (#2080) 2024-11-14 17:05:44 -08:00
main_comms.h fix indendation 2024-11-21 11:07:57 -08:00
main_declarations.h misra8.4: board/*.h (#2026) 2024-09-19 21:15:08 -07:00
main_definitions.h misra8.4: board/*.h (#2026) 2024-09-19 21:15:08 -07:00
power_saving.h misra8.4: board/*.h (#2026) 2024-09-19 21:15:08 -07:00
power_saving_declarations.h misra8.4: board/*.h (#2026) 2024-09-19 21:15:08 -07:00
provision.h misra8.4: board/*.h (#2026) 2024-09-19 21:15:08 -07:00
recover.py Add multiple pandas selector (#2015) 2024-09-24 16:37:23 -07:00
safety.h misra8.4: safety.h + safety_declarations.h (#2022) 2024-09-20 19:25:37 -07:00
safety_declarations.h misra8.4: safety.h + safety_declarations.h (#2022) 2024-09-20 19:25:37 -07:00
utils.h Enable misra-c2012-1.2 (#1962) 2024-05-30 22:13:47 -07: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.