2018-11-23 11:55 AM
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.
2018-11-23 02:04 PM
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.