panda/board
Igor Biletskyy a19f12559e
check if set CAN speed is valid (#1073)
* check

* MISRA
2022-09-16 23:51:55 -07:00
..
boards board struct: add has_canfd (#1072) 2022-09-16 21:56:48 -07:00
drivers check if set CAN speed is valid (#1073) 2022-09-16 23:51:55 -07:00
obj Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
pedal Communication refactor (#997) 2022-08-03 13:11:52 +02:00
safety Hyundai: lower CAN FD torque rate limits (#1066) 2022-09-15 11:22:21 -07:00
stm32fx check if set CAN speed is valid (#1073) 2022-09-16 23:51:55 -07:00
stm32h7 check if set CAN speed is valid (#1073) 2022-09-16 23:51:55 -07:00
tests Refactor HAL (#656) 2021-07-02 18:25:35 -07:00
README.md flashing: unify recover.sh (#1043) 2022-08-24 19:15:25 -07:00
SConscript always build all projects + test libs (#1038) 2022-08-19 11:41:34 -07:00
__init__.py Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
bootstub.c Refactor flasher (#686) 2021-07-14 13:49:28 -07:00
bootstub_declarations.h expose DEBUG flag and improve debug console output (#728) 2021-09-25 21:46:19 -07:00
can_definitions.h Move shared definitions into separate file (#808) 2021-12-16 14:38:22 -08:00
can_health.h CAN health packet: add speed and canfd info (#1071) 2022-09-16 20:39:18 -07:00
comms_definitions.h Communication refactor (#997) 2022-08-03 13:11:52 +02:00
config.h Deep sleep(stop) mode for pandas (#832) 2022-03-07 14:24:04 -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
dlc_to_len.h CAN_FIFOMailBox to CANPacket struct + USB dynamic packet size (#739) 2021-11-12 16:36:34 -08:00
early_init.h H7: Move from PLL3Q to HSI48 for USB FS (#800) 2021-12-01 20:28:31 -08:00
faults.h Deep sleep(stop) mode for pandas (#832) 2022-03-07 14:24:04 -08:00
flash.sh one flash.sh for both H7 and F4 (#1032) 2022-08-15 20:11:38 -07:00
flasher.h Communication refactor (#997) 2022-08-03 13:11:52 +02:00
get_sdk.sh board/get_sdk.sh: add dfu-util and python3-pip (#787) 2021-11-16 14:50:49 -08:00
get_sdk_mac.sh updated: ruby homebrew installer deprecated. (#736) 2021-10-08 17:43:22 +02:00
health.h health packet: fix confusing variable names (#1068) 2022-09-15 13:08:46 -07:00
libc.h memcpy with 4 and 16 bytes copy support (#763) 2021-11-04 16:06:51 -07:00
main.c health packet: fix confusing variable names (#1068) 2022-09-15 13:08:46 -07:00
main_comms.h check if set CAN speed is valid (#1073) 2022-09-16 23:51:55 -07:00
main_declarations.h Only allow deep sleep if there's been ignition before (#1019) 2022-08-12 12:43:36 +02:00
panda.h Communication refactor (#997) 2022-08-03 13:11:52 +02:00
power_saving.h Refactor HAL (#656) 2021-07-02 18:25:35 -07:00
provision.h Cleanup Wi-Fi leftovers (#804) 2021-12-06 14:39:28 -08:00
recover.sh flashing: unify recover.sh (#1043) 2022-08-24 19:15:25 -07:00
safety.h GM: same regen check as openpilot (#1026) 2022-09-12 21:32:06 -07:00
safety_declarations.h GM: same regen check as openpilot (#1026) 2022-09-12 21:32:06 -07:00
utils.h Calculate interrupt load and add to health packet (#913) 2022-04-11 11:59:47 +02:00

README.md

Dependencies

Mac

xcode-select --install
./get_sdk_mac.sh

Debian / Ubuntu

./get_sdk.sh

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