AnsweredAssumed Answered

STM32L151 and Flash Loader Demo Tool

Question asked by Mr_M_from_G on Oct 17, 2014
Latest reply on Oct 17, 2014 by Clive One

I use STM32L151 and program it with the Flash Loader Demonstrator Tool. That works fine. Now I wanted to create a small batch file doing it all on one click but there seems to be one little thing not available in the command line options. That is doing an erase of the nessecary pages only. I read somewhere (I don't remember where it was) that STM32L151 can't do a mass erase of the whole flash, so the -e --all option seems to do nothing on an L151. After programming verify fails and the program does only nonsense.
I can produce an equivalent result using the GUI version when selecting no erase.

What can I do? Any undocumented features or workarounds?

Thanks a lot