![]() |
MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
|
Go to the source code of this file.
Functions | |
| bool | McciBootloader_Stm32L0_programHalfPage (uint32_t flash_addr, const uint32_t *pData) |
| bool | McciBootloader_Stm32L0_systemFlashErase (volatile const void *pBase, size_t nBytes) |
| bool | McciBootloader_Stm32L0_systemFlashWrite (volatile const void *pDest, const void *pSrc, size_t nBytes) |
| bool McciBootloader_Stm32L0_programHalfPage | ( | uint32_t | flash_addr, |
| const uint32_t * | pData | ||
| ) |
Definition at line 118 of file mccibootloader_stm32l0_systemflash.c.
References MCCI_STM32L0_FLASH_HALF_PAGE_SIZE, MCCI_STM32L0_REG_FLASH_PECR, MCCI_STM32L0_REG_FLASH_PECR_FPRG, MCCI_STM32L0_REG_FLASH_PECR_PROG, MCCI_STM32L0_REG_FLASH_SR, MCCI_STM32L0_REG_FLASH_SR_BSY, MCCI_STM32L0_REG_FLASH_SR_EOP, McciArm_getReg(), McciArm_putReg(), McciArm_putRegClear(), and McciArm_putRegOr().
Referenced by McciBootloader_Stm32L0_systemFlashWrite().
| bool McciBootloader_Stm32L0_systemFlashErase | ( | volatile const void * | pBase, |
| size_t | nBytes | ||
| ) |
Definition at line 54 of file mccibootloader_stm32l0_systemflash.c.
References MCCI_STM32L0_FLASH_PAGE_SIZE, MCCI_STM32L0_REG_FLASH_PECR, MCCI_STM32L0_REG_FLASH_PECR_ERASE, MCCI_STM32L0_REG_FLASH_PECR_PELOCK, MCCI_STM32L0_REG_FLASH_PECR_PROG, MCCI_STM32L0_REG_FLASH_PEKEYR, MCCI_STM32L0_REG_FLASH_PEKEYR_UNLOCK1, MCCI_STM32L0_REG_FLASH_PEKEYR_UNLOCK2, MCCI_STM32L0_REG_FLASH_PRGKEYR, MCCI_STM32L0_REG_FLASH_PRGKEYR_UNLOCK1, MCCI_STM32L0_REG_FLASH_PRGKEYR_UNLOCK2, MCCI_STM32L0_REG_FLASH_SR, MCCI_STM32L0_REG_FLASH_SR_BSY, MCCI_STM32L0_REG_FLASH_SR_EOP, McciArm_getReg(), McciArm_putReg(), McciArm_putRegClear(), and McciArm_putRegOr().
| bool McciBootloader_Stm32L0_systemFlashWrite | ( | volatile const void * | pDest, |
| const void * | pSrc, | ||
| size_t | nBytes | ||
| ) |
Definition at line 157 of file mccibootloader_stm32l0_systemflash.c.
References MCCI_STM32L0_FLASH_HALF_PAGE_SIZE, MCCI_STM32L0_REG_FLASH_PECR, MCCI_STM32L0_REG_FLASH_PECR_PELOCK, MCCI_STM32L0_REG_FLASH_PEKEYR, MCCI_STM32L0_REG_FLASH_PEKEYR_UNLOCK1, MCCI_STM32L0_REG_FLASH_PEKEYR_UNLOCK2, MCCI_STM32L0_REG_FLASH_PRGKEYR, MCCI_STM32L0_REG_FLASH_PRGKEYR_UNLOCK1, MCCI_STM32L0_REG_FLASH_PRGKEYR_UNLOCK2, MCCI_STM32L0_REG_FLASH_SR, MCCI_STM32L0_REG_FLASH_SR_BSY, McciArm_getReg(), McciArm_putReg(), McciArm_putRegOr(), and McciBootloader_Stm32L0_programHalfPage().