cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L475 Jumping to DFU

Curt Black
Associate II

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!

0 REPLIES 0