You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 weeks ago | |
---|---|---|
.. | ||
boards | 2 weeks ago | |
debug | 4 months ago | |
drivers | 1 month ago | |
jungle | 2 weeks ago | |
obj | 2 years ago | |
stm32f4 | 2 weeks ago | |
stm32h7 | 1 month ago | |
README.md | 1 month ago | |
SConscript | 4 months ago | |
__init__.py | 2 years ago | |
bootstub.c | 1 month ago | |
bootstub_declarations.h | 1 year ago | |
can.h | 4 months ago | |
can_comms.h | 4 months ago | |
can_declarations.h | 4 months ago | |
comms_definitions.h | 1 year ago | |
config.h | 4 months ago | |
crc.h | 1 month ago | |
critical.h | 4 months ago | |
critical_declarations.h | 4 months ago | |
dfu_util_f4.sh | 2 years ago | |
dfu_util_h7.sh | 2 years ago | |
early_init.h | 1 month ago | |
fake_stm.h | 1 month ago | |
faults.h | 4 months ago | |
faults_declarations.h | 4 months ago | |
flash.py | 4 months ago | |
flasher.h | 1 month ago | |
gdb.sh | 4 months ago | |
health.h | 1 year ago | |
libc.h | 4 months ago | |
main.c | 1 month ago | |
main_comms.h | 1 month ago | |
main_declarations.h | 1 month ago | |
main_definitions.h | 4 months ago | |
power_saving.h | 1 month ago | |
power_saving_declarations.h | 4 months ago | |
provision.h | 4 months ago | |
recover.py | 4 months ago | |
utils.h | 1 year ago |
README.md
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 to go into DFU mode.
If your device has an internal panda and none of the above works, try running ../scripts/reflash_internal_panda.py
.