![]() |
MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
|
#include "mcci_bootloader_types.h"#include "mcci_arm_cm7.h"#include "mcci_bootloader_stm32h7_appimage.h"#include "mcci_bootloader_platform_types.h"Go to the source code of this file.
Macros | |
| #define | _mcci_bootloader_stm32h7_h_ /* prevent multiple includes */ |
Functions | |
| void | McciBootloader_Stm32h7_prepareForLaunch (void) |
| void | McciBootloader_Stm32h7_systemInit (void) |
Variables | |
| MCCI_BOOTLOADER_BEGIN_DECLS const McciBootloader_Stm32H7PageZero_t | gk_McciBootloader_CortexVectors |
| the Stm32 H7 vectors for the boot loader. | |
| const McciBootloader_SignatureBlock_t | gk_McciBootloader_SignatureBlock |
| the application signature block | |
| McciBootloaderPlatform_SystemFlashEraseFn_t | McciBootloader_Stm32h7_systemFlashErase |
| McciBootloaderPlatform_SystemFlashWriteFn_t | McciBootloader_Stm32h7_systemFlashWrite |
| #define _mcci_bootloader_stm32h7_h_ /* prevent multiple includes */ |
Definition at line 23 of file mcci_bootloader_stm32h7.h.
| void McciBootloader_Stm32h7_prepareForLaunch | ( | void | ) |
Definition at line 73 of file mccibootloader_stm32h7_prepareforlaunch.c.
Referenced by McciBootloaderBoard_Stm32h7b3iDk_prepareForLaunch().
| void McciBootloader_Stm32h7_systemInit | ( | void | ) |
Definition at line 116 of file mccibootloader_stm32h7_systeminit.c.
References gk_McciBootloader_CortexVectors, MCCI_CM7_SCB_VTOR, MCCI_STM32H7_PWR_SUPPLY_CONFIG, MCCI_STM32H7_PWR_SUPPLY_CONFIG_MASK, MCCI_STM32H7_PWR_SUPPLY_SMPS_1V8_EXT, MCCI_STM32H7_PWR_SUPPLY_SMPS_1V8_EXTLDO, MCCI_STM32H7_PWR_SUPPLY_SMPS_2V5_EXT, MCCI_STM32H7_PWR_SUPPLY_SMPS_2V5_EXTLDO, MCCI_STM32H7_REG_FLASH_ACR, MCCI_STM32H7_REG_FLASH_ACR_LATENCY, MCCI_STM32H7_REG_FLASH_ACR_LATENCY_V, MCCI_STM32H7_REG_PWR_CR3, MCCI_STM32H7_REG_PWR_CR3_BYPASS, MCCI_STM32H7_REG_PWR_CR3_LDOEN, MCCI_STM32H7_REG_PWR_CR3_SMPSEN, MCCI_STM32H7_REG_PWR_CR3_SMPSEXTRDY, MCCI_STM32H7_REG_PWR_CSR1, MCCI_STM32H7_REG_PWR_CSR1_ACTVOSRDY, MCCI_STM32H7_REG_PWR_SRDCR, MCCI_STM32H7_REG_PWR_SRDCR_VOS, MCCI_STM32H7_REG_PWR_SRDCR_VOS_SCALE1, MCCI_STM32H7_REG_PWR_SRDCR_VOSRDY, MCCI_STM32H7_REG_RCC_CDCFGR1, MCCI_STM32H7_REG_RCC_CDCFGR2, MCCI_STM32H7_REG_RCC_CFGR, MCCI_STM32H7_REG_RCC_CIER, MCCI_STM32H7_REG_RCC_CR, MCCI_STM32H7_REG_RCC_CR_HSION, MCCI_STM32H7_REG_RCC_PLL1DIVR, MCCI_STM32H7_REG_RCC_PLL1FRACR, MCCI_STM32H7_REG_RCC_PLL2DIVR, MCCI_STM32H7_REG_RCC_PLL2FRACR, MCCI_STM32H7_REG_RCC_PLL3DIVR, MCCI_STM32H7_REG_RCC_PLL3FRACR, MCCI_STM32H7_REG_RCC_PLLCFGR, MCCI_STM32H7_REG_RCC_PLLCKSELR, MCCI_STM32H7_REG_RCC_SRDCFGR, McciArm_getReg(), McciArm_putReg(), and McciArm_putRegOr().
|
extern |
the Stm32 H7 vectors for the boot loader.
The vectors are put in section .McciBootloader_Vectors – be sure to research the link script when making changes here.
the Stm32 H7 vectors for the boot loader.
the CortexM7 vectors for the boot loader.
The vectors are put in section .McciBootloader_Vectors – be sure to research the link script when making changes here.
Definition at line 45 of file mccibootloaderboard_catenaabz_vectors.c.
|
extern |
the application signature block
The signature block is put in section .McciBootloader_Signature – be sure to research the link script when making changes here.
Definition at line 113 of file mccibootloaderboard_catenaabz_vectors.c.
| McciBootloaderPlatform_SystemFlashEraseFn_t McciBootloader_Stm32h7_systemFlashErase |
Definition at line 94 of file mcci_bootloader_stm32h7.h.
Referenced by McciBootloaderBoard_Stm32h7b3iDk_setUpdate().
| McciBootloaderPlatform_SystemFlashWriteFn_t McciBootloader_Stm32h7_systemFlashWrite |
Definition at line 97 of file mcci_bootloader_stm32h7.h.
Referenced by McciBootloaderBoard_Stm32h7b3iDk_setUpdate().