[RESOLVED] Why IAR EWARM debugger resets STM32F7 in a weird way
Apologize for IAR specific question, hope someone here can shed some light on my problem. I've tried to ask IAR support, but looks like they have a long weekend or whatever.
I have a bootloader at 0x08000000 and main app at 0x08008000.
The bootloader initializes something for the main app so it must execute every time before the app.
Pretty common thing, done many times with Atollic and CubeIDE.
But I cannot debug this with the EWARM debugger.
When I set the main app as active and start debugger, it enters the main app directly from its reset handler, without going thru the bootloader. No matter how I define the reset method - "system", "core" "connect under reset".
More to this - the reset button on the debugger toolbar has similar options - and none of these goes to the bootloader.
Unchecked run to main - does not help.
I tried to debug the bootloader instead, and load the main app as extra image.
This properly starts the bootloader, but after entering the main app source navigation ("find definition" or "find declaration") fails randomly. Both images share many common files, maybe this confuses the search. Thus I want to have the main app the active one.
Any advise how to force the IAR debugger to obey the "system" or "hardware" or "connect under reset" ?
The debugger probe is ST-LINK v3 mini with latest firmware, in SWD mode.
STM32F767.
EWARM version 8.40
