MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
mccibootloaderboard_stm32h7b3i_dk_prepareforlaunch.c
Go to the documentation of this file.
1/*
2
3Module: mccibootloaderboard_stm32h7b3i_dk_prepareforlaunch.c
4
5Function:
6 McciBootloaderBoard_Stm32h7b3iDk_prepareForLaunch()
7
8Copyright and License:
9 This file copyright (C) 2021 by
10
11 MCCI Corporation
12 3520 Krums Corners Road
13 Ithaca, NY 14850
14
15 See accompanying LICENSE file for copyright and license information.
16
17Author:
18 ChaeHee Won, MCCI Corporation June 2021
19
20*/
21
23
24/****************************************************************************\
25|
26| Manifest constants & typedefs.
27|
28\****************************************************************************/
29
30
31
32/****************************************************************************\
33|
34| Read-only data.
35|
36\****************************************************************************/
37
38
39
40/****************************************************************************\
41|
42| Variables.
43|
44\****************************************************************************/
45
46
47/*
48
49Name: McciBootloaderBoard_Stm32h7b3iDk_prepareForLaunch()
50
51Function:
52 Platform interface: prepare for launch
53
54Definition:
55 void McciBootloaderBoard_Stm32h7b3iDk_prepareForLaunch(
56 void
57 );
58
59Description:
60 Return the board and the SOC to the boot state.
61
62Returns:
63 No explicit result.
64
65Notes:
66
67
68*/
69
70void
84
85/**** end of mccibootloaderboard_stm32h7b3i_dk_prepareforlaunch.c ****/
static uint32_t McciArm_putReg(uint32_t reg, uint32_t val)
write a 32-bit value to a cm0plus register
static uint32_t McciArm_putRegClear(uint32_t reg, uint32_t clearVal)
clear out 32-bit values to a cm0plus register
#define MCCI_CM7_SYSTICK_CSR
void McciBootloader_Stm32h7_prepareForLaunch(void)
#define MCCI_STM32H7_REG_RCC_APB4ENR_SYSCFGEN
#define MCCI_STM32H7_REG_RCC_APB4ENR
APB4 clock.
void McciBootloaderBoard_Stm32h7b3iDk_prepareForLaunch(void)