mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
in case flashing the main application firmware using DFU failed, the main application might be broken and not allow to switch again to DFU mode to re-flash it correctly. the other board have a way to force entering (e.g. staying in) the bootloader using an external signal (e.g. a switch on the SIMtrace board). the OWHW DFU firmware did not have this functionality implemented. the design (e.g. schematic) already has the SIMTRACE_BOOTLOADER signal (on PA31) for this purpose. now the DFU bootloader will start the DFU mode when the SIMTRACE_BOOTLOADER is high. this change has been tested on OWHWv2. Change-Id: Iefff51a811ad0f3bf3a46b8e256b905d11344bea