Panda Flashing - nasser2019/CommaAi GitHub Wiki
SSH into your device
See SSH for more information.
Navigate to the Panda folder
cd /data/openpilot/panda/board
Flash the Panda (car should be off)
On newer code...
./recover_h7.sh # for Red Panda only
./recover.sh # for all other Pandas
On older code...
pkill -f boardd; cd /data/openpilot/panda/board; make; reboot
Note: C2's (Comma Two) built-in Panda requires 12V over "OBD-C" (ie. USB-C).
Doing this a few times may unstick a Panda that isn't flashing properly.
Alternative command
This alternative command can be ran if flashing the Panda via the standard process proves unsuccessful.
cd /data/openpilot/panda ; pkill -f boardd ; PYTHONPATH=.. python -c "from panda import Panda; Panda().flash()"