With code that uses IWDG and these operations: - user code initializes iwdg - user code jumps to USB-DFU - USB host triggers a USB exit (e.g. after reflashing, or even just a dummy dfu-util Reset/Exit command) - user code will hang in iwdg_prescaler_busy() called from iwdg_set_period_ms()
5.4 KiB
5.4 KiB