vedderb / bldc

The VESC motor control firmware
2.16k stars 1.35k forks source link

use NVIC_SystemReset in COMM_REBOOT command #484

Closed avlasic closed 2 years ago

avlasic commented 2 years ago

Using watchdog reset to reboot system causes FAULT_CODE_BOOTING_FROM_WATCHDOG_RESET after startup. Instead use NVIC_SystemReset to reboot system. (both ways are doing a reset by pulling NRST pin low).