2018-08-28 09:14 PM
I am trying to figure out the details of how to jump to the internal bootloader on STM32L475. The following code works just fine on the STM32F405, but similar (updating the address obviously, which is actually the same) will not work on the L475.
ldr r0, =0x1FFF0000
ldr sp,[r0, #0]
ldr r0,[r0, #4]
bx r0
SP at 1FFF000 is 200030D0 (seems fine, a valid location in sram)
PC at 1FFF0004 is 1FFF6145 (unknown if good)
It jumps to 1FFF6144, of course I don't know what it does in there, but after a few hundred instructions the system resets
thanks!