Template:Flashing the Panda

From Tinkla: Tinkering with Tesla
Revision as of 07:44, 18 November 2019 by Neon (talk | contribs)

Most of the OpenPilot updates (or when installing new) require you to also update the software on your Panda. Here's how:

In your Tesla while it says “Car Off” connect your Panda to your Giraffe rev B OBD (or EPAS OBD). Connect your EON to the Panda via USB. Then SSH in and run:

cd /data/openpilot/panda/board
killall boardd
make clean
make && sleep 1 && (make recover || make recover) && echo Success! Rebooting in 2s... && sleep 2 && reboot

The kill command ensures that there's no activity on the CAN bus. That's also why a reboot is needed at the end. If any error occurs (which of course should not happen) the reboot will be skipped so you can troubleshoot.