Hi All
I'm using STM32L073 and already have a bootloader at 0x8000000 to
0x8002ffff.
This bootloader will check the application FW(crc & length) and
jump to FW's entrypoint at begging third word of FW image.
The FW image header
// Firmware header
__attribute__((section(".fwhdr")))
const volatile boot_fwhdr fwhdr = {
// CRC and size will be patched by external tool
.crc = 0,
.size = BOOT_MAGIC_SIZE,
.entrypoin
↧