panda/board
Shane Smiskol 7104818e14
rename unsafeMode to alternativeExperience (#878)
* alternative experiences

* not unsafe

* more renames

more renames

* not yet true

* I think we import from panda now

* update comments and test

* not needed

* bump health pkt version

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-24 14:31:31 -07:00
..
boards Enable RTC for all pandas (#849) 2022-02-09 15:36:37 -08:00
drivers Red Panda: auto switching to CAN FD with BRS (#868) 2022-03-07 14:25:19 -08:00
obj Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
pedal Move shared definitions into separate file (#808) 2021-12-16 14:38:22 -08:00
safety rename unsafeMode to alternativeExperience (#878) 2022-03-24 14:31:31 -07:00
stm32fx Deep sleep(stop) mode for pandas (#832) 2022-03-07 14:24:04 -08:00
stm32h7 Deep sleep(stop) mode for pandas (#832) 2022-03-07 14:24:04 -08:00
tests Refactor HAL (#656) 2021-07-02 18:25:35 -07:00
README.md Add more hints when troubleshooting panda (#864) 2022-03-14 12:02:08 -07:00
SConscript Revert "Split linker files for STMs F2 and F4 (#817)" (#852) 2022-02-10 19:25:25 -08: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
build_all.sh Build panda for both target mcpus (#732) 2021-10-04 12:13:29 +02:00
can_definitions.h Move shared definitions into separate file (#808) 2021-12-16 14:38:22 -08: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
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 Switch panda to scons builder (#635) 2021-03-24 14:44:32 +01:00
flash_h7.sh Build panda for both target mcpus (#732) 2021-10-04 12:13:29 +02:00
flasher.h Move shared definitions into separate file (#808) 2021-12-16 14:38:22 -08: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 rename unsafeMode to alternativeExperience (#878) 2022-03-24 14:31:31 -07:00
libc.h memcpy with 4 and 16 bytes copy support (#763) 2021-11-04 16:06:51 -07:00
main.c C2: fix bootkick (#854) 2022-03-07 14:24:57 -08:00
main_declarations.h Deep sleep(stop) mode for pandas (#832) 2022-03-07 14:24:04 -08:00
panda.h Move shared definitions into separate file (#808) 2021-12-16 14:38:22 -08: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 recover.sh: dont fail if panda already in DFU mode 2021-03-26 17:21:01 +01:00
recover_h7.sh Build panda for both target mcpus (#732) 2021-10-04 12:13:29 +02:00
safety.h rename unsafeMode to alternativeExperience (#878) 2022-03-24 14:31:31 -07:00
safety_declarations.h rename unsafeMode to alternativeExperience (#878) 2022-03-24 14:31:31 -07:00
usb_comms.h rename unsafeMode to alternativeExperience (#878) 2022-03-24 14:31:31 -07:00
usb_protocol.h Cleanup Wi-Fi leftovers (#804) 2021-12-06 14:39:28 -08:00

README.md

Dependencies

Mac

xcode-select --install
./get_sdk_mac.sh

Debian / Ubuntu

./get_sdk.sh

Programming

Panda

scons -u       # Compile
./flash_h7.sh  # for red panda
./flash.sh     # for other pandas

Troubleshooting

If your panda will not flash and is quickly blinking a single Green LED, use:

./recover_h7.sh  # for red panda
./recover.sh     # for other pandas

A panda paw can be used to put panda into DFU mode.

dfu-util for flashing