mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-08 17:13:45 +08:00
659adb6457
date: 2024-03-17T10:14:38 master commit: 7e9a909e0e57ecb31df4c87c5b9a06b1204fd034
21 lines
605 B
Markdown
21 lines
605 B
Markdown
## Programming
|
|
|
|
```
|
|
./flash.py # flash application
|
|
./recover.py # flash bootstub
|
|
```
|
|
|
|
## Debugging
|
|
|
|
To print out the serial console from the STM32, run `tests/debug_console.py`
|
|
|
|
Troubleshooting
|
|
----
|
|
|
|
If your panda will not flash and green LED is on, use `recover.py`.
|
|
If panda is blinking fast with green LED, use `flash.py`.
|
|
|
|
Otherwise if LED is off and panda can't be seen with `lsusb` command, use [panda paw](https://comma.ai/shop/products/panda-paw) to go into DFU mode.
|
|
|
|
If your device has an internal panda and none of the above works, try running `../tests/reflash_internal_panda.py`.
|