panda/board
Justin Newberry 0a738b7ee8
Subaru: rename legacy to preglobal (#1415)
* rename

* missing some variables

* fix find/replace error
2023-05-15 17:22:40 -07:00
..
boards Continuous harness detection (#1402) 2023-05-08 13:30:23 +02:00
drivers H7: fix lockup on disconnected bus (#1410) 2023-05-12 19:20:42 -07:00
obj Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
pedal setup independent watchdog (#1404) 2023-05-05 16:46:38 -07:00
safety Subaru: rename legacy to preglobal (#1415) 2023-05-15 17:22:40 -07:00
stm32fx Continuous harness detection (#1402) 2023-05-08 13:30:23 +02:00
stm32h7 H7: fix lockup on disconnected bus (#1410) 2023-05-12 19:20:42 -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 ADC cleanup (#1401) 2023-05-04 13:22:01 +02: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 Continuous harness detection (#1402) 2023-05-08 13:30:23 +02:00
libc.h memcpy with 4 and 16 bytes copy support (#763) 2021-11-04 16:06:51 -07:00
main.c stricter simple watchdog (#1413) 2023-05-15 14:15:48 -07:00
main_comms.h Continuous harness detection (#1402) 2023-05-08 13:30:23 +02: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 Subaru: rename legacy to preglobal (#1415) 2023-05-15 17:22:40 -07:00
safety_declarations.h safety utils: add ROUND helper (#1397) 2023-05-06 21:25:25 -07:00
utils.h add CLAMP macro (#1356) 2023-04-20 14:34:11 -07: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