AnsweredAssumed Answered

Application fails to start after DFU leave

Question asked by bernard.sylvain on Feb 10, 2016
Latest reply on Feb 21, 2016 by wolff.roger
I've got an STM32L15x whose application sets a ram flag then does a soft reset, after which the startup code jumps to the DFU bootloader. So far so good, the DFU kicks in and the host PC is successfully talking to it and pushing new firmware (validated by reading back using ST/Link.)

However, it's very inconsistent from run to run, or PC to PC, or firmware to firmware (no patterns) but the newly flashed application often fails to start following a DFU leave/exit and we can't recover it until the battery drains.  This is a major issue since the unit is sealed and we can hard reset.

Anyone any idea ?