STL v4.0.0. : Flash test not passed + bin file size is 393MB
We have tested the STL package in 2 scenarios for Flash test on STM32L452:
CASE 1:
Linker settings:
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 512K
Pre-Post build settings:
0x08000000 0x08080000 0x400
STL user template settings:
/* FLASH configuration */
#define STL_ROM_START_ADDR (0x08000000UL) /* customizable */
#define STL_ROM_END_ADDR (0x0807FFFFUL)
Flash test passed.
CASE 2: (our usage scenario)
Linker settings:
FLASH (rx) : ORIGIN = 0x800E000, LENGTH = 456K
Pre-Post build settings:
0x0800E000 0x08080000 0x400
STL user template settings:
/* FLASH configuration */
#define STL_ROM_START_ADDR (0x0800E000UL) /* customizable */
#define STL_ROM_END_ADDR (0x0807FFFFUL)
Unable to start test please see below snippet.

Code is divided into 2 regions, bootloader application and production application.
56KB is ket aside for bootloader, reason for FLASH ORIGIN = 0x800E000.
Thers is one more problem I want to discuss, please see below snippet:

Bin file snippet of STL project for Nucleo – L476:

Bin file size is 393MB, this is huge, we can’t bootload this file using Bootloader App. It should be in KBs.
I would appreciate if you can suggest us how we could resolve both the above problems.
Please let me know if you need more information.
