cancel
Showing results for 
Search instead for 
Did you mean: 

Does the Lower Level library have any support for writing to the internal flash on the STM32L4xx family?

WLord
Associate

I have only managed to find examples using HAL libraries which I am not fond of. I Have been looking through the LL header files genereated by STM32cubeMX for any flash programing information at all but I was unable to find any. If there is not support, can someone please point me in the direction of resources that I can use to come up with the code.

1 REPLY 1

Doesn't look to be a specific LL file, but flashing STM32 parts isn't particularly complicated, I've coded routines in assembler to do it. The complexity on the L4 is really the 64-bit wide aligned writes.

The unlock is the matter of writing the keys, and writing you set the PG bit, write and spin on completion/error.

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