Stm32l432kb with 128k flash


Is it possible to flash code compiled for a stm32l432kc (256K flash memory) onto a stm32l432kb (128K flash memory) if the code is less then 128K in size? Can I expect that to work without any problems?


Hello Torsten,

According to the datasheet the only difference between these MCUs seems to be the flash memory size. So you shouldn’t expect any problem unless you use an API related to the flash memory. For example like the Flash IAP, KVStore or bootloader.

Hi Zoltan,

Thanks for your reply, very helpful. I am not using any special API related to the flash memory, so this sounds promising. It will take me some time to test it, will report back if I run into any issues.