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