mirror of https://github.com/commaai/panda.git
abdc41856b
* from @pd0wm commaai/panda#1841 * diff reduction: won't need the flag rename * run tests with new DBC and new gas/brake messages * toyota_secoc_car to global * consolidate alt_brake_101 * consolidate alt_pcm_cruise_176 * consolidate alt_gas_pedal_116 * don't allow transmit/forward for 0x131 unless SecOC * cleanup and todo * diff reduction * reorder by usage frequency * test for no LTA actuation * bump opendbc commit ref in Dockerfile * gate SecOC variant on ALLOW_DEBUG * tweak gating for MISRA * mutation test hates lta_angle surviving various changes * common rx checks styling * don't allow short version of 0x2E5 for SecOC mode * whitespace diff reduction * secoc_car -> secoc * fix comment typo * retry CI * missed a couple secoc_car -> secoc * one big secoc/not-secoc block * genuinely useful MISRA warning * test both STEERING_LTA and STEERING_LTA_2 * comment labeling for STEERING_LTA_2 signals * Update board/safety/safety_toyota.h Co-authored-by: Shane Smiskol <shane@smiskol.com> * STEERING_LTA and STEERING_LTA_2 consistency * update gas/brake/cruise signal annotations --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> |
||
---|---|---|
.. | ||
boards | ||
debug | ||
drivers | ||
jungle | ||
obj | ||
safety | ||
stm32f4 | ||
stm32h7 | ||
README.md | ||
SConscript | ||
__init__.py | ||
bootstub.c | ||
bootstub_declarations.h | ||
can.h | ||
can_comms.h | ||
can_declarations.h | ||
comms_definitions.h | ||
config.h | ||
crc.h | ||
critical.h | ||
critical_declarations.h | ||
dfu_util_f4.sh | ||
dfu_util_h7.sh | ||
early_init.h | ||
fake_stm.h | ||
faults.h | ||
faults_declarations.h | ||
flash.py | ||
flasher.h | ||
gdb.sh | ||
health.h | ||
libc.h | ||
main.c | ||
main_comms.h | ||
main_declarations.h | ||
main_definitions.h | ||
power_saving.h | ||
power_saving_declarations.h | ||
provision.h | ||
recover.py | ||
safety.h | ||
safety_declarations.h | ||
utils.h |
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
.