panda/board
Adeeb Shihadeh d15250cb14
Chrysler: add flag for alternate steer limits (#1238)
2023-02-10 22:20:50 -08:00
..
boards Enable control over the fan on C3 while still in the bootloader (#720) 2023-02-08 16:01:14 +01:00
drivers Add timeout to spi driver (#1223) 2023-01-24 13:50:51 +01:00
obj
pedal rename puts to avoid conflict with stdio.h (#1174) 2022-11-29 22:55:10 -08:00
safety Chrysler: add flag for alternate steer limits (#1238) 2023-02-10 22:20:50 -08:00
stm32fx Add timeout to spi driver (#1223) 2023-01-24 13:50:51 +01:00
stm32h7 Add timeout to spi driver (#1223) 2023-01-24 13:50:51 +01:00
README.md Misc cleanup (#1161) 2022-11-17 11:46:43 -08:00
SConscript add has_spi board property (#1153) 2022-11-13 19:57:20 -08:00
__init__.py
bootstub.c Remove external debug UART support (#1159) 2022-11-14 11:46:04 +01:00
bootstub_declarations.h rename puts to avoid conflict with stdio.h (#1174) 2022-11-29 22:55:10 -08:00
can_comms.h No more magic for the can chunks (#1191) 2023-01-13 10:59:58 -08:00
can_definitions.h No more magic for the can chunks (#1191) 2023-01-13 10:59:58 -08:00
comms_definitions.h No more magic for the can chunks (#1191) 2023-01-13 10:59:58 -08:00
config.h No more magic for the can chunks (#1191) 2023-01-13 10:59:58 -08:00
crc.h Fix MISRA 12.x violations (#667) 2021-06-18 16:42:49 -07: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 Remove external debug UART support (#1159) 2022-11-14 11:46:04 +01:00
fake_stm.h CAN comms test (#1181) 2022-11-30 22:12:28 -08:00
faults.h rename puts to avoid conflict with stdio.h (#1174) 2022-11-29 22:55:10 -08:00
flash.sh one flash.sh for both H7 and F4 (#1032) 2022-08-15 20:11:38 -07:00
flasher.h add comms handler to get MCU UID (#1212) 2023-01-15 20:13:26 -08:00
health.h No more magic for the can chunks (#1191) 2023-01-13 10:59:58 -08:00
libc.h memcpy with 4 and 16 bytes copy support (#763) 2021-11-04 16:06:51 -07:00
main.c Enable control over the fan on C3 while still in the bootloader (#720) 2023-02-08 16:01:14 +01:00
main_comms.h add comms handler to get MCU UID (#1212) 2023-01-15 20:13:26 -08:00
main_declarations.h Bring back green led mode + fix small python lib bug (#1206) 2023-01-10 15:09:51 -08:00
power_saving.h rename puts to avoid conflict with stdio.h (#1174) 2022-11-29 22:55:10 -08:00
provision.h add comms handler to get MCU UID (#1212) 2023-01-15 20:13:26 -08:00
recover.sh flashing: unify recover.sh (#1043) 2022-08-24 19:15:25 -07:00
safety.h safety: common angle checks (#1182) 2022-12-02 16:45:23 -08:00
safety_declarations.h safety: common angle checks (#1182) 2022-12-02 16:45:23 -08:00
utils.h cleanup + prep for more tests! (#1172) 2022-11-30 14:15:09 -08:00

README.md

Programming

Panda

./recover.sh           # flash bootstub
./flash.sh           # flash application

Troubleshooting

If your panda will not flash and green LED is on, use recover.sh. If panda is blinking fast with green LED, use flash.sh. Otherwise if LED is off and panda can't be seen with lsusb command, use panda paw to go into DFU mode.

dfu-util for flashing