2019-06-28 15:09:12 -06:00
|
|
|
Dependencies
|
|
|
|
--------
|
|
|
|
|
|
|
|
**Mac**
|
|
|
|
|
|
|
|
```
|
2019-10-31 18:02:31 -06:00
|
|
|
xcode-select --install
|
2019-06-28 15:09:12 -06:00
|
|
|
./get_sdk_mac.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
**Debian / Ubuntu**
|
|
|
|
|
|
|
|
```
|
|
|
|
./get_sdk.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Programming
|
|
|
|
----
|
|
|
|
|
|
|
|
**Panda**
|
|
|
|
|
|
|
|
```
|
2022-03-25 19:06:15 -06:00
|
|
|
scons -u # Compile
|
|
|
|
./flash_h7.sh # for red panda
|
|
|
|
./flash.sh # for other pandas
|
2019-06-28 15:09:12 -06:00
|
|
|
```
|
|
|
|
|
|
|
|
Troubleshooting
|
|
|
|
----
|
|
|
|
|
|
|
|
If your panda will not flash and is quickly blinking a single Green LED, use:
|
|
|
|
```
|
2022-03-25 19:06:15 -06:00
|
|
|
./recover_h7.sh # for red panda
|
|
|
|
./recover.sh # for other pandas
|
2019-06-28 15:09:12 -06:00
|
|
|
```
|
|
|
|
|
2022-03-25 19:06:15 -06:00
|
|
|
A [panda paw](https://comma.ai/shop/products/panda-paw) can be used to put panda into DFU mode.
|
|
|
|
|
2019-06-28 15:09:12 -06:00
|
|
|
|
|
|
|
[dfu-util](http://github.com/dsigma/dfu-util.git) for flashing
|