rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
hw_layer
ports
stm32
stm32h7
dfu_init.h
Go to the documentation of this file.
1
2
// https://community.st.com/s/question/0D50X00009bNBluSAG/boot-stm32h7-after-power-up
3
// https://community.st.com/s/article/STM32H7-bootloader-jump-from-application
4
5
#ifndef HW_LAYER_PORTS_STM32_STM32F7_DFU_INIT_H_
6
#define HW_LAYER_PORTS_STM32_STM32F7_DFU_INIT_H_
7
8
// System control block registers base
9
LDR
R1
, =0xE000ED00
10
11
// location of system memory (DFU bootloader)
12
LDR
R0
, =0x1FF09800
13
14
// Set the vector table offset to the sysmem image
15
STR
R0
, [
R1
, #8]
16
17
// load the stack pointer
18
LDR
SP
, [
R0
, #0]
19
20
// prepare for jump to bootloader
21
LDR
R0
, [
R0
, #4]
22
23
#endif
/* HW_LAYER_PORTS_STM32_STM32F7_DFU_INIT_H_ */
R0
LDR R0
Definition
dfu_init.h:11
R1
LDR R1
Definition
dfu_init.h:12
SP
LDR LDR SP
Definition
dfu_init.h:15
Generated on Sat Sep 27 2025 00:10:07 for rusEFI by
1.9.8