From 3e5f7dfe23c931eafd6d5e083818266429b9816e Mon Sep 17 00:00:00 2001 From: Akos Pasztor Date: Mon, 13 Nov 2017 20:13:23 +0100 Subject: [PATCH] CheckForApplication fix introduced RAM_SIZE to precisely check if the flash contains valid application --- EWARM/stm32-bootloader.dep | 1296 ++++++++++++++++++------------------ Inc/bootloader.h | 8 +- Inc/main.h | 2 +- Src/bootloader.c | 6 +- Src/main.c | 10 +- 5 files changed, 665 insertions(+), 657 deletions(-) diff --git a/EWARM/stm32-bootloader.dep b/EWARM/stm32-bootloader.dep index 3caebee..c7dc50f 100644 --- a/EWARM/stm32-bootloader.dep +++ b/EWARM/stm32-bootloader.dep @@ -5,269 +5,270 @@ L476 - $PROJ_DIR$\startup_stm32l476xx.s - $PROJ_DIR$\stm32l476xx_flash.icf - $PROJ_DIR$\..\Inc\fatfs.h - $PROJ_DIR$\..\Inc\ffconf.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c $PROJ_DIR$\..\Inc\stm32l4xx_hal_conf.h - $PROJ_DIR$\..\Src\bootloader.c - $PROJ_DIR$\..\Src\bsp_driver_sd.c - $PROJ_DIR$\..\Inc\main.h - $PROJ_DIR$\..\Src\main.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c $PROJ_DIR$\..\Src\stm32l4xx_it.c - $PROJ_DIR$\..\Src\system_stm32l4xx.c - $PROJ_DIR$\..\Inc\bsp_driver_sd.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c + $PROJ_DIR$\..\Inc\stm32l4xx_it.h + $PROJ_DIR$\..\Src\main.c $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c - $PROJ_DIR$\startup_stm32l496xx.s - $PROJ_DIR$\..\Inc\bootloader.h - $PROJ_DIR$\..\Src\fatfs.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma.c - $PROJ_DIR$\..\Inc\stm32l4xx_it.h $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash.c $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ex.c - $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmInstr.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal.h - $TOOLKIT_DIR$\lib\dl7M_tlf.a - $PROJ_DIR$\L476\Obj\sd.o - $TOOLKIT_DIR$\inc\c\DLib_Config_Full.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_crc_ex.h - $PROJ_DIR$\..\Src\sd.c - $PROJ_DIR$\L476\Obj\bsp_driver_sd.o - $PROJ_DIR$\L476\Obj\startup_stm32l496xx.o - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc.o - $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include\system_stm32l4xx.h - $TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ex.o - $TOOLKIT_DIR$\inc\c\stdint.h - $PROJ_DIR$\L476\Obj\bootloader.__cstat.et - $PROJ_DIR$\L476\Obj\bsp_driver_sd.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_sd.o - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash_ramfunc.h - $PROJ_DIR$\L476\Obj\stm32l4xx_ll_sdmmc.o - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc_ex.o - $PROJ_DIR$\L476\Obj\diskio.o - $PROJ_DIR$\L476\Obj\bsp_driver_sd.__cstat.et - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash.o - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_cortex.o - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ramfunc.o - $TOOLKIT_DIR$\lib\m7M_tls.a - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.h - $PROJ_DIR$\L476\Obj\syscall.__cstat.et - $TOOLKIT_DIR$\inc\c\stdlib.h - $PROJ_DIR$\L476\Obj\sd.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr.o - $PROJ_DIR$\L476\Obj\main.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_gpio.o - $PROJ_DIR$\L476\Obj\stm32l4xx_it.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr_ex.pbi - $TOOLKIT_DIR$\inc\c\stdio.h - $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmFunc.h - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ramfunc.pbi - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_def.h + $PROJ_DIR$\..\Inc\fatfs.h + $PROJ_DIR$\startup_stm32l496xx.s + $PROJ_DIR$\stm32l476xx_flash.icf + $PROJ_DIR$\..\Inc\main.h + $PROJ_DIR$\..\Src\bsp_driver_sd.c + $PROJ_DIR$\..\Src\fatfs.c + $PROJ_DIR$\..\Inc\bsp_driver_sd.h + $PROJ_DIR$\startup_stm32l476xx.s + $PROJ_DIR$\..\Inc\bootloader.h + $PROJ_DIR$\..\Inc\ffconf.h + $PROJ_DIR$\..\Src\bootloader.c + $PROJ_DIR$\stm32l496xx_flash.icf + $PROJ_DIR$\..\Src\system_stm32l4xx.c + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash.pbi + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_gpio.pbi $TOOLKIT_DIR$\inc\c\ycheck.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_cortex.h - $PROJ_DIR$\L476\Obj\stm32l4xx_hal.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc_ex.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr.pbi $PROJ_DIR$\L476\Obj\sd_diskio.pbi - $PROJ_DIR$\L476\Obj\ff_gen_drv.o - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_cortex.pbi - $PROJ_DIR$\L476\Obj\system_stm32l4xx.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc.pbi + $PROJ_DIR$\L476\Obj\fatfs.pbi $PROJ_DIR$\L476\Obj\stm32l4xx_hal_dma.o $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr_ex.o $PROJ_DIR$\L476\Obj\startup_stm32l476xx.o + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_sd.h + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr_ex.pbi + $PROJ_DIR$\L476\Obj\system_stm32l4xx.pbi $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ex.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc_ex.o - $PROJ_DIR$\L476\Obj\bootloader.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_dma.pbi + $PROJ_DIR$\L476\Obj\stm32l4xx_hal.pbi + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_cortex.pbi + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc_ex.pbi + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc.pbi + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_def.h $PROJ_DIR$\L476\Obj\ff.o - $PROJ_DIR$\L476\Obj\fatfs.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr_ex.o - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_gpio.pbi - $TOOLKIT_DIR$\inc\c\intrinsics.h $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_pwr.h - $TOOLKIT_DIR$\inc\c\DLib_Product.h - $TOOLKIT_DIR$\lib\shb_l.a - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_sd.h + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ramfunc.pbi $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4xx.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_gpio_ex.h - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.h - $TOOLKIT_DIR$\inc\c\DLib_Defaults.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_crc.h - $PROJ_DIR$\L476\Obj\stm32l4xx_ll_sdmmc.__cstat.et - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_gpio.h - $TOOLKIT_DIR$\inc\c\DLib_Product_string.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_dma_ex.h $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc_ex.pbi - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash_ex.h - $TOOLKIT_DIR$\inc\c\string.h - $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmSimd.h - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc_ex.__cstat.et $PROJ_DIR$\L476\Obj\stm32l4xx_hal_sd.__cstat.et - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc.pbi - $PROJ_DIR$\L476\Obj\fatfs.__cstat.et - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_sd.pbi - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_rcc_ex.h - $PROJ_DIR$\L476\Obj\stm32l4xx_ll_sdmmc.pbi - $TOOLKIT_DIR$\inc\c\iccarm_builtin.h - $PROJ_DIR$\L476\Obj\stm32-bootloader.pbd - $PROJ_DIR$\..\Inc\sd_diskio.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ramfunc.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_dma.h - $PROJ_DIR$\L476\Obj\main.__cstat.et - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_dma_ex.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_sd.c - $PROJ_DIR$\..\Src\sd_diskio.c - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.c - $PROJ_DIR$\L476\Obj\diskio.pbi - $PROJ_DIR$\L476\Obj\diskio.__cstat.et - $PROJ_DIR$\L476\List\stm32-bootloader.map - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.c - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_ll_sdmmc.c - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\option\syscall.c - $PROJ_DIR$\L476\Obj\ff_gen_drv.__cstat.et - $PROJ_DIR$\L476\Obj\syscall.o + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_gpio_ex.h + $TOOLKIT_DIR$\lib\shb_l.a + $TOOLKIT_DIR$\inc\c\stdio.h + $TOOLKIT_DIR$\inc\c\intrinsics.h + $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmFunc.h + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr.pbi + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc_ex.o + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_ll_sdmmc.h + $PROJ_DIR$\L476\Obj\bootloader.o + $TOOLKIT_DIR$\inc\c\cmsis_iar.h $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_rcc.h - $PROJ_DIR$\L476\Obj\ff.__cstat.et $PROJ_DIR$\L476\Obj\ff.pbi + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_rcc.h $PROJ_DIR$\L476\Exe\stm32-bootloader.bin - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_gpio.c - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.c - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.c + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ramfunc.__cstat.et + $TOOLKIT_DIR$\inc\c\DLib_Product.h + $PROJ_DIR$\L476\Obj\bootloader.pbi + $PROJ_DIR$\L476\Obj\system_stm32l4xx.__cstat.et + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_pwr_ex.h $PROJ_DIR$\L476\Obj\ff_gen_drv.pbi - $PROJ_DIR$\L476\Exe\stm32-bootloader.out $PROJ_DIR$\L476\Obj\syscall.pbi - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_gpio.__cstat.et - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_pwr_ex.h - $PROJ_DIR$\L476\Obj\sd_diskio.__cstat.et - $PROJ_DIR$\L476\Obj\stm32l4xx_it.__cstat.et - $PROJ_DIR$\L476\Obj\system_stm32l4xx.__cstat.et $PROJ_DIR$\L476\Obj\stm32l4xx_hal_dma.__cstat.et $TOOLKIT_DIR$\inc\c\ysizet.h - $PROJ_DIR$\L476\Obj\bootloader.o - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr_ex.__cstat.et - $TOOLKIT_DIR$\lib\rt7M_tl.a - $TOOLKIT_DIR$\inc\c\cmsis_iar.h - $PROJ_DIR$\L476\Obj\stm32l4xx_hal.o $PROJ_DIR$\L476\Obj\system_stm32l4xx.o - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc_ex.__cstat.et - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ramfunc.__cstat.et - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr.__cstat.et + $PROJ_DIR$\L476\Obj\stm32l4xx_hal.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_gpio.__cstat.et + $PROJ_DIR$\L476\Obj\sd_diskio.__cstat.et + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_cortex.h + $PROJ_DIR$\L476\Obj\ff_gen_drv.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_dma.pbi $PROJ_DIR$\L476\Obj\main.o - $PROJ_DIR$\L476\Obj\sd_diskio.o + $PROJ_DIR$\L476\Obj\ff.__cstat.et + $PROJ_DIR$\L476\Obj\stm32l4xx_it.__cstat.et $PROJ_DIR$\L476\Obj\stm32l4xx_it.o + $PROJ_DIR$\L476\Obj\ff_gen_drv.__cstat.et + $PROJ_DIR$\L476\Exe\stm32-bootloader.out $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l476xx.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_ll_sdmmc.h - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\integer.h - $PROJ_DIR$\L476\Obj\fatfs.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc_ex.__cstat.et + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash_ex.h + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_sd.pbi + $PROJ_DIR$\L476\Obj\stm32l4xx_ll_sdmmc.pbi + $PROJ_DIR$\L476\Obj\main.__cstat.et + $PROJ_DIR$\L476\List\stm32-bootloader.map + $PROJ_DIR$\L476\Obj\stm32l4xx_ll_sdmmc.__cstat.et + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc.pbi + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc_ex.__cstat.et + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_gpio.h + $TOOLKIT_DIR$\inc\c\iccarm_builtin.h + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_rcc_ex.h + $PROJ_DIR$\..\Inc\sd_diskio.h + $PROJ_DIR$\..\Src\sd_diskio.c + $TOOLKIT_DIR$\inc\c\string.h + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.h + $TOOLKIT_DIR$\inc\c\DLib_Defaults.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_dma.h + $TOOLKIT_DIR$\inc\c\DLib_Product_string.h + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_crc.h + $PROJ_DIR$\L476\Obj\diskio.__cstat.et + $PROJ_DIR$\L476\Obj\fatfs.__cstat.et + $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmSimd.h + $PROJ_DIR$\L476\Obj\diskio.pbi + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ex.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr.o + $TOOLKIT_DIR$\lib\dl7M_tlf.a + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc.__cstat.et + $TOOLKIT_DIR$\inc\c\stdint.h + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc_ex.o + $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include\system_stm32l4xx.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal.h + $PROJ_DIR$\L476\Obj\sd.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash.__cstat.et $PROJ_DIR$\L476\Obj\stm32l4xx_hal_cortex.__cstat.et + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc.__cstat.et $PROJ_DIR$\L476\Obj\stm32l4xx_hal.__cstat.et + $TOOLKIT_DIR$\inc\c\yvals.h $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ex.__cstat.et + $TOOLKIT_DIR$\lib\rt7M_tl.a + $PROJ_DIR$\L476\Obj\sd_diskio.o + $PROJ_DIR$\L476\Obj\syscall.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash_ramfunc.o + $PROJ_DIR$\L476\Obj\syscall.__cstat.et + $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmInstr.h $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cm4.h - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash.__cstat.et - $TOOLKIT_DIR$\inc\c\yvals.h - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_crc.__cstat.et - $PROJ_DIR$\L476\Obj\stm32l4xx_hal_rcc.__cstat.et + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\integer.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash_ramfunc.h + $PROJ_DIR$\L476\Obj\bsp_driver_sd.__cstat.et + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr_ex.__cstat.et + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_pwr.__cstat.et + $PROJ_DIR$\L476\Obj\fatfs.o + $PROJ_DIR$\L476\Obj\bootloader.__cstat.et + $TOOLKIT_DIR$\inc\c\stdlib.h + $TOOLKIT_DIR$\lib\m7M_tls.a + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.c + $PROJ_DIR$\L476\Obj\bsp_driver_sd.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_flash.o + $PROJ_DIR$\L476\Obj\bsp_driver_sd.pbi + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_gpio.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.c + $PROJ_DIR$\L476\Obj\main.pbi + $PROJ_DIR$\L476\Obj\startup_stm32l496xx.o + $PROJ_DIR$\L476\Obj\diskio.o + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ramfunc.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_gpio.o + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_sd.o + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\option\syscall.c + $TOOLKIT_DIR$\inc\c\DLib_Config_Full.h + $PROJ_DIR$\L476\Obj\stm32l4xx_it.pbi + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.c + $PROJ_DIR$\L476\Obj\stm32l4xx_ll_sdmmc.o + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_crc_ex.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h + $TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_sd.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_ll_sdmmc.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.h + $PROJ_DIR$\L476\Obj\sd.pbi + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c + $PROJ_DIR$\L476\Obj\stm32l4xx_hal_cortex.o + $PROJ_DIR$\..\Src\sd.c + $PROJ_DIR$\L476\Obj\stm32-bootloader.pbd - $PROJ_DIR$\startup_stm32l476xx.s + [ROOT_NODE] - AARM - 75 + ILINK + 84 91 - $PROJ_DIR$\..\Src\bootloader.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c ICCARM - 151 + 73 BICOMP - 78 + 37 __cstat - 38 + 125 ICCARM - 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 24 4 134 62 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 16 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 24 145 86 34 115 62 164 37 134 94 63 16 163 170 60 172 154 110 4 96 64 133 89 108 28 91 29 41 90 23 102 93 27 87 59 150 100 + 26 87 41 45 117 126 51 120 119 1 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Src\bsp_driver_sd.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c ICCARM - 31 + 173 BICOMP - 39 + 38 __cstat - 45 + 123 ICCARM - 11 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 86 63 115 100 134 94 163 37 172 4 96 64 133 89 108 28 170 62 24 90 59 34 60 154 110 150 11 23 102 93 27 87 91 29 41 145 164 + 104 26 43 87 61 107 85 117 126 1 95 76 59 33 98 164 134 41 45 51 120 119 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Src\main.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c ICCARM - 160 + 55 BICOMP - 55 + 39 __cstat - 116 + 86 ICCARM - 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 24 4 134 62 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 7 16 2 50 165 3 11 52 35 99 92 127 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 60 170 100 37 62 90 63 154 110 4 172 16 163 127 35 7 2 24 34 59 150 50 165 52 92 23 102 93 27 87 134 96 115 64 94 133 86 89 108 28 91 29 41 145 164 99 3 11 + 26 41 45 87 117 126 51 120 119 1 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 @@ -276,702 +277,702 @@ ICCARM - 162 + 82 BICOMP - 57 + 159 __cstat - 147 + 81 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 20 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 5 BICOMP - 108 93 133 63 172 62 96 28 154 41 4 64 89 170 27 134 115 94 86 163 37 23 91 29 20 90 59 24 34 102 87 145 164 60 110 150 100 + 98 103 59 26 126 41 95 164 58 136 1 76 33 134 158 61 104 107 43 85 117 133 49 163 5 45 51 120 119 110 64 67 56 53 96 71 87 - $PROJ_DIR$\..\Src\system_stm32l4xx.c + $PROJ_DIR$\..\Src\main.c ICCARM - 156 + 79 BICOMP - 71 + 150 __cstat - 148 + 90 ICCARM - 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 24 4 134 62 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 120 1 61 41 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 14 19 11 170 135 20 17 142 165 102 106 97 BICOMP - 62 93 63 90 154 100 27 172 24 34 23 163 170 37 102 87 59 150 60 110 4 134 96 115 64 94 133 86 89 108 28 91 29 41 145 164 + 134 117 51 71 41 19 85 97 165 14 11 120 119 53 126 58 96 1 45 26 87 170 135 142 106 133 110 103 158 64 61 95 104 76 107 59 43 33 98 164 49 163 136 67 56 102 20 17 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc.c ICCARM - 155 + 112 BICOMP - 65 + 40 __cstat - 168 + 124 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 63 93 85 100 62 90 102 27 172 59 24 34 4 134 96 115 64 94 133 86 89 108 28 163 170 37 23 87 150 60 154 91 29 41 145 164 + 87 119 26 51 120 117 126 1 41 45 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma.c ICCARM - 33 + 29 BICOMP - 72 + 78 __cstat - 173 + 70 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 100 34 63 93 85 59 24 102 27 172 4 62 90 134 96 115 64 94 133 86 89 108 28 163 170 37 23 87 150 60 154 91 29 41 145 164 + 26 119 87 51 120 117 126 41 45 1 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash.c ICCARM - 77 + 146 BICOMP - 66 + 24 __cstat - 157 + 122 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 63 93 85 62 90 100 102 27 172 59 24 34 4 134 96 115 64 94 133 86 89 108 28 163 170 37 23 87 150 60 154 91 29 41 145 164 + 26 87 41 45 117 126 51 120 119 1 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\startup_stm32l496xx.s - - - AARM - 32 - - - - - $PROJ_DIR$\..\Src\fatfs.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ex.c ICCARM - 166 + 113 BICOMP - 81 + 36 __cstat - 106 + 127 ICCARM - 2 50 165 3 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 11 52 35 99 92 127 7 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 62 164 3 99 11 4 90 87 145 37 59 24 34 102 63 35 7 50 127 165 52 134 96 115 64 94 133 86 89 108 28 163 170 23 93 27 154 172 91 29 41 92 2 60 110 150 100 + 87 119 26 51 120 117 126 1 41 45 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c + $PROJ_DIR$\startup_stm32l496xx.s + + + AARM + 151 + + + + + $PROJ_DIR$\..\Src\bsp_driver_sd.c ICCARM - 47 + 145 BICOMP - 70 + 147 __cstat - 167 + 137 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 17 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 63 115 93 85 86 100 134 94 163 37 102 27 172 4 96 64 133 89 108 28 170 62 90 59 24 34 23 87 150 60 154 91 29 41 145 164 + 43 26 104 87 61 107 85 117 126 1 95 76 59 33 98 164 134 41 120 45 51 119 53 58 96 71 17 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma.c + $PROJ_DIR$\..\Src\fatfs.c ICCARM - 73 + 140 BICOMP - 79 + 28 __cstat - 149 + 109 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 11 170 135 20 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 17 142 165 102 106 97 14 BICOMP - 63 93 85 34 100 59 24 102 27 172 62 90 4 134 96 115 64 94 133 86 89 108 28 163 170 37 23 87 150 60 154 91 29 41 145 164 + 41 56 20 102 17 1 45 64 67 117 51 120 119 110 26 165 14 170 97 135 142 61 95 104 76 107 59 43 33 98 164 85 134 133 103 158 58 126 49 163 136 106 11 53 96 71 87 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash.c + $PROJ_DIR$\startup_stm32l476xx.s + + + AARM + 32 + + + + + $PROJ_DIR$\..\Src\bootloader.c ICCARM - 46 + 57 BICOMP - 82 + 65 __cstat - 171 + 141 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 120 1 61 41 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 19 BICOMP - 63 93 85 100 62 90 102 27 172 59 24 34 4 134 96 115 64 94 133 86 89 108 28 163 170 37 23 87 150 60 154 91 29 41 145 164 + 58 96 1 33 49 134 53 76 41 163 85 117 126 95 59 98 164 136 19 120 119 61 104 107 43 26 67 56 45 133 110 103 158 64 51 71 87 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ex.c + $PROJ_DIR$\..\Src\system_stm32l4xx.c ICCARM - 36 + 72 BICOMP - 76 + 35 __cstat - 169 + 66 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 120 1 61 41 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 100 34 63 93 85 59 24 102 27 172 4 62 90 134 96 115 64 94 133 86 89 108 28 163 170 37 23 87 150 60 154 91 29 41 145 164 + 41 103 26 45 58 87 158 126 120 119 133 85 134 117 110 64 51 71 53 96 1 61 95 104 76 107 59 43 33 98 164 49 163 136 67 56 - [ROOT_NODE] + $PROJ_DIR$\L476\Exe\stm32-bootloader.out ILINK - 142 124 - - - - - $PROJ_DIR$\..\Src\sd.c - - - ICCARM - 26 + 91 - BICOMP - 53 + OBJCOPY + 62 - BICOMP - 62 11 115 63 108 163 37 154 172 16 96 28 170 50 2 24 4 7 134 118 64 94 133 86 89 90 59 34 60 91 100 99 3 165 23 102 93 27 87 85 150 29 41 145 164 52 35 92 + ILINK + 13 57 145 152 140 42 77 79 129 32 73 173 112 55 29 146 113 131 155 114 31 30 118 156 82 162 130 72 50 128 143 115 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ramfunc.c + $PROJ_DIR$\..\Src\sd_diskio.c ICCARM - 48 + 129 BICOMP - 61 + 27 __cstat - 158 + 75 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 120 1 14 61 41 45 85 134 117 26 126 103 158 64 133 58 52 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 102 106 135 170 20 17 99 101 105 BICOMP - 63 64 170 93 85 4 89 100 96 133 108 28 102 27 172 134 115 94 86 163 37 62 90 59 24 34 23 87 150 60 154 91 29 41 145 164 + 126 41 98 85 117 135 104 53 120 170 142 95 164 134 49 67 56 99 106 20 17 1 14 61 46 76 59 43 33 45 51 119 58 26 136 102 133 110 103 158 64 52 71 87 165 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.c ICCARM - 74 + 152 BICOMP - 105 + 111 __cstat - 174 + 108 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 106 135 102 170 20 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 17 142 165 BICOMP - 63 93 85 59 24 100 34 102 27 172 62 90 4 134 96 115 64 94 133 86 89 108 28 163 170 37 23 87 150 60 154 91 29 41 145 164 + 20 119 135 117 126 51 120 26 87 106 17 1 41 45 102 170 142 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 165 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_gpio.c ICCARM - 83 + 155 BICOMP - 58 + 25 __cstat - 152 + 74 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 63 94 163 37 93 85 134 100 115 86 102 27 172 4 96 64 133 89 108 28 170 62 90 59 24 34 23 87 150 60 154 91 29 41 145 164 + 119 26 87 51 120 117 126 41 45 1 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_sd.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.c ICCARM - 40 + 77 BICOMP - 107 + 68 __cstat - 104 + 83 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 102 106 135 170 20 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 17 142 165 BICOMP - 100 63 93 85 4 62 90 102 27 172 134 96 115 64 94 133 86 89 59 24 34 23 87 150 108 28 163 170 37 60 154 91 29 41 145 164 + 117 126 20 17 1 41 45 26 87 170 51 120 119 106 135 142 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 102 133 110 103 158 64 49 163 136 67 56 165 - $PROJ_DIR$\..\Src\sd_diskio.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ramfunc.c ICCARM - 161 + 131 BICOMP - 68 + 44 __cstat - 146 + 63 ICCARM - 24 4 7 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 99 92 165 50 3 11 112 101 97 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 172 62 108 163 37 165 115 60 24 50 52 96 28 170 91 145 164 112 92 3 11 4 7 134 118 64 133 86 89 90 59 34 154 63 41 99 23 102 93 27 87 85 150 100 35 + 76 134 26 1 33 87 95 59 98 164 117 126 61 104 107 43 85 41 45 51 120 119 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c ICCARM - 161 + 118 BICOMP - 68 + 47 __cstat - 146 + 94 ICCARM - 99 92 165 50 3 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 11 52 35 127 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 52 62 115 86 37 165 24 134 94 163 172 154 41 50 96 64 133 89 108 28 170 91 29 127 92 3 11 4 90 59 34 60 63 145 164 99 23 102 93 27 87 85 150 100 35 + 59 98 26 95 164 87 1 76 33 134 117 126 61 104 107 43 85 41 45 51 120 119 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\option\syscall.c ICCARM - 54 + 130 BICOMP - 67 + 69 __cstat - 159 + 132 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 170 135 20 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 17 142 165 BICOMP - 63 115 93 85 86 100 134 94 163 37 102 27 172 4 96 64 133 89 108 28 170 62 90 59 24 34 23 87 150 60 154 91 29 41 145 164 + 85 117 107 120 61 126 135 142 104 43 26 87 95 76 59 33 98 164 134 41 20 17 1 45 51 119 53 58 96 71 170 133 110 103 158 64 49 163 136 67 56 165 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c ICCARM - 44 + 114 BICOMP - 122 + 54 __cstat - 123 + 139 ICCARM - 92 165 99 50 3 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 11 52 35 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 62 3 34 60 165 37 63 59 24 92 11 4 90 145 164 99 50 52 134 96 115 64 94 133 86 89 108 28 163 170 172 154 91 29 41 23 102 93 27 87 85 150 100 35 + 26 119 87 51 120 117 126 41 45 1 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.c ICCARM - 43 + 129 BICOMP - 98 + 27 __cstat - 103 + 75 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 102 106 135 170 20 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 17 142 165 97 BICOMP - 63 133 108 93 85 96 28 100 4 64 89 170 102 27 172 134 115 94 86 163 37 62 90 59 24 34 23 87 150 60 154 91 29 41 145 164 + 142 104 41 43 126 135 120 61 107 85 117 71 170 95 76 59 33 98 164 134 53 58 96 97 106 20 17 1 45 51 119 26 87 102 133 110 103 158 64 49 163 136 67 56 165 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_ll_sdmmc.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c ICCARM - 42 + 31 BICOMP - 109 + 34 __cstat - 95 + 138 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 63 93 85 100 62 90 102 27 172 59 24 34 4 134 96 115 64 94 133 86 89 108 28 163 170 37 23 87 150 60 154 91 29 41 145 164 + 26 51 120 87 119 117 126 41 45 1 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\option\syscall.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_sd.c ICCARM - 132 + 156 BICOMP - 143 + 88 __cstat - 51 + 48 ICCARM - 50 165 3 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 11 52 35 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 62 163 37 94 60 24 134 63 165 52 115 86 96 64 133 89 108 28 170 145 164 3 11 4 90 59 34 172 154 91 29 41 50 23 102 93 27 87 85 150 100 35 + 98 87 26 1 41 164 117 126 134 61 95 104 76 107 59 43 33 85 53 58 96 71 120 45 51 119 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_gpio.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_ll_sdmmc.c ICCARM - 56 + 162 BICOMP - 84 + 89 __cstat - 144 + 92 ICCARM - 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 63 34 93 85 100 59 24 102 27 172 62 90 4 134 96 115 64 94 133 86 89 108 28 163 170 37 23 87 150 60 154 91 29 41 145 164 + 26 87 41 45 117 126 51 120 119 1 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.c ICCARM - 69 + 42 BICOMP - 141 + 60 __cstat - 131 + 80 ICCARM - 99 92 165 50 3 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 11 52 35 + 170 135 20 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 17 142 165 106 BICOMP - 62 60 63 3 11 4 90 50 59 24 34 145 164 92 37 165 52 134 96 115 64 94 133 86 89 108 28 163 170 172 154 91 29 41 99 23 102 93 27 87 85 150 100 35 + 107 85 117 120 61 58 96 71 142 104 43 53 41 135 95 76 59 33 98 164 134 126 106 20 17 1 45 51 119 26 87 170 133 110 103 158 64 49 163 136 67 56 165 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c ICCARM - 80 + 30 BICOMP - 136 + 93 __cstat - 135 + 116 ICCARM - 50 165 3 24 4 134 62 90 163 170 37 63 172 93 27 87 23 154 85 60 102 34 28 59 150 108 96 91 115 64 94 29 133 100 41 86 145 89 164 11 52 35 92 + 120 1 61 41 45 85 134 117 26 126 103 158 64 133 58 96 53 110 119 164 51 71 98 95 49 104 76 107 163 59 87 136 43 67 33 56 BICOMP - 94 163 37 154 24 134 91 172 52 115 86 62 29 165 96 64 133 89 108 28 170 41 92 3 11 4 90 59 34 60 63 145 164 50 23 102 93 27 87 85 150 100 35 + 26 51 120 87 119 117 126 41 45 1 61 95 104 76 107 59 43 33 98 164 85 134 53 58 96 71 133 110 103 158 64 49 163 136 67 56 - $PROJ_DIR$\L476\Exe\stm32-bootloader.out + $PROJ_DIR$\..\Src\sd.c - ILINK - 124 + ICCARM + 121 - OBJCOPY - 137 + BICOMP + 171 - ILINK - 1 151 31 44 166 80 69 160 161 75 155 47 33 77 73 46 36 48 56 54 83 74 43 40 162 42 132 156 88 153 49 25 + BICOMP + 41 17 104 26 98 85 117 58 126 19 95 164 134 170 11 120 1 14 61 46 76 107 59 43 33 45 51 119 53 49 87 102 20 135 133 110 103 158 64 52 71 163 136 67 56 142 165 106 @@ -987,260 +988,261 @@ L496 - $PROJ_DIR$\startup_stm32l476xx.s - $PROJ_DIR$\..\Inc\fatfs.h - $PROJ_DIR$\..\Inc\ffconf.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c $PROJ_DIR$\..\Inc\stm32l4xx_hal_conf.h - $PROJ_DIR$\..\Src\bootloader.c - $PROJ_DIR$\..\Src\bsp_driver_sd.c - $PROJ_DIR$\..\Inc\main.h - $PROJ_DIR$\..\Src\main.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c $PROJ_DIR$\..\Src\stm32l4xx_it.c - $PROJ_DIR$\..\Src\system_stm32l4xx.c - $PROJ_DIR$\..\Inc\bsp_driver_sd.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c + $PROJ_DIR$\..\Inc\stm32l4xx_it.h + $PROJ_DIR$\..\Src\main.c $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c - $PROJ_DIR$\startup_stm32l496xx.s - $PROJ_DIR$\..\Inc\bootloader.h - $PROJ_DIR$\..\Src\fatfs.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma.c - $PROJ_DIR$\..\Inc\stm32l4xx_it.h $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash.c $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ex.c + $PROJ_DIR$\..\Inc\fatfs.h + $PROJ_DIR$\startup_stm32l496xx.s + $PROJ_DIR$\stm32l476xx_flash.icf + $PROJ_DIR$\..\Inc\main.h + $PROJ_DIR$\..\Src\bsp_driver_sd.c + $PROJ_DIR$\..\Src\fatfs.c + $PROJ_DIR$\..\Inc\bsp_driver_sd.h + $PROJ_DIR$\startup_stm32l476xx.s + $PROJ_DIR$\..\Inc\bootloader.h + $PROJ_DIR$\..\Inc\ffconf.h + $PROJ_DIR$\..\Src\bootloader.c $PROJ_DIR$\stm32l496xx_flash.icf - $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmInstr.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal.h - $TOOLKIT_DIR$\lib\dl7M_tlf.a - $TOOLKIT_DIR$\inc\c\DLib_Config_Full.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_crc_ex.h - $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include\system_stm32l4xx.h - $TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h - $TOOLKIT_DIR$\inc\c\stdint.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash_ramfunc.h - $TOOLKIT_DIR$\lib\m7M_tls.a - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.h - $TOOLKIT_DIR$\inc\c\stdlib.h - $TOOLKIT_DIR$\inc\c\stdio.h - $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmFunc.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_def.h + $PROJ_DIR$\..\Src\system_stm32l4xx.c $TOOLKIT_DIR$\inc\c\ycheck.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_cortex.h - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc.__cstat.et - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_pwr.h - $TOOLKIT_DIR$\inc\c\DLib_Product.h - $TOOLKIT_DIR$\lib\shb_l.a $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_sd.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_def.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_pwr.h $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4xx.h $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_gpio_ex.h - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.h - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash.__cstat.et + $TOOLKIT_DIR$\lib\shb_l.a + $TOOLKIT_DIR$\inc\c\stdio.h + $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmFunc.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_ll_sdmmc.h + $TOOLKIT_DIR$\inc\c\cmsis_iar.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_rcc.h + $TOOLKIT_DIR$\inc\c\DLib_Product.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_pwr_ex.h + $TOOLKIT_DIR$\inc\c\ysizet.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_cortex.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash_ex.h $PROJ_DIR$\L496\Obj\stm32l4xx_hal_dma.__cstat.et - $PROJ_DIR$\L496\Obj\bsp_driver_sd.pbi - $TOOLKIT_DIR$\inc\c\DLib_Defaults.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_crc.h - $PROJ_DIR$\L496\Obj\bootloader.o - $PROJ_DIR$\L496\Obj\main.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_dma.pbi $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_gpio.h - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash_ex.h - $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmSimd.h + $TOOLKIT_DIR$\inc\c\iccarm_builtin.h + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.h $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_rcc_ex.h - $PROJ_DIR$\L496\Obj\main.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_rcc.pbi - $PROJ_DIR$\L496\Exe\stm32-bootloader.out $PROJ_DIR$\L496\Obj\startup_stm32l476xx.o - $PROJ_DIR$\L496\Obj\ff_gen_drv.o - $TOOLKIT_DIR$\inc\c\iccarm_builtin.h - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_dma.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr.pbi - $PROJ_DIR$\L496\Obj\ff.o - $PROJ_DIR$\L496\Obj\sd_diskio.pbi - $PROJ_DIR$\L496\Obj\ff.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_cortex.pbi $PROJ_DIR$\L496\Obj\diskio.pbi $PROJ_DIR$\L496\Obj\stm32l4xx_hal.pbi + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_rcc.pbi + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.h + $TOOLKIT_DIR$\inc\c\DLib_Defaults.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_dma.h + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_crc.h $PROJ_DIR$\L496\Obj\stm32l4xx_hal_gpio.pbi + $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmSimd.h + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash.__cstat.et + $PROJ_DIR$\L496\Obj\main.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_gpio.__cstat.et + $PROJ_DIR$\L496\Obj\syscall.pbi + $PROJ_DIR$\L496\Exe\stm32-bootloader.bin + $PROJ_DIR$\L496\Exe\stm32-bootloader.out + $PROJ_DIR$\L496\Obj\ff.pbi + $PROJ_DIR$\L496\Obj\main.o + $PROJ_DIR$\L496\Obj\sd_diskio.pbi + $PROJ_DIR$\L496\List\stm32-bootloader.map + $PROJ_DIR$\L496\Obj\bootloader.o $PROJ_DIR$\L496\Obj\stm32l4xx_ll_sdmmc.o $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr_ex.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ex.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_rcc_ex.pbi - $PROJ_DIR$\L496\Obj\system_stm32l4xx.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc.pbi - $PROJ_DIR$\L496\Obj\diskio.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_sd.pbi - $PROJ_DIR$\L496\Obj\bootloader.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc_ex.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_sd.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ramfunc.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_ll_sdmmc.pbi + $PROJ_DIR$\L496\Obj\main.pbi + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_cortex.pbi + $PROJ_DIR$\L496\Obj\ff.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc.__cstat.et + $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l496xx.h + $PROJ_DIR$\L496\Obj\stm32l4xx_it.o + $PROJ_DIR$\L496\Obj\system_stm32l4xx.__cstat.et + $PROJ_DIR$\L496\Obj\stm32-bootloader.pbd + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr.pbi + $PROJ_DIR$\L496\Obj\ff_gen_drv.o + $PROJ_DIR$\L496\Obj\bsp_driver_sd.pbi + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_gpio.o + $PROJ_DIR$\L496\Obj\bootloader.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc_ex.__cstat.et + $PROJ_DIR$\L496\Obj\sd_diskio.o + $PROJ_DIR$\L496\Obj\diskio.__cstat.et + $PROJ_DIR$\L496\Obj\fatfs.__cstat.et $PROJ_DIR$\L496\Obj\stm32l4xx_it.pbi - $PROJ_DIR$\L496\Obj\fatfs.pbi - $PROJ_DIR$\L496\Obj\ff_gen_drv.pbi - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ramfunc.pbi $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr_ex.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr.__cstat.et $PROJ_DIR$\L496\Obj\stm32l4xx_hal_rcc.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ex.o - $PROJ_DIR$\L496\Obj\stm32l4xx_ll_sdmmc.__cstat.et - $PROJ_DIR$\L496\Obj\system_stm32l4xx.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_sd.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc_ex.pbi + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr_ex.o $PROJ_DIR$\L496\Obj\stm32l4xx_hal_rcc_ex.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_sd.pbi + $PROJ_DIR$\L496\Obj\syscall.__cstat.et + $PROJ_DIR$\L496\Obj\system_stm32l4xx.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_rcc_ex.pbi + $PROJ_DIR$\L496\Obj\fatfs.pbi + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash.pbi + $PROJ_DIR$\L496\Obj\ff_gen_drv.pbi + $PROJ_DIR$\L496\Obj\stm32l4xx_ll_sdmmc.pbi $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr_ex.__cstat.et - $PROJ_DIR$\L496\Obj\fatfs.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_sd.__cstat.et $PROJ_DIR$\L496\Obj\stm32l4xx_hal.o - $PROJ_DIR$\L496\Obj\startup_stm32l496xx.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_pwr.__cstat.et - $PROJ_DIR$\L496\Obj\syscall.__cstat.et + $PROJ_DIR$\L496\Obj\system_stm32l4xx.pbi + $PROJ_DIR$\L496\Obj\syscall.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ramfunc.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_cortex.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_cortex.o + $PROJ_DIR$\L496\Obj\sd_diskio.__cstat.et + $PROJ_DIR$\L496\Obj\bsp_driver_sd.o $PROJ_DIR$\L496\Obj\ff.__cstat.et - $PROJ_DIR$\L496\List\stm32-bootloader.map + $PROJ_DIR$\L496\Obj\diskio.o + $PROJ_DIR$\L496\Obj\bootloader.pbi $PROJ_DIR$\L496\Obj\stm32l4xx_hal_rcc.__cstat.et - $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l496xx.h - $PROJ_DIR$\L496\Obj\diskio.__cstat.et - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_rcc_ex.__cstat.et - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_cortex.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc_ex.o - $PROJ_DIR$\L496\Obj\sd_diskio.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_dma.o + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ex.o $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ramfunc.o - $PROJ_DIR$\L496\Obj\ff_gen_drv.__cstat.et - $PROJ_DIR$\L496\Obj\sd_diskio.__cstat.et - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_gpio.o - $PROJ_DIR$\L496\Obj\stm32l4xx_it.o - $PROJ_DIR$\L496\Obj\syscall.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ramfunc.__cstat.et - $PROJ_DIR$\L496\Obj\bsp_driver_sd.__cstat.et - $PROJ_DIR$\L496\Obj\system_stm32l4xx.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_sd.__cstat.et + $PROJ_DIR$\L496\Obj\startup_stm32l496xx.o $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ex.__cstat.et - $PROJ_DIR$\L496\Obj\bootloader.__cstat.et - $PROJ_DIR$\L496\Obj\stm32-bootloader.pbd - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc_ex.__cstat.et - $PROJ_DIR$\L496\Obj\fatfs.__cstat.et - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_cortex.__cstat.et - $PROJ_DIR$\L496\Obj\main.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_dma.o + $PROJ_DIR$\L496\Obj\bsp_driver_sd.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc_ex.o $PROJ_DIR$\L496\Obj\stm32l4xx_it.__cstat.et - $PROJ_DIR$\L496\Exe\stm32-bootloader.bin - $PROJ_DIR$\L496\Obj\stm32l4xx_hal.__cstat.et - $PROJ_DIR$\L496\Obj\bsp_driver_sd.o - $PROJ_DIR$\L496\Obj\stm32l4xx_hal_gpio.__cstat.et - $PROJ_DIR$\L496\Obj\syscall.pbi - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ramfunc.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_dma.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_sd.c - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc.pbi + $PROJ_DIR$\L496\Obj\stm32l4xx_ll_sdmmc.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_flash_ex.pbi + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_rcc_ex.__cstat.et + $PROJ_DIR$\L496\Obj\stm32l4xx_hal_crc.o + $PROJ_DIR$\L496\Obj\fatfs.o + $PROJ_DIR$\L496\Obj\ff_gen_drv.__cstat.et + $TOOLKIT_DIR$\lib\dl7M_tlf.a + $TOOLKIT_DIR$\inc\c\stdint.h + $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include\system_stm32l4xx.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal.h + $TOOLKIT_DIR$\inc\c\yvals.h + $TOOLKIT_DIR$\lib\rt7M_tl.a + $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cmInstr.h + $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cm4.h + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\integer.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash_ramfunc.h + $TOOLKIT_DIR$\inc\c\stdlib.h + $TOOLKIT_DIR$\lib\m7M_tls.a $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.c - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_ll_sdmmc.c - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\option\syscall.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_flash.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_rcc.h $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_gpio.c $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ramfunc.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\option\syscall.c + $TOOLKIT_DIR$\inc\c\DLib_Config_Full.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_crc_ex.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h + $TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_sd.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_ll_sdmmc.c $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.c - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_pwr_ex.h - $TOOLKIT_DIR$\inc\c\ysizet.h - $TOOLKIT_DIR$\lib\rt7M_tl.a - $TOOLKIT_DIR$\inc\c\cmsis_iar.h - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_ll_sdmmc.h - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\integer.h - $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cm4.h - $TOOLKIT_DIR$\inc\c\yvals.h + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.h + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c - $PROJ_DIR$\startup_stm32l476xx.s + [ROOT_NODE] - AARM - 64 + ILINK + 65 69 - $PROJ_DIR$\..\Src\bootloader.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c ICCARM - 54 + 109 BICOMP - 84 + 50 __cstat - 129 + 61 ICCARM - 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 24 3 154 38 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 15 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 24 58 23 42 27 165 38 164 161 143 60 162 31 39 52 26 154 53 15 111 29 59 43 56 40 153 45 158 46 37 66 3 36 159 47 28 32 + 54 47 32 27 159 36 56 34 45 26 44 40 35 25 77 139 141 39 158 146 1 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Src\bsp_driver_sd.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c ICCARM - 138 + 114 BICOMP - 51 + 74 __cstat - 126 + 113 ICCARM - 10 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 37 46 31 161 66 38 3 36 24 164 165 159 28 32 154 56 143 40 53 153 42 45 60 27 111 29 39 47 10 23 59 52 26 43 58 158 162 + 138 28 32 34 45 26 1 31 140 144 141 39 158 146 36 44 54 40 56 35 27 25 47 159 77 139 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Src\main.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c ICCARM - 55 + 128 BICOMP - 61 + 96 __cstat - 134 + 86 ICCARM - 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 24 3 154 38 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 6 15 1 34 163 2 10 35 30 57 48 149 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 31 38 59 15 111 29 43 36 159 28 32 149 30 6 1 24 164 23 39 52 26 161 46 165 47 34 163 35 48 37 66 3 154 56 143 40 53 153 42 45 60 27 58 158 162 57 2 10 + 36 32 56 54 27 47 159 34 45 26 44 40 35 25 77 139 141 39 158 146 1 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 @@ -1249,7 +1251,7 @@ ICCARM - 123 + 78 BICOMP @@ -1257,648 +1259,648 @@ __cstat - 135 + 129 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 19 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 5 BICOMP - 38 59 164 39 3 36 24 158 46 31 43 19 154 56 143 40 53 153 42 45 60 27 111 29 23 52 26 161 165 58 162 37 66 159 47 28 32 + 26 58 144 24 1 31 140 38 28 138 37 5 36 44 54 40 56 35 27 25 47 159 77 139 143 53 155 34 141 41 33 32 45 39 29 158 146 - $PROJ_DIR$\..\Src\system_stm32l4xx.c + $PROJ_DIR$\..\Src\main.c ICCARM - 99 + 67 BICOMP - 80 + 73 __cstat - 127 + 60 ICCARM - 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 24 3 154 38 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 140 1 36 26 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 14 19 11 165 145 20 17 147 160 52 55 46 BICOMP - 38 165 31 24 164 37 161 66 3 36 159 28 32 111 29 46 39 47 23 59 52 26 43 154 56 143 40 53 153 42 45 60 27 58 158 162 + 26 34 141 138 24 53 155 28 19 77 139 143 29 46 160 14 11 140 144 58 37 31 39 158 146 165 145 147 55 32 45 1 36 44 54 40 56 35 27 25 47 159 41 38 33 52 20 17 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc.c ICCARM - 104 + 134 BICOMP - 74 + 130 __cstat - 137 + 76 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 143 60 37 42 27 154 53 161 66 38 56 40 153 45 111 29 165 159 28 32 3 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 40 25 32 44 35 77 139 34 45 26 1 36 54 56 27 47 159 141 39 158 146 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma.c ICCARM - 114 + 126 BICOMP - 81 + 43 __cstat - 41 + 42 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 40 45 37 56 153 111 29 161 66 38 3 154 143 53 42 60 27 165 159 28 32 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 40 32 25 44 35 77 139 34 45 26 36 54 56 27 47 159 141 39 158 146 1 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash.c ICCARM - 116 + 92 BICOMP - 85 + 105 __cstat - 131 + 59 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 154 37 53 143 42 60 27 161 66 38 56 40 153 45 111 29 165 159 28 32 3 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 56 32 36 54 27 47 159 34 45 26 44 40 35 25 77 139 141 39 158 146 1 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\startup_stm32l496xx.s - - - AARM - 105 - - - - - $PROJ_DIR$\..\Src\fatfs.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ex.c ICCARM - 102 + 121 BICOMP - 91 + 132 __cstat - 132 + 125 ICCARM - 1 34 163 2 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 10 35 30 57 48 149 6 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 42 27 162 2 143 60 26 57 10 3 154 53 39 52 161 165 38 58 31 56 40 153 45 111 29 23 30 6 34 149 163 24 35 46 36 164 59 43 158 48 1 37 66 159 47 28 32 + 31 140 32 26 144 34 45 28 138 141 39 158 146 1 36 44 54 40 56 35 27 25 47 159 77 139 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c + $PROJ_DIR$\startup_stm32l496xx.s + + + AARM + 124 + + + + + $PROJ_DIR$\..\Src\bsp_driver_sd.c ICCARM - 115 + 116 BICOMP - 72 + 83 __cstat - 133 + 127 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 17 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 31 46 37 161 66 38 3 36 24 164 165 159 28 32 154 56 143 40 53 153 42 45 60 27 111 29 39 47 23 59 52 26 43 58 158 162 + 32 28 138 34 45 26 1 31 140 144 141 39 158 146 36 44 54 40 56 35 27 25 47 159 77 139 24 29 17 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma.c + $PROJ_DIR$\..\Src\fatfs.c ICCARM - 118 + 135 BICOMP - 67 + 104 __cstat - 50 + 89 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 11 165 145 20 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 17 147 160 52 55 46 14 BICOMP - 40 37 45 56 153 111 29 161 66 38 154 143 53 42 60 27 165 159 28 32 3 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 27 159 33 20 54 47 155 52 17 1 36 56 24 53 34 141 26 41 138 44 40 35 25 77 139 143 160 14 165 46 145 140 147 28 31 144 58 37 38 55 11 32 45 39 29 158 146 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash.c + $PROJ_DIR$\startup_stm32l476xx.s + + + AARM + 48 + + + + + $PROJ_DIR$\..\Src\bootloader.c ICCARM - 94 + 70 BICOMP - 87 + 119 __cstat - 49 + 85 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 140 1 36 26 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 19 BICOMP - 53 37 154 143 42 60 27 161 66 38 56 40 153 45 111 29 165 159 28 32 3 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 26 58 25 40 77 139 37 44 35 24 38 19 140 144 138 143 53 155 34 36 54 56 27 47 159 141 41 33 28 32 45 1 31 39 29 158 146 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ex.c + $PROJ_DIR$\..\Src\system_stm32l4xx.c ICCARM - 97 + 101 BICOMP - 78 + 110 __cstat - 128 + 79 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 140 1 36 26 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 36 24 37 38 164 161 66 46 31 165 159 28 32 3 154 56 143 40 53 153 42 45 60 27 111 29 39 47 23 59 52 26 43 58 158 162 + 26 141 138 140 144 32 34 45 1 31 39 158 146 77 139 28 24 29 143 58 53 155 37 36 44 54 40 56 35 27 25 47 159 41 38 33 - - [ROOT_NODE] - - - ILINK - 63 109 - - - $PROJ_DIR$\L496\Exe\stm32-bootloader.out ILINK - 109 + 69 OBJCOPY - 136 + 64 ILINK - 22 54 138 82 102 69 65 55 117 105 104 115 114 116 118 94 97 119 122 93 95 96 100 86 123 76 124 99 44 160 33 25 + 22 70 116 118 135 75 82 67 87 124 109 114 134 128 126 92 121 122 84 102 97 94 98 95 78 71 111 101 30 142 148 137 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ramfunc.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.c ICCARM - 119 + 118 BICOMP - 88 + 49 __cstat - 125 + 88 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 55 145 52 165 20 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 17 147 160 BICOMP - 36 24 37 3 38 164 161 66 46 31 165 159 28 32 154 56 143 40 53 153 42 45 60 27 111 29 39 47 23 59 52 26 43 58 158 162 + 20 25 26 145 138 40 34 45 44 35 77 139 32 55 17 1 36 54 56 27 47 159 141 39 158 146 24 52 165 140 147 28 31 144 29 143 58 53 155 37 41 38 33 160 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_gpio.c ICCARM - 96 + 84 BICOMP - 62 + 57 __cstat - 110 + 62 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 27 42 37 143 60 154 53 161 66 38 56 40 153 45 111 29 165 159 28 32 3 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 1 32 31 140 26 144 34 45 28 138 141 39 158 146 36 44 54 40 56 35 27 25 47 159 77 139 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.c ICCARM - 95 + 82 BICOMP - 77 + 106 __cstat - 101 + 136 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 52 55 145 165 20 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 17 147 160 BICOMP - 154 37 53 143 42 60 27 161 66 38 56 40 153 45 111 29 165 159 28 32 3 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 54 47 26 27 159 34 45 20 17 1 36 56 32 165 44 40 35 25 77 139 141 39 158 146 24 55 138 145 140 147 28 31 144 29 52 143 58 53 155 37 41 38 33 160 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_sd.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_flash_ramfunc.c ICCARM - 86 + 122 BICOMP - 83 + 91 __cstat - 103 + 112 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 53 37 3 154 161 66 38 143 42 60 27 165 159 28 32 56 40 153 45 111 29 31 39 47 24 46 36 164 23 59 52 26 43 58 158 162 + 31 140 32 1 26 144 34 45 28 138 141 39 158 146 36 44 54 40 56 35 27 25 47 159 77 139 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c ICCARM - 117 + 98 BICOMP - 70 + 103 __cstat - 121 + 133 ICCARM - 57 48 163 34 2 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 10 35 30 149 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 35 46 31 38 39 163 24 165 34 36 164 47 159 149 48 2 10 3 154 56 143 40 53 153 42 45 60 27 111 29 37 161 66 28 32 57 23 59 52 26 43 58 158 162 30 + 25 32 40 44 35 77 139 34 45 26 36 54 56 27 47 159 141 39 158 146 1 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\option\syscall.c ICCARM - 93 + 111 BICOMP - 68 + 63 __cstat - 106 + 100 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 165 145 20 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 17 147 160 BICOMP - 40 37 45 56 153 111 29 161 66 38 154 143 53 42 60 27 165 159 28 32 3 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 26 140 34 45 145 147 28 138 32 31 144 141 39 158 146 24 20 17 1 36 44 54 40 56 35 27 25 47 159 77 139 29 165 143 58 53 155 37 41 38 33 160 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\diskio.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c ICCARM - 82 + 102 BICOMP - 73 + 81 __cstat - 112 + 93 ICCARM - 48 163 57 34 2 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 10 35 30 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 2 45 38 163 31 40 161 66 56 153 111 29 37 48 10 3 154 143 53 42 60 27 165 159 28 32 39 57 34 24 35 46 36 164 47 23 59 52 26 43 58 158 162 30 + 40 32 25 44 35 77 139 34 45 26 36 54 56 27 47 159 141 39 158 146 1 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\driver\sd_diskio.c ICCARM - 100 + 87 BICOMP - 79 + 68 __cstat - 113 + 115 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 52 55 145 165 20 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 17 147 160 46 BICOMP - 45 37 40 56 153 111 29 161 66 38 154 143 53 42 60 27 165 159 28 32 3 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 147 28 138 26 24 145 140 141 165 31 144 29 39 46 55 20 17 1 36 44 54 40 56 35 27 25 47 159 77 139 32 34 45 158 146 52 143 58 53 155 37 41 38 33 160 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_ll_sdmmc.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c ICCARM - 76 + 97 BICOMP - 89 + 72 __cstat - 98 + 108 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 143 60 37 42 27 154 53 161 66 38 56 40 153 45 111 29 165 159 28 32 3 46 36 24 164 31 39 47 23 59 52 26 43 58 158 162 + 36 32 56 54 27 47 159 34 45 26 44 40 35 25 77 139 141 39 158 146 1 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\option\syscall.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_sd.c ICCARM - 124 + 95 BICOMP - 140 + 99 __cstat - 107 + 123 ICCARM - 34 163 2 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 10 35 30 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 38 24 161 66 163 35 46 31 37 36 164 165 159 28 32 39 2 10 3 154 56 143 40 53 153 42 45 60 27 111 29 47 34 23 59 52 26 43 58 158 162 30 + 56 32 1 36 34 45 26 54 27 47 159 141 39 158 146 44 40 35 25 77 139 138 24 29 140 28 31 144 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_gpio.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_ll_sdmmc.c ICCARM - 122 + 71 BICOMP - 75 + 107 __cstat - 139 + 131 ICCARM - 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 3 37 36 24 38 164 161 66 46 31 165 159 28 32 154 56 143 40 53 153 42 45 60 27 111 29 39 47 23 59 52 26 43 58 158 162 + 54 47 32 27 159 36 56 34 45 26 44 40 35 25 77 139 141 39 158 146 1 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff_gen_drv.c + $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.c ICCARM - 65 + 75 BICOMP - 92 + 66 __cstat - 120 + 117 ICCARM - 57 48 163 34 2 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 10 35 30 + 165 145 20 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 17 147 160 55 BICOMP - 143 60 38 42 27 161 66 2 10 3 154 53 37 34 56 40 153 45 111 29 165 159 28 32 39 48 31 163 24 35 46 36 164 47 57 23 59 52 26 43 58 158 162 30 + 140 29 39 147 28 138 145 26 31 144 24 141 55 20 17 1 36 44 54 40 56 35 27 25 47 159 77 139 32 34 45 158 146 165 143 58 53 155 37 41 38 33 160 - $PROJ_DIR$\..\Middlewares\Third_Party\FatFs\src\ff.c + $PROJ_DIR$\..\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c ICCARM - 69 + 94 BICOMP - 71 + 51 __cstat - 108 + 120 ICCARM - 34 163 2 24 3 154 38 46 111 164 31 39 165 52 26 43 23 161 66 37 59 29 27 36 159 60 56 47 143 40 53 28 153 58 32 42 158 45 162 10 35 30 48 + 140 1 36 26 28 77 144 138 24 141 53 155 37 143 34 45 32 58 139 159 31 39 47 44 29 54 40 56 158 35 41 146 27 38 25 33 BICOMP - 24 47 159 35 46 31 163 38 36 164 39 165 48 2 10 3 154 56 143 40 53 153 42 45 60 27 111 29 37 161 66 28 32 34 23 59 52 26 43 58 158 162 30 + 159 27 32 54 47 36 56 34 45 26 44 40 35 25 77 139 141 39 158 146 1 28 31 140 144 138 24 29 143 58 53 155 37 41 38 33 diff --git a/Inc/bootloader.h b/Inc/bootloader.h index 1e66165..1c90b93 100644 --- a/Inc/bootloader.h +++ b/Inc/bootloader.h @@ -26,8 +26,14 @@ #define APP_ADDRESS (uint32_t)0x08008000 /* Start address of application space in flash */ #define END_ADDRESS (uint32_t)0x080FFFFB /* End address of application space (addr. of last byte) */ #define CRC_ADDRESS (uint32_t)0x080FFFFC /* Start address of application checksum in flash */ - #define SYSMEM_ADDRESS (uint32_t)0x1FFF0000 /* Address of System Memory (ST Bootloader) */ + +/* MCU RAM size, used for checking accurately whether flash contains valid application */ +#if (STM32L496xx) +#define RAM_SIZE (uint32_t)0x00040000 +#elif (STM32L476xx) +#define RAM_SIZE (uint32_t)0x00018000 +#endif /******************************************************************************/ /* Defines -------------------------------------------------------------------*/ diff --git a/Inc/main.h b/Inc/main.h index 87d642c..6342e00 100644 --- a/Inc/main.h +++ b/Inc/main.h @@ -2,7 +2,7 @@ #define __MAIN_H /*** Application-Specific Configuration ***************************************/ -#define CONF_BUILD "2017-10-30" /* Bootloader build date */ +#define CONF_BUILD "2017-11-13" /* Bootloader build date */ #define CONF_FILENAME "WGPS2.bin" /* File name of application located on SD card */ #define USE_SWO_TRACE 1 /* For development/debugging: stdout/stderr via SWO trace */ diff --git a/Src/bootloader.c b/Src/bootloader.c index 590aa9c..bfe2be3 100644 --- a/Src/bootloader.c +++ b/Src/bootloader.c @@ -277,7 +277,7 @@ uint8_t Bootloader_CheckSize(uint32_t appsize) /*** Verify checksum of application *******************************************/ uint8_t Bootloader_VerifyChecksum(void) { -#if USE_CHECKSUM +#if (USE_CHECKSUM) CRC_HandleTypeDef CrcHandle; volatile uint32_t calculatedCrc = 0; @@ -309,7 +309,7 @@ uint8_t Bootloader_VerifyChecksum(void) /*** Check for application in user flash **************************************/ uint8_t Bootloader_CheckForApplication(void) { - return ( ((*(__IO uint32_t*)APP_ADDRESS) & 0x2FFE0000) == 0x20000000 ) ? BL_OK : BL_NO_APP; + return ( ((*(__IO uint32_t*)APP_ADDRESS) & ~(RAM_SIZE-1)) == 0x20000000 ) ? BL_OK : BL_NO_APP; } /*** Jump to application ******************************************************/ @@ -325,7 +325,7 @@ void Bootloader_JumpToApplication(void) SysTick->LOAD = 0; SysTick->VAL = 0; -#if SET_VECTOR_TABLE +#if (SET_VECTOR_TABLE) SCB->VTOR = APP_ADDRESS; #endif diff --git a/Src/main.c b/Src/main.c index 97251fc..65a9a63 100644 --- a/Src/main.c +++ b/Src/main.c @@ -31,7 +31,7 @@ void SystemClock_Config(void); void Error_Handler(void); void print(const char* str); - +/* Main ----------------------------------------------------------------------*/ int main(void) { HAL_Init(); @@ -47,7 +47,7 @@ int main(void) if(__HAL_RCC_GET_FLAG(RCC_FLAG_OBLRST)) { print("OBL flag is active."); -#if CLEAR_RESET_FLAGS +#if (CLEAR_RESET_FLAGS) /* Clear system reset flags */ __HAL_RCC_CLEAR_RESET_FLAGS(); print("Reset flags cleared."); @@ -97,7 +97,7 @@ int main(void) if(Bootloader_CheckForApplication() == BL_OK) { -#if USE_CHECKSUM +#if (USE_CHECKSUM) /* Verify application checksum */ if(Bootloader_VerifyChecksum() != BL_OK) { @@ -262,7 +262,7 @@ void Enter_Bootloader(void) } /* Enable flash write protection */ -#if USE_WRITE_PROTECTION +#if (USE_WRITE_PROTECTION) print("Enablig flash write protection and generating system reset..."); if(Bootloader_ConfigProtection(BL_PROTECTION_WRP) != BL_OK) { @@ -461,7 +461,7 @@ void HAL_MspInit(void) /*** Debug ***/ void print(const char* str) { -#if USE_SWO_TRACE +#if (USE_SWO_TRACE) puts(str); #endif }