panda/board
Robbe Derks 0234e756e3
STM32H7: add missing interrupt handlers (#1997)
add missing interrupts

Co-authored-by: Comma Device <device@comma.ai>
2024-08-15 21:33:07 -07:00
..
boards enable misra-c2012-11.8 (#1916) 2024-03-24 12:38:25 -07:00
debug update to ubuntu 24.04 (#1941) 2024-04-28 15:32:18 -07:00
drivers remove void return (#1963) 2024-05-30 14:21:42 -07:00
jungle deprecate busTime (#1989) 2024-07-30 21:20:48 -07:00
obj Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
safety Cppcheck 2.14 (#1951) 2024-05-27 21:21:13 -07:00
stm32f4 Separate F4 and H7 includes (#1955) 2024-05-26 13:12:25 -07:00
stm32h7 STM32H7: add missing interrupt handlers (#1997) 2024-08-15 21:33:07 -07: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 Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
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_comms.h Cppcheck 2.14 (#1951) 2024-05-27 21:21:13 -07:00
can_definitions.h remove rest of gmlan (#1908) 2024-03-21 13:56:36 -07: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 Revert "Revert "Register readback on most modules. Still need to convert the other ones (#396)"" 2019-12-05 14:19:29 -08:00
dfu_util_f4.sh DFU flasher: permissions and address 2022-08-25 10:24:25 -07:00
dfu_util_h7.sh flashing: unify recover.sh (#1043) 2022-08-24 19:15:25 -07:00
early_init.h Cppcheck 2.14 (#1951) 2024-05-27 21:21:13 -07:00
fake_stm.h Remove flash logging (#1674) 2023-09-30 12:49:46 -07:00
faults.h remove rest of gmlan (#1908) 2024-03-21 13:56:36 -07:00
flash.py exit flashing scripts with error if no pandas 2024-03-21 13:04:45 -07:00
flasher.h (almost) enable cppcheck unusedFunction (#1875) 2024-02-17 14:16:15 -08:00
gdb.sh H7 CR3 notes (#1985) 2024-07-17 11:19:24 -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 add assert_fatal function (#1976) 2024-06-26 16:59:08 -07:00
main_comms.h remove unused deepsleep stuff (#1914) 2024-03-22 14:48:49 -07:00
main_declarations.h enable misra-c2012-11.8 (#1916) 2024-03-24 12:38:25 -07:00
power_saving.h remove HW GMLAN support (#1848) 2024-02-03 23:18:33 -08:00
provision.h Cppcheck 2.14 (#1951) 2024-05-27 21:21:13 -07:00
recover.py exit flashing scripts with error if no pandas 2024-03-21 13:04:45 -07:00
safety.h remove comma pedal (#1902) 2024-03-17 22:22:46 -07:00
safety_declarations.h Enable misra-c2012-1.2 (#1962) 2024-05-30 22:13:47 -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.