Reset after flashing emtpy STM32G041 always jumps to bootloader instead of application, until power-cycle.
When an empty STM32G041 (others may have the same problem, couldn'T test) is flashed with an application, an real power-cylce is needed to actually start the application. Until this power-cycle, ever reset (HW or SW) will jump to the bootloader.
After a power-cycle each an every reset will jump to the application.
This can be reproduced with Erase-All and then PowerCycling.
When starting a debug-session, application is called (by the debugger?), but the VTOR-Reg points still to 0x1FFFxxxx causing a freeze on the first IRQ (i.e. SysTick).
Tested with CubeIDE and IAR, aswell as with a JLINK and a STLINK/v2.
Any comments/solutions/help?
Thanks and regards!
