cancel
Showing results for 
Search instead for 
Did you mean: 

IAP for STM32L011

RPrun
Associate

Hello,

Is it possible to have in-application-programming (IAP) on STM32L011F4? I can see the IAP example listed under STM32L073Z-EVAL but I am not able to build for STM32L011K4. Just to give an example: macro OB_BOOT_BANK1 is defined only when setting STM32L07 but it's used in flash_if.c file. And there are a few other errors.

Has anyone made an IAP example project for STM32L011?

Many thanks in advance.

1 REPLY 1

The L011 is going to have a smaller foot-print, and you're going to have to think about how the loader functions, and if you need to stage the firmware somewhere.

As I recall it has 128 x 128-byte pages/sectors

Perhaps review the FLASH examples for the IC

STM32Cube_FW_L0_V1.11.0\Projects\NUCLEO-L011K4\Examples\FLASH\FLASH_EraseProgram

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..