2017-11-10 18:27:25 +08:00
|
|
|
Dependencies
|
|
|
|
--------
|
|
|
|
|
|
|
|
**Mac**
|
|
|
|
|
|
|
|
```
|
2019-11-01 07:23:55 +08:00
|
|
|
xcode-select --install
|
2017-11-15 11:24:59 +08:00
|
|
|
./get_sdk_mac.sh
|
2017-11-10 18:27:25 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
**Debian / Ubuntu**
|
|
|
|
|
|
|
|
```
|
|
|
|
./get_sdk.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Programming
|
|
|
|
----
|
|
|
|
|
|
|
|
**Panda**
|
|
|
|
|
|
|
|
```
|
2022-04-02 10:15:04 +08:00
|
|
|
scons -u -j$(nproc) # Compile
|
|
|
|
./flash_h7.sh # for red panda
|
|
|
|
./flash.sh # for other pandas
|
2017-11-10 18:27:25 +08:00
|
|
|
```
|
|
|
|
|
2017-11-15 11:24:59 +08:00
|
|
|
Troubleshooting
|
|
|
|
----
|
|
|
|
|
|
|
|
If your panda will not flash and is quickly blinking a single Green LED, use:
|
|
|
|
```
|
2022-03-15 03:02:08 +08:00
|
|
|
./recover_h7.sh # for red panda
|
|
|
|
./recover.sh # for other pandas
|
2017-11-15 11:24:59 +08:00
|
|
|
```
|
|
|
|
|
2022-03-15 03:02:08 +08:00
|
|
|
A [panda paw](https://comma.ai/shop/products/panda-paw) can be used to put panda into DFU mode.
|
|
|
|
|
2017-11-10 18:27:25 +08:00
|
|
|
|
|
|
|
[dfu-util](http://github.com/dsigma/dfu-util.git) for flashing
|