I have extend bootloader to about 18kB (0x3B800), and add uart module in it.
When I receive host command, I'll write a flag to flash via pstorage module, and use NVIC_SystemReset() to goto bootloader (by flag) and enter DFU process.
But the UART log that I dump on bootloader init, it runs two times. I think it reset two times when I call NVIC_SystemReset().
And the time between duplicated log is not same, it affects the host re-link action.
Is that the normal behavior?