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.
|
1 day ago | |
---|---|---|
.. | ||
boards | 1 day ago | |
debug | 1 month ago | |
drivers | 1 day ago | |
jungle | 1 day ago | |
obj | 2 years ago | |
stm32f4 | 1 day ago | |
stm32h7 | 1 day ago | |
README.md | 1 year ago | |
SConscript | 1 month ago | |
__init__.py | 2 years ago | |
bootstub.c | 1 day ago | |
bootstub_declarations.h | 11 months ago | |
can.h | 1 month ago | |
can_comms.h | 1 month ago | |
can_declarations.h | 1 month ago | |
comms_definitions.h | 1 year ago | |
config.h | 1 month ago | |
crc.h | 1 year ago | |
critical.h | 1 month ago | |
critical_declarations.h | 1 month ago | |
dfu_util_f4.sh | 2 years ago | |
dfu_util_h7.sh | 2 years ago | |
early_init.h | 1 day ago | |
fake_stm.h | 1 day ago | |
faults.h | 1 month ago | |
faults_declarations.h | 1 month ago | |
flash.py | 1 month ago | |
flasher.h | 1 day ago | |
gdb.sh | 1 month ago | |
health.h | 11 months ago | |
libc.h | 1 month ago | |
main.c | 1 day ago | |
main_comms.h | 1 day ago | |
main_declarations.h | 1 day ago | |
main_definitions.h | 1 month ago | |
power_saving.h | 1 day ago | |
power_saving_declarations.h | 1 month ago | |
provision.h | 1 month ago | |
recover.py | 1 month ago | |
utils.h | 11 months 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 ../tests/reflash_internal_panda.py
.