rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
hw_layer
ports
stm32
stm32f7
dfu_init.h
Go to the documentation of this file.
1
/*
2
* dfu_init.h
3
*
4
* @date Aug 3, 2019
5
* @author Andrey Belomutskiy, (c) 2012-2020
6
*/
7
8
#ifndef HW_LAYER_PORTS_STM32_STM32F7_DFU_INIT_H_
9
#define HW_LAYER_PORTS_STM32_STM32F7_DFU_INIT_H_
10
11
// System control block registers base
12
LDR
R1
, =0xE000ED00
13
14
// location of system memory (DFU bootloader)
15
LDR
R0
, =0x1FF00000
16
17
// Set the vector table offset to the sysmem image
18
STR
R0
, [
R1
, #8]
19
20
// load the stack pointer
21
LDR
SP
, [
R0
, #0]
22
23
// prepare for jump to bootloader
24
LDR
R0
, [
R0
, #4]
25
26
#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