panda/board/jungle
Adeeb Shihadeh f42b65ca32
skip flash if up to date (#1686)
* skip flash if up to date

* fix
2023-10-05 13:13:40 -07:00
..
boards jungle v2: control power individually per port (#1669) 2023-09-25 17:58:11 -07:00
scripts Ruff: propgate config from OP (#1579) 2023-08-14 12:52:02 -07:00
stm32fx panda jungle (#1547) 2023-08-03 23:55:13 -07:00
stm32h7 panda jungle (#1547) 2023-08-03 23:55:13 -07:00
README.md panda jungle (#1547) 2023-08-03 23:55:13 -07:00
SConscript cleanup bus count constant 2023-08-04 10:47:03 -07:00
__init__.py skip flash if up to date (#1686) 2023-10-05 13:13:40 -07:00
flash.py panda jungle (#1547) 2023-08-03 23:55:13 -07:00
jungle_health.h panda jungle (#1547) 2023-08-03 23:55:13 -07:00
main.c H7: reset CAN core on bus off state (#1615) 2023-09-06 09:50:13 -07:00
main_comms.h jungle v2: control power individually per port (#1669) 2023-09-25 17:58:11 -07:00
recover.py panda jungle (#1547) 2023-08-03 23:55:13 -07:00

README.md

Welcome to the jungle

Firmware for the Panda Jungle testing board. Available for purchase at the comma shop.

udev rules

To make the jungle usable without root permissions, you might need to setup udev rules for it. On ubuntu, this should do the trick:

sudo tee /etc/udev/rules.d/12-panda_jungle.rules <<EOF
SUBSYSTEM=="usb", ATTRS{idVendor}=="bbaa", ATTRS{idProduct}=="ddcf", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="bbaa", ATTRS{idProduct}=="ddef", MODE="0666"
EOF
sudo udevadm control --reload-rules && sudo udevadm trigger

updating the firmware

Updating the firmware is easy! In the board/jungle/ folder, run:

./flash.py

If you somehow bricked your jungle, you'll need a comma key to put the microcontroller in DFU mode for the V1. For V2, the onboard button serves this purpose. When powered on while holding the button to put it in DFU mode, running ./recover.sh in board/ should unbrick it.