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