panda/board
Adeeb Shihadeh 0e2eb9c0f5
fan debugging script (#1354)
* fan debugging script

* merge those

* disable

* better print

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-20 13:00:40 -07:00
..
boards Dos fan fix (#1335) 2023-04-18 14:15:06 -07:00
drivers fan debugging script (#1354) 2023-04-20 13:00:40 -07:00
obj Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
pedal rename puts to avoid conflict with stdio.h (#1174) 2022-11-29 22:55:10 -08:00
safety Subaru: add ability to send infotainment status message (#1333) 2023-04-17 18:47:51 -07:00
stm32fx USB enumeration based on frame numbers (#1324) 2023-04-03 17:13:02 +02:00
stm32h7 H7: fix CAN FD IRQ rate (#1332) 2023-04-19 17:34:31 -07:00
README.md improve flash and recover scripts (#1349) 2023-04-16 15:08:46 -07:00
SConscript CI: set PYTHONWARNINGS=error (#1323) 2023-04-02 09:33:35 -07:00
__init__.py Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
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 fan debugging script (#1354) 2023-04-20 13:00:40 -07: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 watchdog to log fault on heartbeat loop (#1328) 2023-04-04 18:51:35 -07:00
flash.py improve flash and recover scripts (#1349) 2023-04-16 15:08:46 -07:00
flasher.h SPI support in bootstub (#1227) 2023-03-07 14:55:15 -08:00
health.h H7: Rx FIFO lost counter (#1345) 2023-04-13 17:37:48 -07:00
libc.h memcpy with 4 and 16 bytes copy support (#763) 2021-11-04 16:06:51 -07:00
main.c watchdog to log fault on heartbeat loop (#1328) 2023-04-04 18:51:35 -07:00
main_comms.h SPI: log checksum errors in health (#1334) 2023-04-05 22:05:14 -07: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.py improve flash and recover scripts (#1349) 2023-04-16 15:08:46 -07:00
safety.h VW: Allow inactive accel values at all times (#1247) 2023-04-13 17:28:33 -07:00
safety_declarations.h safety: only pass addr to fwd hook (#1339) 2023-04-08 16:45:59 -07:00
utils.h cleanup + prep for more tests! (#1172) 2022-11-30 14:15:09 -08:00

README.md

Programming

Panda

./recover.py      # flash bootstub
./flash.py        # flash application

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.

dfu-util for flashing