Difference between revisions of "Template:Flashing the Panda"

From Tinkla: Tinkering with Tesla
(Created page with "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 yo...")
 
Line 5: Line 5:
 
killall boardd
 
killall boardd
 
make clean
 
make clean
make
+
make && sleep 1 && (make recover || make recover) && echo Success! Rebooting in 2s... && sleep 2 && reboot
make recover || make recover
+
</source>
reboot</source>
+
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.

Revision as of 07:44, 18 November 2019

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.