Skip to content

Flashing via EON USB

Chris Souers edited this page Feb 3, 2021 · 4 revisions

Below are instructions for flashing the bodyharness panda via a comma EON. These instructions assume you've already installed the body harness into the vehicle and have installed the panda onto the body harness. If you have not, temporarily connect the panda to the OBD-2 port for flashing.

  1. SSH into the EON
  2. Attach to openpilot's tmux session: tmux a
  3. Quit openpilot by pressing Ctrl-C. Once the screen shows everything is dead, press Ctrl-C one more time. The tmux session will terminate if you have not opened another tab within tmux.
  4. Connect the USB cable from the EON to the panda's USB port.
  5. Enter or make a directory where you can store personal data, for example /data/mydata. Create this with mkdir /data/mydata. Enter the directory: cd /data/mydata
  6. Clone the bodyharness panda repository with git clone -b bodyharness https://github.com/csouers/panda
  7. Enter the board directory: cd board
  8. Flash the firmware: make recover Note: You MUST run make recover otherwise OTA updates via CAN will NOT be possible! Do not disconnect any cables or remove the panda from power during flashing.
  9. After flashing or initial power-up, the panda will pulse red for 10 seconds before turning the LED off. With the vehicle off, press the brake pedal and observe the LED color on the panda. If it lights up blue with the vehicle off, that means you have a proper connection to the vehicle's body CAN bus.
  10. Reboot the EON and finish the hardware installation if necessary.
Clone this wiki locally