[En-Nut-Discussion] STM32: Problems running code with an offset in flash (bootloader)
ole.reinhardt at embedded-it.de
Fri Mar 4 00:34:01 CET 2016
Am 03.03.2016 um 10:23 schrieb Uwe Bonnes:
> cmsis/cortex_init.c line 431 is in charge to remap the interrupt vectors. I
> guess something goes wrong there. Without a debugger, things are hard to
> debug. But the ESP board has listed "SWD debug interface". And I know you have
> some ST boards with Stlink at least version 2. So you could try to set up a
> SWD connection from the SWD extension connector on the Stlink board to your
> ESP board with flying wires.
I got my STLink dongle today but this made things even more strange.
If I connect the STLink with the board, the program continues running,
but the output is unreadable. Looks like the baudrate (or any clock?)
If the STlink is _not connected_ the Program hangs after a few
instructions during the first printf.
What could be the difference when the STLink is connected or not? Really
kernel concepts GmbH Tel: +49-271-771091-14
Sieghuetter Hauptweg 48 Mob: +49-177-7420433
More information about the En-Nut-Discussion