2025-03-10 2:57 AM - last edited on 2025-03-10 3:03 AM by Andrew Neil
During the user-defined BL upgrade process of the STM32, is it possible to keep an IO pin, which has already been pulled high in the user code, at a high level throughout the entire sequence of steps: 'jumping from the user code to the BL, erasing and writing the flash, and then jumping back to the user code after the upgrade is complete'? This IO pin is not used during the upgrade process. The essential requirement is to avoid resetting the peripheral states during the BL upgrade process.I noticed that my IO pin was automatically reset after jumping from the user code to the user-defined BL code.